Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
badaix committed Jan 10, 2021
1 parent 0115e06 commit 2e4ea0b
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 18 deletions.
6 changes: 4 additions & 2 deletions Snapcast/src/main/java/de/badaix/snapcast/AboutActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Bundle;
import com.google.android.material.snackbar.Snackbar;
import androidx.appcompat.app.AppCompatActivity;
import android.webkit.WebView;

import androidx.appcompat.app.AppCompatActivity;

import com.google.android.material.snackbar.Snackbar;

public class AboutActivity extends AppCompatActivity {

@Override
Expand Down
3 changes: 2 additions & 1 deletion Snapcast/src/main/java/de/badaix/snapcast/ClientItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package de.badaix.snapcast;

import android.content.Context;
import androidx.appcompat.widget.PopupMenu;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
Expand All @@ -29,6 +28,8 @@
import android.widget.SeekBar;
import android.widget.TextView;

import androidx.appcompat.widget.PopupMenu;

import de.badaix.snapcast.control.json.Client;
import de.badaix.snapcast.control.json.Volume;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import android.view.MenuItem;

import androidx.appcompat.app.AppCompatActivity;

/**
* Created by johannes on 11.01.16.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@

import android.content.Context;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ListView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;

import de.badaix.snapcast.control.json.Client;
import de.badaix.snapcast.control.json.Group;
import de.badaix.snapcast.control.json.ServerStatus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import android.view.MenuItem;

import androidx.appcompat.app.AppCompatActivity;

/**
* Created by johannes on 06.12.16.
*/
Expand Down
14 changes: 8 additions & 6 deletions Snapcast/src/main/java/de/badaix/snapcast/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@
import android.os.Build;
import android.os.Bundle;
import android.os.IBinder;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import com.google.android.material.snackbar.Snackbar;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import android.text.TextUtils;
import android.util.Log;
import android.view.Menu;
Expand All @@ -46,6 +40,14 @@
import android.view.WindowManager;
import android.widget.Button;

import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.coordinatorlayout.widget.CoordinatorLayout;

import com.google.android.material.snackbar.Snackbar;

import org.json.JSONException;
import org.json.JSONObject;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
import android.content.DialogInterface;
import android.net.nsd.NsdServiceInfo;
import android.os.Bundle;
import androidx.fragment.app.DialogFragment;
import androidx.appcompat.app.AlertDialog;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
Expand All @@ -35,6 +33,9 @@
import android.widget.EditText;
import android.widget.Spinner;

import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.DialogFragment;

import de.badaix.snapcast.utils.NsdHelper;
import de.badaix.snapcast.utils.Settings;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@
import android.os.Handler;
import android.os.IBinder;
import android.os.PowerManager;
import android.util.Log;

import androidx.core.app.NotificationCompat;
import androidx.core.app.TaskStackBuilder;
import android.util.Log;

import java.io.BufferedReader;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@

package de.badaix.snapcast.control.json;

import androidx.annotation.NonNull;
import android.text.TextUtils;

import androidx.annotation.NonNull;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
Expand Down

0 comments on commit 2e4ea0b

Please sign in to comment.