From 7664461e5fee4e0ccd726ee9535f183cfed9b83f Mon Sep 17 00:00:00 2001 From: Oliver Scott Date: Wed, 10 Jan 2024 17:16:28 -0500 Subject: [PATCH] Reformat code Run automated code reformatting in Android Studio and manually fix unwanted/broken style changes Change-Id: Iaf14a08a275f9b11e1ae17f69201ab61a9c6ade1 --- AndroidManifest.xml | 345 ++++++++++-------- ...pp_whitelist_org.lineageos.setupwizard.xml | 22 +- res/anim/translucent_enter.xml | 8 +- res/anim/translucent_exit.xml | 8 +- res/drawable/background.xml | 2 +- res/drawable/divider.xml | 6 +- res/drawable/ic_datetime.xml | 3 +- res/drawable/ic_features.xml | 3 +- res/drawable/ic_launcher_background.xml | 6 +- res/drawable/ic_launcher_foreground.xml | 45 +-- res/drawable/ic_locale.xml | 3 +- res/drawable/ic_location.xml | 3 +- res/drawable/ic_restore.xml | 13 +- res/drawable/ic_system_update.xml | 10 +- res/drawable/ic_theme.xml | 10 +- res/layout-television/welcome_activity.xml | 4 +- .../date_time_setup_custom_list_item_2.xml | 10 +- res/layout/divider.xml | 11 +- res/layout/intro_restore_activity.xml | 15 +- res/layout/locale_picker.xml | 41 ++- res/layout/locale_picker_item.xml | 18 +- res/layout/setup_datetime_page.xml | 2 +- res/layout/setup_loading_page.xml | 56 +-- res/layout/setup_navigation.xml | 14 +- res/layout/welcome_activity.xml | 6 +- res/mipmap-anydpi/ic_launcher.xml | 4 +- res/raw-television/lineage_wizard_script.xml | 32 +- res/raw/lineage_wizard_script.xml | 64 +++- .../lineage_wizard_script_managed_profile.xml | 18 +- res/raw/lineage_wizard_script_user.xml | 34 +- res/values/attrs.xml | 2 +- .../lineageos/setupwizard/FinishActivity.java | 3 +- .../setupwizard/NavigationLayout.java | 4 +- .../NavigationSettingsActivity.java | 39 +- 34 files changed, 486 insertions(+), 378 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index a8f24ef1..b38649ef 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -27,10 +27,10 @@ - + - + @@ -49,28 +49,31 @@ android:name="lineageos.permission.FINISH_SETUP" android:protectionLevel="signatureOrSystem" /> - + - + - + - - + @@ -78,16 +81,17 @@ - + @@ -97,225 +101,243 @@ - + - + - + - + - + - + - + - + - - + + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + @@ -323,7 +345,8 @@ - + diff --git a/privapp_whitelist_org.lineageos.setupwizard.xml b/privapp_whitelist_org.lineageos.setupwizard.xml index 3b1e5b6d..74488799 100644 --- a/privapp_whitelist_org.lineageos.setupwizard.xml +++ b/privapp_whitelist_org.lineageos.setupwizard.xml @@ -16,16 +16,16 @@ --> - - - - - - - - - - - + + + + + + + + + + + diff --git a/res/anim/translucent_enter.xml b/res/anim/translucent_enter.xml index 1fc6d90e..58568e61 100644 --- a/res/anim/translucent_enter.xml +++ b/res/anim/translucent_enter.xml @@ -18,7 +18,9 @@ --> - + android:interpolator="@android:interpolator/decelerate_quad"> + diff --git a/res/anim/translucent_exit.xml b/res/anim/translucent_exit.xml index 41fe4c28..741f77ca 100644 --- a/res/anim/translucent_exit.xml +++ b/res/anim/translucent_exit.xml @@ -18,7 +18,9 @@ --> - + android:interpolator="@android:interpolator/accelerate_quad"> + diff --git a/res/drawable/background.xml b/res/drawable/background.xml index 2c5be642..18523e0f 100644 --- a/res/drawable/background.xml +++ b/res/drawable/background.xml @@ -14,6 +14,6 @@ See the License for the specific language governing permissions and limitations under the License. --> - + diff --git a/res/drawable/divider.xml b/res/drawable/divider.xml index e78e7e7d..69d6de65 100644 --- a/res/drawable/divider.xml +++ b/res/drawable/divider.xml @@ -14,7 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. --> - + - + diff --git a/res/drawable/ic_datetime.xml b/res/drawable/ic_datetime.xml index 60ecaeea..82f94555 100644 --- a/res/drawable/ic_datetime.xml +++ b/res/drawable/ic_datetime.xml @@ -20,8 +20,7 @@ android:viewportWidth="24" android:viewportHeight="24"> - + - + - + diff --git a/res/drawable/ic_launcher_foreground.xml b/res/drawable/ic_launcher_foreground.xml index 16802127..683ce465 100644 --- a/res/drawable/ic_launcher_foreground.xml +++ b/res/drawable/ic_launcher_foreground.xml @@ -9,25 +9,28 @@ android:height="108dp" android:viewportWidth="108" android:viewportHeight="108"> - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/res/drawable/ic_locale.xml b/res/drawable/ic_locale.xml index ed4def4f..faa3fd78 100644 --- a/res/drawable/ic_locale.xml +++ b/res/drawable/ic_locale.xml @@ -20,8 +20,7 @@ android:viewportWidth="24" android:viewportHeight="24"> - + - + diff --git a/res/drawable/ic_restore.xml b/res/drawable/ic_restore.xml index 55533918..c6ae3026 100644 --- a/res/drawable/ic_restore.xml +++ b/res/drawable/ic_restore.xml @@ -1,8 +1,9 @@ - + android:height="24dp" + android:width="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + diff --git a/res/drawable/ic_system_update.xml b/res/drawable/ic_system_update.xml index e943168b..62719013 100644 --- a/res/drawable/ic_system_update.xml +++ b/res/drawable/ic_system_update.xml @@ -15,11 +15,11 @@ limitations under the License. --> + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + android:pathData="M17,1.01L7,1c-1.1,0 -2,0.9 -2,2v18c0,1.1 0.9,2 2,2h10c1.1,0 2,-0.9 2,-2L19,3c0,-1.1 -0.9,-1.99 -2,-1.99zM17,19L7,19L7,5h10v14zM16,13h-3L13,8h-2v5L8,13l4,4 4,-4z" /> diff --git a/res/drawable/ic_theme.xml b/res/drawable/ic_theme.xml index db5e24f8..488a8686 100644 --- a/res/drawable/ic_theme.xml +++ b/res/drawable/ic_theme.xml @@ -15,11 +15,11 @@ limitations under the License. --> + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + android:pathData="M4,2v9c0,1.65 1.35,3 3,3h2v6c0,1.1 0.9,2 2,2h2c1.1,0 2,-0.9 2,-2v-6h2c1.65,0 3,-1.35 3,-3V2C20,2 4,2 4,2zM11,20v-6h2v6H11zM18,11c0,0.55 -0.45,1 -1,1h-2H9H7c-0.55,0 -1,-0.45 -1,-1v-0.93h12V11zM18,8.07H6V4h2.81v2.15h2V4h2.38v2.15h2V4H18V8.07z" /> diff --git a/res/layout-television/welcome_activity.xml b/res/layout-television/welcome_activity.xml index b8af1d80..604990ac 100644 --- a/res/layout-television/welcome_activity.xml +++ b/res/layout-television/welcome_activity.xml @@ -42,7 +42,7 @@ android:paddingTop="@dimen/content_margin_top" android:paddingRight="@dimen/content_margin_left" android:paddingLeft="@dimen/content_margin_left" - android:paddingBottom="0dp"/> + android:paddingBottom="0dp" /> + +