Reformat code
Run automated code reformatting in Android Studio and manually fix
unwanted/broken style changes
Change-Id: Iaf14a08a275f9b11e1ae17f69201ab61a9c6ade1
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index a8f24ef..b38649e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -27,10 +27,10 @@
<uses-permission android:name="android.permission.SET_TIME_ZONE" />
<uses-permission android:name="android.permission.SET_TIME" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
+ <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
- <uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" />
<uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
@@ -49,28 +49,31 @@
android:name="lineageos.permission.FINISH_SETUP"
android:protectionLevel="signatureOrSystem" />
- <protected-broadcast android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE"
- android:permission="lineageos.permission.FINISH_SETUP"/>
+ <protected-broadcast
+ android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE"
+ android:permission="lineageos.permission.FINISH_SETUP" />
- <protected-broadcast android:name="org.lineageos.setupwizard.SETUP_FINISHED"
- android:permission="lineageos.permission.FINISH_SETUP"/>
+ <protected-broadcast
+ android:name="org.lineageos.setupwizard.SETUP_FINISHED"
+ android:permission="lineageos.permission.FINISH_SETUP" />
- <application android:label="@string/app_name"
- android:icon="@mipmap/ic_launcher"
- android:theme="@style/Theme.Setup"
- android:uiOptions="none"
- android:taskAffinity="com.android.wizard"
- android:name=".SetupWizardApp">
+ <application
+ android:label="@string/app_name"
+ android:icon="@mipmap/ic_launcher"
+ android:theme="@style/Theme.Setup"
+ android:uiOptions="none"
+ android:taskAffinity="com.android.wizard"
+ android:name=".SetupWizardApp">
-
- <activity android:theme="@style/NoDisplay"
- android:label="@string/activity_label_empty"
- android:name=".wizardmanager.WizardManager"
- android:enabled="false"
- android:exported="false"
- android:excludeFromRecents="true"
- android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
- android:immersive="true">
+ <activity
+ android:theme="@style/NoDisplay"
+ android:label="@string/activity_label_empty"
+ android:name=".wizardmanager.WizardManager"
+ android:enabled="false"
+ android:exported="false"
+ android:excludeFromRecents="true"
+ android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
+ android:immersive="true">
<intent-filter>
<action android:name="com.android.wizard.LOAD" />
<action android:name="com.android.wizard.NEXT" />
@@ -78,16 +81,17 @@
</intent-filter>
</activity>
- <activity android:name=".SetupWizardActivity"
- android:label="@string/activity_label_empty"
- android:lockTaskMode="normal"
- android:launchMode="singleTask"
- android:excludeFromRecents="true"
- android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
- android:immersive="true"
- android:exported="true"
- android:windowSoftInputMode="stateAlwaysHidden"
- android:theme="@style/NoDisplay">
+ <activity
+ android:name=".SetupWizardActivity"
+ android:label="@string/activity_label_empty"
+ android:lockTaskMode="normal"
+ android:launchMode="singleTask"
+ android:excludeFromRecents="true"
+ android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
+ android:immersive="true"
+ android:exported="true"
+ android:windowSoftInputMode="stateAlwaysHidden"
+ android:theme="@style/NoDisplay">
<intent-filter android:priority="9">
<action android:name="android.intent.action.MAIN" />
@@ -97,225 +101,243 @@
</intent-filter>
</activity>
- <activity android:name=".BluetoothSetupActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="false"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".BluetoothSetupActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="false"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".WelcomeActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="false"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".WelcomeActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="false"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_WELCOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".LocaleActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="false"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".LocaleActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="false"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_LOCALE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".DateTimeActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="false"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".DateTimeActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="false"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_DATETIME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".SimMissingActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="false"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".SimMissingActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="false"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_SIM_MISSING" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".NetworkSetupActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="false"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".NetworkSetupActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="false"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_NETWORK_SETUP" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".LocationSettingsActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="false"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".LocationSettingsActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="false"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".UpdateRecoveryActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="true"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".UpdateRecoveryActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="true"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
- <action android:name="org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE"/>
- <category android:name="android.intent.category.DEFAULT"/>
+ <action android:name="org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE" />
+ <category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".DeviceSpecificActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:immersive="true"
- android:exported="true"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".DeviceSpecificActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:immersive="true"
+ android:exported="true"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
- <action android:name="org.lineageos.setupwizard.DEVICE_SPECIFIC"/>
- <category android:name="android.intent.category.DEFAULT"/>
+ <action android:name="org.lineageos.setupwizard.DEVICE_SPECIFIC" />
+ <category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".LineageSettingsActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="true"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".LineageSettingsActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="true"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".NavigationSettingsActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="true"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".NavigationSettingsActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="true"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.NAVIGATION_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".BiometricActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="false"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".BiometricActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="false"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_BIOMETRIC_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".ScreenLockActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="false"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".ScreenLockActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="false"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".backup.RestoreIntroActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="true"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".backup.RestoreIntroActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="true"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
- <action android:name="org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP"/>
- <category android:name="android.intent.category.DEFAULT"/>
+ <action android:name="org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP" />
+ <category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".ThemeSettingsActivity"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="true"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".ThemeSettingsActivity"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="true"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.THEME_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".FinishActivity"
- android:theme="@style/EdgeToEdgeWallpaperBackground"
- android:label="@string/activity_label_empty"
- android:excludeFromRecents="true"
- android:configChanges="mcc|mnc"
- android:immersive="true"
- android:exported="true"
- android:windowSoftInputMode="stateAlwaysHidden">
+ <activity
+ android:name=".FinishActivity"
+ android:theme="@style/EdgeToEdgeWallpaperBackground"
+ android:label="@string/activity_label_empty"
+ android:excludeFromRecents="true"
+ android:configChanges="mcc|mnc"
+ android:immersive="true"
+ android:exported="true"
+ android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" />
- <action android:name="org.lineageos.setupwizard.SETUP_FINISHED"/>
+ <action android:name="org.lineageos.setupwizard.SETUP_FINISHED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
- <activity android:name=".SetupWizardTestActivity"
- android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
- android:exported="false"
- android:immersive="true"
- android:label="@string/activity_label_empty"
- android:launchMode="singleInstance"
- android:theme="@style/NoDisplay"/>
+ <activity
+ android:name=".SetupWizardTestActivity"
+ android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
+ android:exported="false"
+ android:immersive="true"
+ android:label="@string/activity_label_empty"
+ android:launchMode="singleInstance"
+ android:theme="@style/NoDisplay" />
- <receiver android:name=".PartnerReceiver"
- android:exported="true">
+ <receiver
+ android:name=".PartnerReceiver"
+ android:exported="true">
<intent-filter>
<action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" />
<action android:name="com.google.android.tvsetup.action.PARTNER_CUSTOMIZATION" />
@@ -323,7 +345,8 @@
</intent-filter>
</receiver>
- <service android:name=".SetupWizardExitWorker"
- android:exported="false"/>
+ <service
+ android:name=".SetupWizardExitWorker"
+ android:exported="false" />
</application>
</manifest>