Commit Graph

87838 Commits

Author SHA1 Message Date
YUKAI HUNG
f488cf5416 Merge "[B&R] avoid to backup & restore app which is in the PowerSaveWhitelistExceptIdle" into sc-v2-dev am: b62c1e8142
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15892826

Change-Id: I5050b2e16522f19e4cdd04e317a2118ea881f322
2021-09-23 11:34:07 +00:00
YUKAI HUNG
b62c1e8142 Merge "[B&R] avoid to backup & restore app which is in the PowerSaveWhitelistExceptIdle" into sc-v2-dev 2021-09-23 11:24:19 +00:00
ykhung
9de5fe158d [B&R] avoid to backup & restore app which is in the PowerSaveWhitelistExceptIdle
BYPASS_INCLUSIVE_LANGUAGE_REASON=legacy method name

Test command for backup manager:
adb shell bmgr backupnow com.android.settings
adb shell dumpsys backup | grep Current
adb shell bmgr restore 3e9867a7660315b8 com.android.settings

Bug: 192523697
Test: make SettingsRoboTests
Change-Id: I78f34870af3146698e6d1b9fbc5ec4385a8d5384
2021-09-23 17:29:22 +08:00
TreeHugger Robot
f6bdd8eb96 Merge "Fix not able to add Settings shortcut widget problem" into sc-v2-dev am: 7655d161ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15892809

Change-Id: I2a982c636bcf7b7709c697a3bfaaa41e5999bbeb
2021-09-23 08:12:32 +00:00
TreeHugger Robot
7655d161ff Merge "Fix not able to add Settings shortcut widget problem" into sc-v2-dev 2021-09-23 08:02:23 +00:00
Jason Hsu
da247a3042 Merge "Support ability to add different page id for different accessibility service page in settings." into sc-v2-dev am: 768722fed4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15824482

Change-Id: I8d5053da73433f54491fe9e32f822757d09057ef
2021-09-23 07:12:16 +00:00
Jason Hsu
768722fed4 Merge "Support ability to add different page id for different accessibility service page in settings." into sc-v2-dev 2021-09-23 07:01:58 +00:00
Arc Wang
4dd3f11349 Fix not able to add Settings shortcut widget problem
After users select a shortcut item in CreateShortcutActivity,
launchers need to get result from CreateShortcutActivity.

For large screen devices, Settings deep link will start
DeepLinkHomepageActivity and then DeepLinkHomepageActivity
starts the deep link page. The CreateShortcutActivity result
deos not forward to launcher and there is no shortcut added.

This change uses Intent.FLAG_ACTIVITY_FORWARD_RESULT to
forward result from CreateShortcutActivity to launcher.

Bug: 200889769
Test: manual
      Long click launcher -> Widget -> Settings ->
      select an item and check if it adds a short on launcher.
Change-Id: Idd5fc642be5c1fb2f747316c3ddcd9b7f0b33852
2021-09-23 06:54:36 +00:00
TreeHugger Robot
edc5e940ef Merge "Add the Spatial audio toggle in SoundSettings" into sc-v2-dev am: a448a917eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15884455

Change-Id: I82270db9e790b8f64f3c8cb7ed878ba0fd3ab025
2021-09-23 06:17:26 +00:00
TreeHugger Robot
a448a917eb Merge "Add the Spatial audio toggle in SoundSettings" into sc-v2-dev 2021-09-23 06:00:54 +00:00
Curtis Belmonte
af3547a96d [automerger skipped] Merge "Support configurable multi-stage UDFPS enrollment" into sc-qpr1-dev am: 491ef413c3 am: e04555bc68 -s ours
am skip reason: Merged-In Ied4dbcb4a523f477c5ca1a9146d24751c6473f35 with SHA-1 73855e0a59 is already in history

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

Change-Id: I8db1198444f51dac647a719bee95866bd562e421
2021-09-23 05:37:54 +00:00
Jason Hsu
9e787479a6 Merge "Add the AccessibilitySearchFeatureProvider mock in testutils/FakeFeatureFactory" into sc-v2-dev am: f7695aae33
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15836289

Change-Id: I34e04b0e990cf4e0eb6e9729f99d545a4f421edf
2021-09-23 05:08:33 +00:00
Jason Hsu
f7695aae33 Merge "Add the AccessibilitySearchFeatureProvider mock in testutils/FakeFeatureFactory" into sc-v2-dev 2021-09-23 04:55:54 +00:00
Alan Huang
e303658f0d Add the Spatial audio toggle in SoundSettings
The Spatial audio toggle will be showed only on supported devices

Test: robotest, manual checked the UI, but not the actual functionality due to
doesn't have supported device in hand

Bug: 191870827
Change-Id: I7db264902b03fddb7808676d8cb98cbe045deda1
2021-09-23 04:45:46 +00:00
TreeHugger Robot
e7ebddb87d Merge "Merge intent extra to deep link intent target for large screen devices" into sc-v2-dev am: 4223ee98ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15824476

Change-Id: I81f6a07456d2fbd3c10795caa5c0af2ef34fc1fb
2021-09-23 03:32:12 +00:00
TreeHugger Robot
4223ee98ea Merge "Merge intent extra to deep link intent target for large screen devices" into sc-v2-dev 2021-09-23 03:19:09 +00:00
Arc Wang
e4084028b3 Merge intent extra to deep link intent target for large screen devices
Sender of deep link intent may want to send intent extra data to the
deep link target Activity by merging intent extra.

Bug: 197048599
Bug: 197926040
Test: manual
      1. Click quick Setting 'Internet button'.
      2. Click the gear button of a connected Wi-Fi.
      3. Observe if the Wi-Fi detail page shows the connected Wi-Fi.
Change-Id: I32040ee21a747cae710df2e12a8f5b66aff086fa
2021-09-23 02:05:55 +00:00
Curtis Belmonte
e04555bc68 Merge "Support configurable multi-stage UDFPS enrollment" into sc-qpr1-dev am: 491ef413c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15873332

Change-Id: I0c658ef0ad208e912e88e2af82cf14d3ec34d245
2021-09-22 18:08:40 +00:00
Curtis Belmonte
491ef413c3 Merge "Support configurable multi-stage UDFPS enrollment" into sc-qpr1-dev 2021-09-22 17:52:47 +00:00
Arc Wang
93e09e46ba Merge "Fix sometimes deep link does not show in 2-pane" into sc-v2-dev am: 8ab5c92adc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834628

Change-Id: I93214f3af090d7bd695174e851d69c604d899d05
2021-09-22 13:49:23 +00:00
Arc Wang
8ab5c92adc Merge "Fix sometimes deep link does not show in 2-pane" into sc-v2-dev 2021-09-22 13:34:10 +00:00
jasonwshsu
3d0f12d043 Support ability to add different page id for different accessibility service page in settings.
Bug: 190344664
Test: build pass
Change-Id: I6cc90b27dcbb5075d13e3c59fe754309182b4d0a
2021-09-22 18:36:46 +08:00
jasonwshsu
01cc290446 Add the AccessibilitySearchFeatureProvider mock in testutils/FakeFeatureFactory
* Complete the missing part in ag/14299190

Bug: 184171842
Test: build pass
Change-Id: I020f218b58dca132bdb093163f764e125b8ea816
2021-09-22 18:36:17 +08:00
Arc Wang
7ffd6d8186 Fix sometimes deep link does not show in 2-pane
Settings.ACTION_SETTINGS_LARGE_SCREEN_DEEP_LINK starts
the activity-alias 'DeepLinkHomepageActivity', however,
if Settings app first time (from application cteation) starts
from the activity-alias 'Settings', framework will uses
'Settings' instead of DeepLinkHomepageActivity to match pair
rule. User will see full screen deep link for this case.

This change registers deep link pair rule for both the
activity-alias 'Settings' and 'DeepLinkHomepageActivity'.

Bug: 200131691
Test: manual
      1. Launch Settings from launcher.
      2. Launch Settings from Settings shortcut widget.
      3. Observe if the shortcut page shows in  2-pane.
Change-Id: Ice9d09f3545a02603f529d5d19e621ae82302004
2021-09-22 10:12:53 +00:00
TreeHugger Robot
6d17c92f16 Merge "Fix QR code scanner layout in "Pair devices over Wi-Fi" page." into sc-qpr1-dev am: 85d20f5957 am: 6b5973c48e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15854410

Change-Id: I386939b5835f1f9cbd7f35d78c561b2135988ffa
2021-09-22 09:31:56 +00:00
TreeHugger Robot
24a1b8150b Merge "Fix QR code scanner layout in "Pair devices over Wi-Fi" page." into sc-qpr1-dev am: 85d20f5957 am: 1fc8de7343
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15854410

Change-Id: I62c2812fd8fc095bdf90ecf1595c62f1c42e953e
2021-09-22 09:31:12 +00:00
TreeHugger Robot
6b5973c48e Merge "Fix QR code scanner layout in "Pair devices over Wi-Fi" page." into sc-qpr1-dev am: 85d20f5957
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15854410

Change-Id: Ia5440a9db8bf15ced28fcca5de37e2a086cba41a
2021-09-22 09:22:02 +00:00
TreeHugger Robot
1fc8de7343 Merge "Fix QR code scanner layout in "Pair devices over Wi-Fi" page." into sc-qpr1-dev am: 85d20f5957
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15854410

Change-Id: If671b194ea453ac406f280b5fdfe72d62cf1f550
2021-09-22 09:21:58 +00:00
TreeHugger Robot
85d20f5957 Merge "Fix QR code scanner layout in "Pair devices over Wi-Fi" page." into sc-qpr1-dev 2021-09-22 09:08:25 +00:00
TreeHugger Robot
69f2a456b0 Merge "Support configurable multi-stage UDFPS enrollment" into sc-v2-dev am: dd28640c0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15875914

Change-Id: Ia6fce74c79b01442273fbf733141de68695dd7b2
2021-09-22 07:48:00 +00:00
TreeHugger Robot
dd28640c0e Merge "Support configurable multi-stage UDFPS enrollment" into sc-v2-dev 2021-09-22 07:32:28 +00:00
TreeHugger Robot
589da8c3f9 Merge "Minor change to Wi-Fi WPA3 password length restriction" into sc-qpr1-dev am: 6263fd9471 am: c19d945d4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15860293

Change-Id: I9f5f8f43c9c1e7bc4379437657f90d210162596b
2021-09-22 06:49:29 +00:00
TreeHugger Robot
b63f60f87d Merge "Minor change to Wi-Fi WPA3 password length restriction" into sc-qpr1-dev am: 6263fd9471 am: 03f1947b2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15860293

Change-Id: I95aeac99a8c8da059dc3957f6fa488ba888c905e
2021-09-22 06:48:58 +00:00
TreeHugger Robot
c19d945d4a Merge "Minor change to Wi-Fi WPA3 password length restriction" into sc-qpr1-dev am: 6263fd9471
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15860293

Change-Id: I9654d63716d62d83244c96dfb08548623686fbc7
2021-09-22 06:36:58 +00:00
TreeHugger Robot
03f1947b2c Merge "Minor change to Wi-Fi WPA3 password length restriction" into sc-qpr1-dev am: 6263fd9471
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15860293

Change-Id: I4fd211c5e1bab04677aacda77728c732b7de89ca
2021-09-22 06:36:33 +00:00
TreeHugger Robot
6263fd9471 Merge "Minor change to Wi-Fi WPA3 password length restriction" into sc-qpr1-dev 2021-09-22 06:25:24 +00:00
Zoey Chen
1a4f114c67 Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev am: 39b6769e5e am: 5db9f0042a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834629

Change-Id: I1b9334726d75c8fa3229e4ae9a3e492a627ae4a6
2021-09-22 06:21:38 +00:00
Zoey Chen
0817b1053b Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev am: 39b6769e5e am: ab18c8ac04
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834629

Change-Id: I1be0cd9d16e5a11a1be2fc127c1f85b450381412
2021-09-22 06:21:04 +00:00
Zoey Chen
5db9f0042a Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev am: 39b6769e5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834629

Change-Id: I80712b16464d2104e570038060044bde74c9c4fb
2021-09-22 06:07:00 +00:00
Zoey Chen
ab18c8ac04 Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev am: 39b6769e5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834629

Change-Id: Iaa62b3be6f11eaa86b3d7b547f3e896e9bee5f9e
2021-09-22 06:06:57 +00:00
Zoey Chen
39b6769e5e Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev 2021-09-22 05:53:36 +00:00
Wesley.CW Wang
803e3d710b Add PowerSaveWhitelistExceptIdle as Optimizted modes condition am: e7cca4cd81
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15836295

Change-Id: Id84f334ae11660a24d89d1bd6b9fdd7465cd0d44
2021-09-22 03:43:01 +00:00
Wesley.CW Wang
e7cca4cd81 Add PowerSaveWhitelistExceptIdle as Optimizted modes condition
- Check PowerSaveWhitelistExceptIdle list before update each apps
 optimizaton mode to avoid duplicate remove action
 - Make those apps which under PowerSaveWhitelistExceptIdle list keep at
 optimized mode only

BYPASS_INCLUSIVE_LANGUAGE_REASON=legacy naming, not edit by this code change


Bug: 199892006
Test: make SettingsRoboTests
Change-Id: I3cd10cf51b5132fc12a83e9554801ec4e8578cd1
Merged-In: I3cd10cf51b5132fc12a83e9554801ec4e8578cd1
2021-09-22 02:14:05 +00:00
Joshua Mccloskey
f3d56134dc Merge "Updated settings preference title for work profile" into sc-qpr1-dev am: 21ad438f6a am: e5644441dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15848923

Change-Id: I8b2f8dff4498866d44b617ece7f19e4ba2593745
2021-09-21 23:04:12 +00:00
Joshua Mccloskey
f73fad2d0f Merge "Updated settings preference title for work profile" into sc-qpr1-dev am: 21ad438f6a am: 8aeeb6cd45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15848923

Change-Id: I7699f33527edf8c395abb999767885b488fe0a58
2021-09-21 23:03:49 +00:00
Joshua Mccloskey
e5644441dd Merge "Updated settings preference title for work profile" into sc-qpr1-dev am: 21ad438f6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15848923

Change-Id: I562c8f686ca963d5f9d8aba306b6d2ec0c0ca102
2021-09-21 22:52:39 +00:00
Joshua Mccloskey
8aeeb6cd45 Merge "Updated settings preference title for work profile" into sc-qpr1-dev am: 21ad438f6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15848923

Change-Id: Ib9d449b5e3b4565a6bad54141ccad8491bfb6630
2021-09-21 22:52:34 +00:00
Joshua Mccloskey
21ad438f6a Merge "Updated settings preference title for work profile" into sc-qpr1-dev 2021-09-21 22:39:56 +00:00
Curtis Belmonte
73855e0a59 Support configurable multi-stage UDFPS enrollment
Implements multi-stage enrollment for UDFPS. This implementation
supports both highlighting the progress bar when a help message is
received and configuring the progress thresholds between enroll stages
via an XML resource.

Test: Manual

Bug: 198928407
Bug: 200076382
Change-Id: Ied4dbcb4a523f477c5ca1a9146d24751c6473f35
2021-09-21 10:58:24 -07:00
Zoey Chen
95db7ae728 [Provider Model] The SIMs page should list all p-SIMs
- We do not support multiple pSIMs until now, so we need to get all p-SIMs from SubscriptionManager
- Apply same checking for downloaded sim

Bug: 199032142
Test: vendor test
Test: atest NetworkProviderSimsCategoryControllerTest and atest NetworkProviderSimListControllerTest
Change-Id: I77d7c52e73ac4e5d09fa3f3926490d7f8f8b0913
2021-09-21 17:29:27 +00:00