The big code style cleanup
* Format using AOSP code style in Android Studio, excluding `Rearrange entries` option. * Rename static variables to use proper naming scheme * Remove empty lines Change-Id: I0d193e35f071bc288050e587b1693844d68865e1
This commit is contained in:
committed by
Timi Rautamäki
parent
ade1361e3b
commit
b7b34b96a9
@@ -17,7 +17,6 @@
|
||||
|
||||
package org.lineageos.setupwizard;
|
||||
|
||||
|
||||
import android.app.Application;
|
||||
import android.app.StatusBarManager;
|
||||
import android.os.Bundle;
|
||||
@@ -31,19 +30,19 @@ import org.lineageos.setupwizard.util.SetupWizardUtils;
|
||||
public class SetupWizardApp extends Application {
|
||||
|
||||
public static final String TAG = SetupWizardApp.class.getSimpleName();
|
||||
// Leave this off for release
|
||||
public static final boolean DEBUG = false;
|
||||
/* Verbose Logging */
|
||||
// Verbose logging
|
||||
public static final boolean LOGV = Log.isLoggable(TAG, Log.VERBOSE);
|
||||
|
||||
public static final String ACTION_ACCESSIBILITY_SETTINGS =
|
||||
"android.settings.ACCESSIBILITY_SETTINGS_FOR_SUW";
|
||||
public static final String ACTION_SETUP_COMPLETE = "org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE";
|
||||
public static final String ACTION_SETUP_COMPLETE =
|
||||
"org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE";
|
||||
public static final String ACTION_FINISHED = "org.lineageos.setupwizard.SETUP_FINISHED";
|
||||
public static final String ACTION_SETUP_WIFI = "android.net.wifi.PICK_WIFI_NETWORK";
|
||||
public static final String ACTION_SETUP_BIOMETRIC = "android.settings.BIOMETRIC_ENROLL";
|
||||
public static final String ACTION_SETUP_LOCKSCREEN = "com.android.settings.SETUP_LOCK_SCREEN";
|
||||
public static final String ACTION_RESTORE_FROM_BACKUP = "com.stevesoltys.seedvault.RESTORE_BACKUP";
|
||||
public static final String ACTION_RESTORE_FROM_BACKUP =
|
||||
"com.stevesoltys.seedvault.RESTORE_BACKUP";
|
||||
public static final String ACTION_EMERGENCY_DIAL = "com.android.phone.EmergencyDialer.DIAL";
|
||||
public static final String ACTION_NEXT = "com.android.wizard.NEXT";
|
||||
public static final String ACTION_LOAD = "com.android.wizard.LOAD";
|
||||
@@ -64,8 +63,8 @@ public class SetupWizardApp extends Application {
|
||||
public static final String UPDATE_RECOVERY_PROP = "persist.vendor.recovery_update";
|
||||
|
||||
public static final int REQUEST_CODE_SETUP_WIFI = 0;
|
||||
public static final int REQUEST_CODE_SETUP_CAPTIVE_PORTAL= 4;
|
||||
public static final int REQUEST_CODE_SETUP_BLUETOOTH= 5;
|
||||
public static final int REQUEST_CODE_SETUP_CAPTIVE_PORTAL = 4;
|
||||
public static final int REQUEST_CODE_SETUP_BLUETOOTH = 5;
|
||||
public static final int REQUEST_CODE_SETUP_BIOMETRIC = 7;
|
||||
public static final int REQUEST_CODE_SETUP_LOCKSCREEN = 9;
|
||||
public static final int REQUEST_CODE_RESTORE = 10;
|
||||
@@ -80,7 +79,7 @@ public class SetupWizardApp extends Application {
|
||||
private final Bundle mSettingsBundle = new Bundle();
|
||||
private final Handler mHandler = new Handler();
|
||||
|
||||
private final Runnable mRadioTimeoutRunnable = () -> mIsRadioReady = true;
|
||||
private final Runnable mRadioTimeoutRunnable = () -> mIsRadioReady = true;
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
|
Reference in New Issue
Block a user