diff --git a/Android.mk b/Android.mk index 0fbaacfa157..c99e30c58eb 100644 --- a/Android.mk +++ b/Android.mk @@ -14,6 +14,7 @@ include $(CLEAR_VARS) LOCAL_PACKAGE_NAME := Settings LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_CERTIFICATE := platform +LOCAL_PRODUCT_MODULE := true LOCAL_PRIVILEGED_MODULE := true LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.settings LOCAL_MODULE_TAGS := optional diff --git a/AndroidManifest.xml b/AndroidManifest.xml index caca44439cc..3933b9ceb49 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -717,8 +717,7 @@ android:name="Settings$ZenModeSettingsActivity" android:label="@string/zen_mode_settings_title" android:icon="@drawable/ic_notifications" - android:exported="true" - android:parentActivityName="Settings"> + android:exported="true"> @@ -875,8 +874,7 @@ android:name="Settings$NightDisplaySettingsActivity" android:label="@string/night_display_title" android:enabled="@*android:bool/config_nightDisplayAvailable" - android:icon="@drawable/ic_settings_night_display" - android:parentActivityName="Settings"> + android:icon="@drawable/ic_settings_night_display"> @@ -1626,7 +1624,7 @@ android:icon="@drawable/ic_settings_security"> - + @@ -2821,10 +2819,8 @@ android:name=".Settings$AppAndNotificationDashboardActivity" android:label="@string/app_and_notification_dashboard_title" android:icon="@drawable/ic_homepage_apps" - android:parentActivityName="Settings"> - - - + android:parentActivityName="Settings" + android:exported="true"> diff --git a/CleanSpec.mk b/CleanSpec.mk index 6ead46ebd24..93445f949d0 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -46,6 +46,7 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Settings_intermediates) $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Settings_intermediates) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/Settings) # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST diff --git a/OWNERS b/OWNERS index d2bc1ff4857..37124b23fc9 100644 --- a/OWNERS +++ b/OWNERS @@ -7,8 +7,11 @@ asargent@google.com dehboxturtle@google.com dhnishi@google.com dling@google.com +edgarwang@google.com jackqdyulei@google.com mfritze@google.com +rafftsai@google.com +tmfang@google.com zhfan@google.com # Emergency approvers in case the above are not available diff --git a/res/layout-land/wifi_dpp_qrcode_scanner_fragment.xml b/res/layout-land/wifi_dpp_qrcode_scanner_fragment.xml index fb50def7649..42178676acc 100644 --- a/res/layout-land/wifi_dpp_qrcode_scanner_fragment.xml +++ b/res/layout-land/wifi_dpp_qrcode_scanner_fragment.xml @@ -43,8 +43,5 @@ android:layout_height="wrap_content" android:layout_gravity="center"/> - - diff --git a/res/layout/face_enroll_introduction_footer.xml b/res/layout/face_enroll_introduction_footer.xml index d73a8edffe3..15993f05233 100644 --- a/res/layout/face_enroll_introduction_footer.xml +++ b/res/layout/face_enroll_introduction_footer.xml @@ -39,6 +39,6 @@ style="@style/SuwGlifButton.Primary" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@string/suw_next_button_label" /> + android:text="@string/wizard_next" /> diff --git a/res/layout/fingerprint_enroll_introduction_footer.xml b/res/layout/fingerprint_enroll_introduction_footer.xml index 1298d829d38..47d7657f198 100644 --- a/res/layout/fingerprint_enroll_introduction_footer.xml +++ b/res/layout/fingerprint_enroll_introduction_footer.xml @@ -39,6 +39,6 @@ style="@style/SuwGlifButton.Primary" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@string/suw_next_button_label" /> + android:text="@string/wizard_next" /> diff --git a/res/layout/slice_preference_layout.xml b/res/layout/slice_preference_layout.xml new file mode 100644 index 00000000000..4cea9c04678 --- /dev/null +++ b/res/layout/slice_preference_layout.xml @@ -0,0 +1,29 @@ + + + + + + diff --git a/res/layout/storage_wizard_footer.xml b/res/layout/storage_wizard_footer.xml index 0ff40aa9c21..a4cda18a7be 100644 --- a/res/layout/storage_wizard_footer.xml +++ b/res/layout/storage_wizard_footer.xml @@ -27,7 +27,7 @@ android:layout_height="wrap_content" android:onClick="onNavigateBack" android:visibility="gone" - android:text="@string/suw_back_button_label" /> + android:text="@string/wizard_back" /> + android:text="@string/wizard_next" /> diff --git a/res/layout/wifi_dpp_activity.xml b/res/layout/wifi_dpp_activity.xml index a833dcc757c..cb82f661c13 100644 --- a/res/layout/wifi_dpp_activity.xml +++ b/res/layout/wifi_dpp_activity.xml @@ -22,12 +22,6 @@ android:layout_height="match_parent" android:orientation="vertical"> - - + android:layout_centerHorizontal="true" + android:gravity="center_horizontal" + android:orientation="vertical" + android:paddingStart="16dp" + android:paddingEnd="16dp"> - + - + android:gravity="center_horizontal" + android:textAlignment="center" + android:layout_marginTop="8dp" + android:paddingStart="32dp" + android:paddingEnd="32dp"/> + + diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 86763b77169..383506dbb1d 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -52,6 +52,8 @@ + + diff --git a/res/values/config.xml b/res/values/config.xml index edd948f7962..7108cbde50e 100755 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -165,4 +165,7 @@ + + + content://com.google.android.gms.nearby.fastpair/settings_slice?addr=%1$s diff --git a/res/values/strings.xml b/res/values/strings.xml index be0369af6cd..d07cc53fe80 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -827,8 +827,15 @@ Location Use location - - Scanning, location history + + Off + + + On - %1$d app can access location + On - %1$d apps can access location + + + Loading\u2026 Accounts @@ -3630,15 +3637,28 @@ Location for work profile - App-level permissions - - Recent location requests - - See all + App permission + + Location is off + + + + %1$d + of + %2$d + app has unlimited access + + %1$d + of + %2$d + apps have unlimited access + + + Recent location access + + View details No apps have requested location recently - - Location services High battery use @@ -6746,7 +6766,7 @@ Back Next - + Finish @@ -6943,6 +6963,8 @@ network, mobile network state, service state, signal strength, mobile network type, roaming, iccid serial number, hardware version android security patch level, baseband version, kernel version + + financial app, sms, permission dark theme @@ -8833,6 +8855,10 @@ %1$d of %2$d apps allowed to modify system settings + + Financial Apps Sms Access + + financial_sms_root_screen_key Can install other apps diff --git a/res/values/styles.xml b/res/values/styles.xml index 48cd8769ab1..15ec46d01b4 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -489,4 +489,8 @@ false + + diff --git a/res/values/styles_preference.xml b/res/values/styles_preference.xml index 0f7ecabea18..f25289df748 100644 --- a/res/values/styles_preference.xml +++ b/res/values/styles_preference.xml @@ -21,6 +21,7 @@ @@ -34,6 +35,10 @@ @layout/apn_preference_layout + + diff --git a/res/values/themes.xml b/res/values/themes.xml index 390be584e21..f22d1110872 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -32,9 +32,13 @@ @style/FingerprintLayoutTheme @style/FaceLayoutTheme @*android:drawable/ic_menu_moreoverflow_holo_dark + + @drawable/wifi_signal ?android:attr/colorAccent @drawable/wifi_friction + ?android:colorControlNormal + @dimen/settings_side_margin ?android:attr/colorAccent @@ -58,6 +62,9 @@ @*android:color/primary_device_default_settings_light @android:color/white + + + @style/Widget.SliceView.Settings @@ -71,9 +78,6 @@ @style/Widget.ActionBar.SubSettings @style/ThemeOverlay.SwitchBar.Settings - - - ?android:colorControlNormal