Commit Graph

84209 Commits

Author SHA1 Message Date
Midas Chien
c5a736f633 Merge "Change strings for force highest refresh rate in Developer options" into sc-dev am: 9598398df3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934758

Change-Id: I046cd43607ef3abe416967bdb3acbfacb3f15590
2021-06-15 04:10:06 +00:00
Midas Chien
9598398df3 Merge "Change strings for force highest refresh rate in Developer options" into sc-dev 2021-06-15 04:00:43 +00:00
Joshua Mccloskey
785203d51a Update multi biometric flow for SUW
Currently, if a user has completed a fingerprint/face enrollment
in SUW and they press the back button, we show the UI for each, and
it fails with no error.

This change makes it so that if a user completes 1 fingerprint or 1
face enrollment, it will no longer try and enroll them again if they
have failed.

Test: Manual
Bug: 191073296
Change-Id: I020c423b5d34797cd7c8be66a2e24051135c9be0
2021-06-14 19:59:23 -07:00
Arc Wang
ff5bb849ba Fix test failures
Add the color contextual_card_background to fix.

Bug: 190868608
Bug: 190870129
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SliceContextualCardRendererTest
      make RunSettingsRoboTests ROBOTEST_FILTER=SliceHalfCardRendererHelperTest
Change-Id: I430dab9c72a8f4efb2402e44fd015c1c1ce0f7e6
2021-06-15 10:25:06 +08:00
Kevin Han
730a573d28 Update "Unused apps" load-in UI
Update the UI for the "Unused apps" preference to update with the loaded
number of unused apps instead of having the entire preference animate
in.

Bug: 187996287
Test: manual
Test: atest HibernatedAppsPreferenceControllerTest
Change-Id: I1c6998de4daaf4d8678a3ffdaf83f5d2417fa68d
2021-06-14 18:37:04 -07:00
TreeHugger Robot
e919947ad0 Merge "Changes to 'Alarms & reminders' permission setting" into sc-dev am: 052ae78759
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14939788

Change-Id: Ibbef8459369b5f31315e0680f69e8e2a3e4d2868
2021-06-15 01:11:37 +00:00
TreeHugger Robot
052ae78759 Merge "Changes to 'Alarms & reminders' permission setting" into sc-dev 2021-06-15 00:57:46 +00:00
Abel Tesfaye
b3213e4164 Fix missing share context option in settings app
Bug: 191075974

Test: locally with flame
Change-Id: Idbdea3e9b32fc8fd24e4676cfe3189232f97bdcd
2021-06-15 00:06:07 +00:00
Peter Wang
43fe473265 Merge "Fix ToggleSubscriptionDialogActivity dialog theme." into sc-dev am: 5a6655d356
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14941671

Change-Id: I55ec0dbdc4484a507558624e9a4ffc0afde4baea
2021-06-14 18:15:02 +00:00
Peter Wang
5a6655d356 Merge "Fix ToggleSubscriptionDialogActivity dialog theme." into sc-dev 2021-06-14 17:58:40 +00:00
TreeHugger Robot
958d43aa1d Merge "Remove "Require all non-trusted certificate statuses" option" into sc-dev am: 46bcf5ae17
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14948330

Change-Id: Ibea486f6596099fe558b226e421e15b34e197ec5
2021-06-14 17:14:05 +00:00
TreeHugger Robot
46bcf5ae17 Merge "Remove "Require all non-trusted certificate statuses" option" into sc-dev 2021-06-14 17:01:00 +00:00
Joe Bolinger
78a129a37a Merge "Delay invoking biometric prompt." into sc-dev am: a72230977d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14925234

Change-Id: Icca31b9cfd6234b79c45e9fef7447d613516a87c
2021-06-14 16:39:01 +00:00
Alex Johnston
3f656e9d0c RequestManageCredentials foldable view
* Add more padding to layout
* Move 'Don't allow' button to the
  left screen
* https://screenshot.googleplex.com/6Ak35pRBZiyncb5

Bug: 189416800
Test: manual testing with emulator
Change-Id: Ie17aaaa8427f8151d469a662855586c37432f116
2021-06-14 17:38:50 +01:00
Joe Bolinger
a72230977d Merge "Delay invoking biometric prompt." into sc-dev 2021-06-14 16:38:08 +00:00
Zim
3d7118d636 Turn off transcoding notification by default
To aid debugging, we included transcoding progress
notifications. We don't intend to launch with the notifications on by
default so turn it off now in preparation for Android S launch.

The notifications can still be enabled in the developer options with:
Settings > System > Developer options > Media transcoding >
Show transcoding notifications

Test: Manual
Bug: 190562454
Change-Id: Icab62cb91fdf22e5308d0c4bbc710b88a51170d3
2021-06-14 14:18:04 +01:00
TreeHugger Robot
0eb7f0a33f Merge "Remove the divider on "Pair new device"." into sc-dev am: c7f8315e66
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934757

Change-Id: Ie7cbb8b8d5415f0389ead397b78a01f1600ba79a
2021-06-14 08:24:05 +00:00
TreeHugger Robot
c7f8315e66 Merge "Remove the divider on "Pair new device"." into sc-dev 2021-06-14 08:09:16 +00:00
PETER LIANG
39911eee17 Merge changes from topic "a11y_image_preference_bc" into sc-dev am: a96c844df5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928754

Change-Id: Ib8e5f6877ee4d836953ddd4f2d26dd6bafdb194d
2021-06-14 03:11:45 +00:00
Peter_Liang
99504d39ea Update the material next style for AnimatedImagePreference. am: db1d3d2a47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928753

Change-Id: Ifa5cb68a9f9b64d57aa817ef1272b02e2571f323
2021-06-14 03:11:43 +00:00
PETER LIANG
a96c844df5 Merge changes from topic "a11y_image_preference_bc" into sc-dev
* changes:
  Update the Lottie images for Accessibility features.
  Update the material next style for AnimatedImagePreference.
2021-06-14 02:55:07 +00:00
TreeHugger Robot
eaa98e659a Merge "Fix face/fingerprint consent primary footer button logic" into sc-dev am: cd6c64a5c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14941211

Change-Id: I94f3b428fc705ac7e769694a1196bf2f2c9b09b9
2021-06-12 23:44:36 +00:00
TreeHugger Robot
cd6c64a5c7 Merge "Fix face/fingerprint consent primary footer button logic" into sc-dev 2021-06-12 23:31:12 +00:00
Jason Chang
7e61c806e9 Merge changes from topic "OHM-newUI-Sys-Gesture" into sc-dev am: 5213fbced1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14804130

Change-Id: I13e555a0fedab56172a520ea52c97c4988ac9e9e
2021-06-12 11:59:10 +00:00
Jason Chang
5213fbced1 Merge changes from topic "OHM-newUI-Sys-Gesture" into sc-dev
* changes:
  Update key visual changes for one handed mode settings
  Remove redundant swipe down notification and one handed sub settings
2021-06-12 11:49:16 +00:00
TreeHugger Robot
2ba6886bce Merge "[Provider Model] Add WiFi toggle in internet panel" into sc-dev am: 38df9ce8bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880638

Change-Id: I932797211f93696ef6fdbab14f6932d600a8a4d1
2021-06-12 10:52:54 +00:00
TreeHugger Robot
e3207336fc Merge "Update wallpaper summary of homepage for AOSP" into sc-dev am: 08a59454cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934759

Change-Id: I201d1c5a58bfc5c3c0bff963530e56d5ad5c1fc0
2021-06-12 10:52:44 +00:00
TreeHugger Robot
38df9ce8bb Merge "[Provider Model] Add WiFi toggle in internet panel" into sc-dev 2021-06-12 10:47:34 +00:00
TreeHugger Robot
08a59454cf Merge "Update wallpaper summary of homepage for AOSP" into sc-dev 2021-06-12 10:38:15 +00:00
TreeHugger Robot
307e2e17b4 Merge "Fixing the crash when tapping the "Downloaded apps" in Accessibility page." into sc-dev am: 90f780ac51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934756

Change-Id: I85f4c66be311acc80255ee84e1954ecc9ec8eca6
2021-06-12 10:30:50 +00:00
TreeHugger Robot
90f780ac51 Merge "Fixing the crash when tapping the "Downloaded apps" in Accessibility page." into sc-dev 2021-06-12 10:22:42 +00:00
Weng Su
c4eb3b1320 [Provider Model] Hide W+ network if it's inactive
Bug: 187854575
Test: manual test
atest -c CarrierWifiTogglePreferenceControllerTest \
         SubscriptionsPreferenceControllerTest

Change-Id: Ib99bc7fef38a99c1da1e365c2002ad30c617d445
2021-06-12 00:55:10 +00:00
Weng Su
04a4060225 [Provider Model] Add WiFi toggle in internet panel
- Move Wi-Fi toggle from menu button to slice row

- Remove Wi-Fi disconnect action

- Show scanning sub-title once only

Bug: 189912933
Test: manual test
atest -c InternetConnectivityPanelTest \
         ProviderModelSliceTest

Change-Id: I2baf05362f5cd0a8ce94c7b3b2b112a7e9fe6894
2021-06-12 00:53:52 +00:00
Peter Wang
8abc64b7f7 Fix ToggleSubscriptionDialogActivity dialog theme.
Bug: 185415478
Test: Local
Change-Id: Ice4c826bb2ecc5dacc7a54c2840a0d5f83d5757c
2021-06-11 11:55:37 -07:00
Hai Shalom
f3e31d47fb Remove "Require all non-trusted certificate statuses" option
Remove the "Require all non-trusted certificate statuses" OCSP
option. The underlying software stack does not support this
option and therefore it should not be presented to the user.

Bug: 190830812
Test: Verify option is not displayed
Change-Id: I909634dee37de4342cb3e6f9a4a53adeb448bbff
2021-06-11 10:21:10 -07:00
TreeHugger Robot
7ecadfe92f Merge "Improve flicker when enter Security page" into sc-dev am: 9f7564c1b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934753

Change-Id: I93d2dd6946d3d1ab4a8d64a6eccc0620e9f50d12
2021-06-11 16:50:44 +00:00
TreeHugger Robot
9f7564c1b6 Merge "Improve flicker when enter Security page" into sc-dev 2021-06-11 16:40:05 +00:00
Weng Su
69a80b3f98 Add loading progress to Internet Settings
Bug: 173207801
Bug: 190696245
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest

Change-Id: I8693fb3e1fb236ce1442da2ab12b189786606266
2021-06-11 22:50:24 +08:00
Bonian Chen
852412e9f3 Merge "[Settings] Change API for backup calling supporting status" into sc-dev am: f39b86b5db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14800155

Change-Id: I854859354211099e426881dc6165c98af70d67b8
2021-06-11 14:33:52 +00:00
Bonian Chen
f39b86b5db Merge "[Settings] Change API for backup calling supporting status" into sc-dev 2021-06-11 14:18:17 +00:00
TreeHugger Robot
3b04aa48a7 Merge "Correct the app bar color theme of Digital Assistant app" into sc-dev am: efd1c870f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912508

Change-Id: I0aa96c3e1eb0b823f2c46ed813d69e5b2b58bb29
2021-06-11 10:03:57 +00:00
TreeHugger Robot
efd1c870f2 Merge "Correct the app bar color theme of Digital Assistant app" into sc-dev 2021-06-11 09:50:43 +00:00
Syaoran Kuo
956b03d3d8 Fix resource id not match issue.
Bug: 187485845
Test: atest com.android.settings.notification.AppNotificationComponentTest
Change-Id: I4b094dd430127046e08cb1b87706906807c28b32
2021-06-11 17:02:34 +08:00
Yanting Yang
da06cec173 Improve flicker when enter Security page
The flicker preferences are injected from external apps and the text
shifting is due to it needing time to load the icon from the content
uri. To avoid flicker, put a transparent icon as default to wait for
icon update.

Fixes: 189165518
Test: robotests & visual
Change-Id: I727eeefd5455711a53d3fd9ccd5356a15b9daae4
2021-06-11 16:59:53 +08:00
Bill Lin
3ae771d04a Integrate One handed mode shortcut preference
1) Update AccessibilityShortcutPreferenceFragment extends
   DashboardFragment
2) OneHandedSettings extends AccessibilityShortcutPreferenceFragment
   for shortcut feature
3) Add General Category above shortcut preference

Test: Settings > System > Gesture > One handed mode
Test: Settings > A11y > System Controls > One handed mode
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings
      .OneHandedShortcutPreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings
      .OneHandedShortcutPreferenceFragmentTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings
      .OneHandedActionPullDownPrefControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings
      .OneHandedActionShowNotificationPreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings
      .OneHandedSettingsUtilsTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings
      .AccessibilityShortcutPreferenceFragmentTest"

Bug: 182425480
Change-Id: I653388beea422e9bf47fd3240367fb374d6f0025
2021-06-11 16:13:59 +08:00
Midas Chien
007175d3cf Change strings for force highest refresh rate in Developer options
Difference devices can support different refresh rates. Therefore the
highest refresh rate may be different. Change strings to 'peak' to be
more generic.

Bug: 189441749
Test: Check UI string
Change-Id: Ib3bab5e374a976dd651838d6c5fc9f120156cd31
2021-06-11 16:04:24 +08:00
TreeHugger Robot
517ed94dfe Merge "Revert "[Provider Model] Replace WiFi panel to Internet panel"" into sc-dev am: 443a3f03ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934751

Change-Id: I2c41c8210c2c2229bc5341337c7fbe7a00d0ccf7
2021-06-11 06:44:47 +00:00
TreeHugger Robot
443a3f03ab Merge "Revert "[Provider Model] Replace WiFi panel to Internet panel"" into sc-dev 2021-06-11 06:35:02 +00:00
Yanting Yang
7d7be0bd7d Update wallpaper summary of homepage for AOSP
Fixes: 190585430
Test: robotests & visual
Change-Id: Idd51d7988dc6664b7a8936bcbb9c7174c20580eb
2021-06-11 14:31:47 +08:00
Suprabh Shukla
3f5bd0931e Changes to 'Alarms & reminders' permission setting
Not showing apps that are targeting SDK < 31, because the change is not
enabled for them.

Now alarm manager service manages killing the process whenever the
permission gets revoked, so we don't need to do it here.
This also lets us kill the app on "Reset app preferences" if needed.

Adding the preference under "Advanced" in the app info page so it
appears for apps that have requested this permission.

Test: atest SettingsUnitTests:AppStateAlarmsAndRemindersBridgeTest
make -j64 RunSettingsRoboTests \
ROBOTEST_FILTER="AlarmsAndRemindersDetailsTest|
AlarmsAndRemindersDetailPreferenceControllerTest"

Manually:
- There should be no observable difference in behavior when
toggling the setting. ActivityManager logs should still indicate that
the app is killed when the permission is revoked.
- "Alarms & Reminders" should appear under "Advanced" when looking at
the app info detail of an app that appears under "Alarms & reminders"
special app access page.

Bug: 179541791
Bug: 190070171
Change-Id: I2d437cec10ee10e4326fb25b2820de9ef9c31c67
2021-06-10 22:53:05 -07:00