Commit Graph

84342 Commits

Author SHA1 Message Date
Bonian Chen
101fd00594 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: I8aa54183b174b8c8057f703e59529ee235a8f3ae
2021-06-11 14:34:41 +00:00
Bonian Chen
a9f7780114 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: Ie0cfef3d4b5f85d1ad4b8ac1b3fd8dfb7a023fee
2021-06-11 14:33:51 +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
9c9eeb72d4 Merge "Correct the app bar color theme of Digital Assistant app" into sc-dev am: efd1c870f2 am: 98e46febd9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912508

Change-Id: Ifda2b016a3c3b74b732ea73aaee8f16574847b21
2021-06-11 10:19:36 +00:00
TreeHugger Robot
08feb531d7 Merge "Correct the app bar color theme of Digital Assistant app" into sc-dev am: efd1c870f2 am: a7b3e18038
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912508

Change-Id: I99ee6b75a3c3257e6c104f1c9b19d847f7e8ac5d
2021-06-11 10:19:20 +00:00
TreeHugger Robot
a7b3e18038 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: Id3c6949cd3fe8bc5ab90809dfe4e53f0bf3d6917
2021-06-11 10:04:42 +00:00
TreeHugger Robot
98e46febd9 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: Iec1c4d262523b4baf2c1f67fd6e0179c5ca57f88
2021-06-11 10:03:51 +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
c28e04ec4a [automerger skipped] Merge "Revert "[Provider Model] Replace WiFi panel to Internet panel"" into sc-dev am: 443a3f03ab am: 2a0ab5de14 -s ours
am skip reason: Merged-In Ia214ff9abaa7f4f33c485ca9aa72f73749ce7fc3 with SHA-1 908d4ffadf is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934751

Change-Id: I2440dfc18fb6bf0d291aced6e4f5afb126d39987
2021-06-11 06:59:47 +00:00
TreeHugger Robot
3009b6b247 Merge "Revert "[Provider Model] Replace WiFi panel to Internet panel"" into sc-dev am: 443a3f03ab am: c379bbc0f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934751

Change-Id: I14836be10ffbedfe12dd4d3f35917dfa883c5c52
2021-06-11 06:59:33 +00:00
TreeHugger Robot
c379bbc0f9 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: Id31b32bceb720cee3c11c297c4e8bbe84b83b1af
2021-06-11 06:45:35 +00:00
TreeHugger Robot
2a0ab5de14 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: I85c6f3d6e5d14534990dcad62a90e6f418df8076
2021-06-11 06:44:44 +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
Betty Chang
4b8da62340 Merge "Disable EntityHeaderController animation for item move down issue" into sc-dev am: 8896a0d217 am: 1b686fcaa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928764

Change-Id: I700238b8565288899ce3daf76b730519104a0f80
2021-06-11 03:53:30 +00:00
Betty Chang
019d728520 Merge "Disable EntityHeaderController animation for item move down issue" into sc-dev am: 8896a0d217 am: 344f45deb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928764

Change-Id: I78f051417a03414ecccf80493c4bbcc7c4f21ee7
2021-06-11 03:53:07 +00:00
Betty Chang
344f45deb6 Merge "Disable EntityHeaderController animation for item move down issue" into sc-dev am: 8896a0d217
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928764

Change-Id: I22ad82c4e667a6c5a707dfe5986bd91700798fd3
2021-06-11 03:27:41 +00:00
Betty Chang
1b686fcaa1 Merge "Disable EntityHeaderController animation for item move down issue" into sc-dev am: 8896a0d217
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928764

Change-Id: I1aa00286ada927341a52dd3956b446f630074efa
2021-06-11 03:26:55 +00:00
Peter_Liang
652c425acb Fixing the crash when tapping the "Downloaded apps" in Accessibility page.
Root cause:
When Accessibility settings parse the application which is from google
play store, the settings have no check if the resource is valid before
delivery the parameter into the corresponding fragment.

Solution:
Check if the resource is valid before creating the image uri.

Bug: 190716289
Test: manual test
Change-Id: I56eba2232ddf6ed5b2e526d4698479465a012e52
2021-06-11 03:24:06 +00:00
TreeHugger Robot
0219e060cc Merge "[Provider Model] Update the no internet unavailable icon" into sc-dev am: 9faa566ea0 am: f711c010be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912503

Change-Id: Icfb4b60652ac0696c6d7657a60daf38eda96de30
2021-06-11 03:13:17 +00:00
Betty Chang
8896a0d217 Merge "Disable EntityHeaderController animation for item move down issue" into sc-dev 2021-06-11 03:09:38 +00:00
TreeHugger Robot
79166adfb4 Merge "[Provider Model] Update the no internet unavailable icon" into sc-dev am: 9faa566ea0 am: 3b5db22a49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912503

Change-Id: I6797e388d61caebec1f297271ccfbeaca32ddc06
2021-06-11 03:05:51 +00:00
TreeHugger Robot
f711c010be Merge "[Provider Model] Update the no internet unavailable icon" into sc-dev am: 9faa566ea0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912503

Change-Id: I21716429a91981e3624159718729f8ea0c2d2ab7
2021-06-11 02:56:54 +00:00
TreeHugger Robot
3b5db22a49 Merge "[Provider Model] Update the no internet unavailable icon" into sc-dev am: 9faa566ea0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912503

Change-Id: I95a12f764c2c92c4b351fdcbf6cc88867fa6c205
2021-06-11 02:56:10 +00:00
TreeHugger Robot
9faa566ea0 Merge "[Provider Model] Update the no internet unavailable icon" into sc-dev 2021-06-11 02:42:52 +00:00
Hugh Chen
32c4253047 Remove the divider on "Pair new device".
Screenshot:
https://screenshot.googleplex.com/58zWxM3qqoNHerD.png
https://screenshot.googleplex.com/mgW69gQSKNeRNhW.png

Bug: 190563744
Test: manually test
Change-Id: I40e6e07d54417ccdcf2bce5e499ebb20a2d997e9
2021-06-11 10:42:26 +08:00
Peter Wang
d79015628a Use BC theme for ChooseSimActivity
Uploading for beccamilman@

Bug: 190430469
Test: Local
Change-Id: If762380040f64266b34b1d62658010b80e8c0405
2021-06-10 19:27:46 -07:00
Yanting Yang
472a8f7068 Merge "Left aligned the dropdown list of ManageApplications" into sc-dev am: 391c121920 am: a1487e391b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934750

Change-Id: If74bd547774927e3fd016ccc69af5d8b525b15ef
2021-06-11 01:57:41 +00:00
Yanting Yang
1e0012af7e Merge "Left aligned the dropdown list of ManageApplications" into sc-dev am: 391c121920 am: fe242896ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934750

Change-Id: I84874fd8cac3910922cc5c7346d7b8e8e5014be8
2021-06-11 01:57:03 +00:00
TreeHugger Robot
3c86201dd9 Merge "Fix Learn more link placement is wrong problem" into sc-dev am: 8dca5ab699 am: e1c53b2db1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928761

Change-Id: I629126e793978b5ded3dd7457ef2e00adfeac675
2021-06-11 01:56:58 +00:00
TreeHugger Robot
371d0e4f99 Merge "Fix Learn more link placement is wrong problem" into sc-dev am: 8dca5ab699 am: c4214332bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928761

Change-Id: Ieef23a967754043b0cb59b63baff9c98146ac0de
2021-06-11 01:56:53 +00:00
Yanting Yang
a1487e391b Merge "Left aligned the dropdown list of ManageApplications" into sc-dev am: 391c121920
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934750

Change-Id: Ieb69cbef10b905e1e2b9fc28bb356847a0466b3d
2021-06-11 01:38:47 +00:00
TreeHugger Robot
e1c53b2db1 Merge "Fix Learn more link placement is wrong problem" into sc-dev am: 8dca5ab699
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928761

Change-Id: Ice1cdf470ac502dcde20db151ffda7b795f669c6
2021-06-11 01:38:37 +00:00
Yanting Yang
fe242896ff Merge "Left aligned the dropdown list of ManageApplications" into sc-dev am: 391c121920
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934750

Change-Id: I65990a17bf6365ee16c18ad71c2e47e0ac80f7dc
2021-06-11 01:37:40 +00:00
TreeHugger Robot
c4214332bc Merge "Fix Learn more link placement is wrong problem" into sc-dev am: 8dca5ab699
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14928761

Change-Id: I5a98955e74c144c43b71da704a1193d2e8b77498
2021-06-11 01:37:28 +00:00
Yanting Yang
391c121920 Merge "Left aligned the dropdown list of ManageApplications" into sc-dev 2021-06-11 01:29:28 +00:00
TreeHugger Robot
8dca5ab699 Merge "Fix Learn more link placement is wrong problem" into sc-dev 2021-06-11 01:23:43 +00:00
Joe Bolinger
2482d43493 Delay invoking biometric prompt.
Fix: 169323687
Test: manual
Change-Id: Iff00caaace97df6da476fd429ebf24bb6b1e14e1
2021-06-11 00:40:26 +00:00
Curtis Belmonte
e301d59536 Fix face/fingerprint consent primary footer button logic
Currently, the primary footer button on the face and fingerprint enroll
consent pages reads "I agree" even before the user has scrolled to the
bottom of the screen. This commit fixes the issue so that "More" is
displayed until the user scrolls to the bottom. The remaining logic is
left intact.

Test: Manual:
1. Start face or fingerprint enrollment
2. Confirm primary button shows "More" and secondary button is hidden
3. Press the "More" button or scroll to the bottom of the screen
4. Ensure primary button shows "I agree" and secondary shows "No thanks"

Fixes: 189268868
Change-Id: I02fa47d1de83bd5b5d82c733495ae579cbd2d6c6
2021-06-10 16:38:11 -07:00
Wesley.CW Wang
e1b1f67681 Make App info page support new battery entry
- Add new battery entry to app info battery preference, support both
 legacy and new args, controlled by P/H
 - Add a method to check is work profile app or not, use owner context to
 query correct context for feature provider
 - Add string for new args

Bug: 178197718
Test: make RunSettingsRoboTests
Change-Id: Ic93142a0c5e2851917cb3e224340a6e3e81fd801
2021-06-11 04:41:12 +08:00
TreeHugger Robot
28dd81fc08 Merge "Check in auto rotate settings summary for rotation resolver service" into sc-dev am: ad84b3dd39 am: d34ab1ae58
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14830090

Change-Id: I894569def643a498cca7ea2058c1930a79faa494
2021-06-10 19:42:31 +00:00
TreeHugger Robot
e56b1ad5b9 Merge "Check in auto rotate settings summary for rotation resolver service" into sc-dev am: ad84b3dd39 am: 2c40af09e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14830090

Change-Id: I3493ee4824bd1c0a7d6fadce056a7f85d1536774
2021-06-10 19:41:00 +00:00
Jason Chang
1c310ef44b Remove redundant swipe down notification and one handed sub settings
1. Remove "Swipe down for notification" item code.
2. Remove "Exit when switching apps & "Timeout" items code.

Bug: 175851783

Test: build & verify Settings > System > Gestures
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures
      .OneHandedEnablePreferenceControllerTest"

Change-Id: I77be5ff5542f6310fa0b9649ddfc1d3c16fa4261
2021-06-11 03:30:10 +08:00
Jason Chang
76d6d66353 Update key visual changes for one handed mode settings
Follow new visual UI to change the design.

Bug: 175851783
Bug: 188868459
Bug: 189001678

Test: manual verified on Settings > System > Gesture page
> System controls page
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures
      .OneHandedEnablePreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures
      .OneHandedMainSwitchPreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures
      .OneHandedActionPullDownPrefControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
      "com.android.settings.gestures
      .OneHandedActionShowNotificationPrefControllerTest"

Change-Id: I86535fd9f49726c7234353032b950640346a02c5
2021-06-11 03:30:10 +08:00
TreeHugger Robot
2c40af09e4 Merge "Check in auto rotate settings summary for rotation resolver service" into sc-dev am: ad84b3dd39
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14830090

Change-Id: I7c276b7313261a639746c13d2d678bdd713eeb7e
2021-06-10 19:26:42 +00:00