Bonian Chen
b2eb456c56
[automerger skipped] Merge "[Settings] enhancing data saver config control" into tm-qpr-dev am: 106fd86520 am: 56e5d50ca7 -s ours
...
am skip reason: Merged-In I909522c0244ebb012a27d6aff34120a4f90128c6 with SHA-1 af614b823a is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20419511
Change-Id: If5e87c57d7e842717dcd999bc445a82dec5f1804
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-11 11:08:56 +00:00
Bonian Chen
11187fa7a8
[automerger skipped] Merge "[Settings] Hide data usage when SIM support is turn OFF" into tm-qpr-dev am: a6824c9b34 am: 86e2948eb6 -s ours
...
am skip reason: Merged-In I5e49a2b0f2b563b426354f4d2e6e650dcc02c98b with SHA-1 039ef374ab is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20419510
Change-Id: I610aaf6a5b0287ea49116d6d2b3b1bd311206ddc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-11 11:08:52 +00:00
Yanting Yang
9f6c5bdadc
Monitor the page scrolling jank for app list pages
...
Bug: 254237663
Test: take the trace and check the cuj section name
Change-Id: Id9b7affcad354c43c1e8934d81abd1bb51fb2956
2022-11-11 10:59:33 +00:00
Chaohui Wang
cfa01cd5b1
Update for DisposableBroadcastReceiverAsUser
...
Bug: 235727273
Test: Manually with Settings
Change-Id: I597aac55b9ff7667227e9b05e83d804a134b9aaf
2022-11-11 10:49:29 +00:00
Bonian Chen
647e3fe4e5
Merge "[Settings] Improve PremiumSMS's auto test" into tm-qpr-dev am: 30ce9a78ee
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20429443
Change-Id: I712b90a9a09ebb2bfe064f4e6a37930d2b977bcf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-11 10:24:00 +00:00
Bonian Chen
56e5d50ca7
Merge "[Settings] enhancing data saver config control" into tm-qpr-dev am: 106fd86520
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20419511
Change-Id: I5338c24812346b79068b1fee0c5ba98ff07eec33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-11 10:23:48 +00:00
Bonian Chen
86e2948eb6
Merge "[Settings] Hide data usage when SIM support is turn OFF" into tm-qpr-dev am: a6824c9b34
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20419510
Change-Id: Ie433daffbe56a1a526880c2e254a13ff17aaa3c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-11 10:23:44 +00:00
Bonian Chen
30ce9a78ee
Merge "[Settings] Improve PremiumSMS's auto test" into tm-qpr-dev
2022-11-11 09:35:42 +00:00
Bonian Chen
106fd86520
Merge "[Settings] enhancing data saver config control" into tm-qpr-dev
2022-11-11 09:35:21 +00:00
Bonian Chen
a6824c9b34
Merge "[Settings] Hide data usage when SIM support is turn OFF" into tm-qpr-dev
2022-11-11 09:35:21 +00:00
TreeHugger Robot
5835580fa2
Merge "[Settings] Remove the unexisted subinfo from map"
2022-11-11 09:25:32 +00:00
Ankita Vyas
64191fe9b1
Merge "AppClone: Add new tab only if any user handle has the property set."
2022-11-11 07:17:49 +00:00
Bonian Chen
c14244786c
Merge "[Settings] Adjust the wording on eSIM switch button"
2022-11-11 07:16:50 +00:00
Ankita Vyas
094d858cd1
Merge "AppClone: Add preference to display new page Cloned Apps"
2022-11-11 07:01:04 +00:00
tom hsu
8bd5e2a52f
[Panlingual] Improve performance of displaying app list in Settings.
...
- Use existed ApplicationInfo to get needed info.
- Add unittest to AppLocaleUtil.java
Bug: b/238054165
Bug: b/231904717
Test: Maunal test passed
Test: atest passed
Change-Id: I23f354c366b45d4b684184b3366aeab913bcd3c8
2022-11-11 14:25:19 +08:00
TreeHugger Robot
a1a226a637
[automerger skipped] Merge "Shorten the search box hint for two-pane layout" into tm-qpr-dev am: 0b0e75d726 am: 19bc5093dd -s ours
...
am skip reason: Merged-In I76a1fa0f8c38e5438f2b01a1b6d83cae3968502c with SHA-1 3aec52141d is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20441365
Change-Id: I604d8973c889616d6ce60bad158bf33a2d1d2338
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-11 04:12:58 +00:00
TreeHugger Robot
98217d9ce0
[automerger skipped] Merge "Fix app battery usage list launch incorrect works app" into tm-qpr-dev am: b0503be6fd am: 7578a43c94 -s ours
...
am skip reason: Merged-In Id06ebb0f0fcd863e423acd7839f89bc0ae2444c1 with SHA-1 eda172ce2c is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20336174
Change-Id: Ie57e093983489dd0258525ff0f2c4f470f94a964
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-11 04:12:35 +00:00
TreeHugger Robot
19bc5093dd
Merge "Shorten the search box hint for two-pane layout" into tm-qpr-dev am: 0b0e75d726
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20441365
Change-Id: Ib4ea24d56abf44dc50d94852efc4a6d2cc3e1de5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-11 03:42:13 +00:00
TreeHugger Robot
7578a43c94
Merge "Fix app battery usage list launch incorrect works app" into tm-qpr-dev am: b0503be6fd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20336174
Change-Id: I9a92a7de4f517330604673ce97bb1a626f824626
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-11 03:41:29 +00:00
Zaiyue Xue
62a13f73a3
Merge "Update the preference controller in search index for battery usage."
2022-11-11 03:37:10 +00:00
TreeHugger Robot
0b0e75d726
Merge "Shorten the search box hint for two-pane layout" into tm-qpr-dev
2022-11-11 03:30:50 +00:00
TreeHugger Robot
b0503be6fd
Merge "Fix app battery usage list launch incorrect works app" into tm-qpr-dev
2022-11-11 03:10:06 +00:00
Adam Bookatz
81e5f3730c
Introduce concept of DockUser
...
Dreams and docking often refers to "user zero" or "system user".
But more generally, the special user for dreams or switching-to-on-docking
need not be user 0, and in fact won't be in certain modes. So this needs updating.
Test: the files mentioned in the topic
Bug: 257333623
Change-Id: If068aa79a770bed4abf3f7ca1859a95cd1eb4ecd
2022-11-10 16:14:22 -08:00
Joshua McCloskey
566a7a3031
Centered fingerprint icon
...
Test: Verified icon was centered in the fingerprint enrollment finish
page.
Fixes: 258604191
Change-Id: I33f19731921ef39829a6bbbaa1d1b097b95d64d4
2022-11-11 00:03:34 +00:00
Zoey Chen
e2e753e2fc
[Settings] Remove the unexisted subinfo from map
...
Bug: 258250247
Test: manual
Change-Id: Ied5be71d6ccb251750cf9026f672aeaede860f35
2022-11-10 20:24:53 +00:00
Florian Mayer
862e9b3040
Merge "Add MTE Settings."
2022-11-10 18:02:51 +00:00
Jason Chiu
13ce1b48d8
Shorten the search box hint for two-pane layout
...
Change from "Search settings" to "Search".
Fix: 248006011
Test: visual
Change-Id: I76a1fa0f8c38e5438f2b01a1b6d83cae3968502c
Merged-In: I76a1fa0f8c38e5438f2b01a1b6d83cae3968502c
(cherry picked from commit 3aec52141d )
2022-11-10 17:52:56 +00:00
Bonian Chen
d2db0fce29
[Settings] Adjust the wording on eSIM switch button
...
To better reflect the action of that button.
Bug: 258668998
Test: local
Change-Id: I6a227e9f9a597d84e3aa5aec425564533fdf8763
2022-11-10 16:13:35 +00:00
Jason Hsu
98f5f21031
Merge "Fix TalkBack shortcut keeps showing enabled when entering into that page."
2022-11-10 15:34:28 +00:00
Bonian Chen
b4511365cb
[Settings] Improve PremiumSMS's auto test
...
Fix PremiumSMS's test case when config_show_premium_sms is false.
Bug: 240515161
Test: test cases and local testing
Change-Id: I3f1710bcf2c123553af7646c030bfe87f569324a
2022-11-10 15:11:36 +00:00
Bonian Chen
dae659e358
[Settings] Improve PremiumSMS's auto test
...
Fix PremiumSMS's test case when config_show_premium_sms is false.
Bug: 240515161
Test: test cases and local testing
Change-Id: I3f1710bcf2c123553af7646c030bfe87f569324a
2022-11-10 13:18:12 +00:00
jasonwshsu
ce487188a0
Fix TalkBack shortcut keeps showing enabled when entering into that page.
...
Root Cause: TextUtils.isEmpty() will return true both null and empty case, and write config key into it.
Solution: Write config key only if settings key is null. That means no one (developers or users) touch the key ever, so we should respect config key here.
Bug: 255912415
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ToggleFeaturePreferenceFragmentTest
Change-Id: I092975ea3de8fce78b7ae2a6241a30f6af8125a6
2022-11-10 12:21:04 +00:00
Kuan Wang
6e23499e98
Remove the timestamps of last day for battery level chart if last day has less than 2 hours data. am: 57cb76428e am: 28bdf84b5a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20309948
Change-Id: I748c1247a96b3d4ae9160d76c768e2db7af2611a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-10 11:46:43 +00:00
Bonian Chen
2a6792540b
[Settings] enhancing data saver config control
...
Enhancing the control of R.bool.config_show_data_saver when false, which including:
1. Initial presentation is invisible
2. Leaving UI when triggered
3. Avoid from getting searched
4. Robolectric test case support
Bug: 243877672
Test: test cases and local testing
Merged-In: I909522c0244ebb012a27d6aff34120a4f90128c6
Change-Id: I909522c0244ebb012a27d6aff34120a4f90128c6
2022-11-10 11:23:20 +00:00
Bonian Chen
5a264f69f4
Merge "[Settings] Hide data usage when SIM support is turn OFF"
2022-11-10 11:21:20 +00:00
Bonian Chen
f11cd3d275
Merge "[Settings] enhancing data saver config control"
2022-11-10 11:21:20 +00:00
Kuan Wang
28bdf84b5a
Remove the timestamps of last day for battery level chart if last day has less than 2 hours data. am: 57cb76428e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20309948
Change-Id: Ifd9c932a870117e278c59af45c6a57132831de5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-10 11:14:37 +00:00
YK Hung
2cdc7409b5
Merge "Verify and reset invalid scheduled battery level in the booting stage"
2022-11-10 10:23:04 +00:00
“Ankita
d3ea0f098e
AppClone: Add new tab only if any user handle has the property set.
...
This will ensure that a new tab is not created for clone profile. The
existing behavior of creating work tab when managed profile is present
on device remains as-is.
Bug: 248204976
Test: manual (verfied with primary, clone and managed profile present on
device at the same time)
Test: make RunSettingsRoboTests -j
Change-Id: I116a0de69c51e90aa59fdb47e904c567e5d62102
2022-11-10 10:05:44 +00:00
Zaiyue Xue
f3f4eca6e8
[automerger skipped] Merge "Fix b/257404630 Inconsistent strings in battery chart" into tm-qpr-dev am: aee2d55bfa am: 240ff56875 -s ours
...
am skip reason: Merged-In Ib316e9fecac60f388e2b1810de9a65c540c52358 with SHA-1 1cf801e793 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20410009
Change-Id: I0c683c4b8b25a938bbec9dd6ebc3d9cdc93ed5d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-10 10:03:36 +00:00
Zaiyue Xue
240ff56875
Merge "Fix b/257404630 Inconsistent strings in battery chart" into tm-qpr-dev am: aee2d55bfa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20410009
Change-Id: I89a8e622134524f701e440a9bd3e2cf0c84fae8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-10 09:33:08 +00:00
Kuan Wang
57cb76428e
Remove the timestamps of last day for battery level chart if last day has less than 2 hours data.
...
Test: make RunSettingsRoboTests
Bug: 256525782
Change-Id: I3f735f8f3ec10b2952b93111f0243e44117ff58a
2022-11-10 08:56:39 +00:00
Zaiyue Xue
aee2d55bfa
Merge "Fix b/257404630 Inconsistent strings in battery chart" into tm-qpr-dev
2022-11-10 08:52:42 +00:00
ykhung
4c0de2685a
Verify and reset invalid scheduled battery level in the booting stage
...
The minimum scheduled battery level is changed from 5% to 10% in T, if
users upgrade the device from S to T with invalid level value in
the Settings.Global, we have to force reset it into the new minimum
battery level value.
Bug: 258243197
Test: make RunSettingsRoboTests
Change-Id: I89003120aaebcff78d4bf3f7ae8b54e97adae3c8
2022-11-10 16:38:18 +08:00
Wilson Wu
632fd43924
Fix show/hide virtual keyboard delay
...
The default observer delay is 10s for background
service. When a device connected to a hardware
keyboard, the delay makes soft keyboard visibility
is unsync after user switch the configuration.
Notify the SHOW_IME_WITH_HARD_KEYBOARD change
without delay.
Bug: 240210005
Test: Manual with bug steps
Change-Id: I7f8cb0df514fdea4ed0e092cd4466931ec200969
2022-11-10 15:16:33 +08:00
“Ankita
a6ff897cf3
AppClone: Add preference to display new page Cloned Apps
...
Also adds a faeture flag and controller class for this page.
UX path: Apps > Cloned Apps
Bug: 249916503
Bug: 248235441
Test: manual
Test: make RunSettingsRoboTests -j30 ROBOTEST_FILTER=AppsPreferenceControllerTest
Test: make RunSettingsRoboTests -j30 ROBOTEST_FILTER=ClonedAppsPreferenceControllerTest
Change-Id: I2f68f4365ce08481c7db7bfdda4fdffc369321a9
2022-11-10 06:52:44 +00:00
Zaiyue Xue
c9d85ff63d
Update the preference controller in search index for battery usage.
...
BatteryAppListPreferenceController is totally replaced by
BatteryChartPreferenceController now. Update the search index returns.
Bug: 256123455
Test: manual
Change-Id: I2340f1be0cee74771aab293a5df8551325c014be
2022-11-10 13:53:35 +08:00
Florian Mayer
ce1749310b
Add intent to open MemtagPage
...
Test: adb shell am start -a android.settings.MEMTAG_SETTINGS
Bug: 258070068
Change-Id: I8c9df2eb98edee0345323bc160457d7a91a3fd99
2022-11-09 18:21:45 -08:00
Florian Mayer
5696dde950
Add MTE Settings.
...
MTE is a technology to help prevent exploitation of some security bugs.
We want to offer users that want to trade off a slight reduction in
performance for higher security the option to do so from the settings
menu.
Test: make RunSettingsRoboTests
check UI manually
Bug: 245624194
Change-Id: Ifbb76e124142ae843ce90bd604ae8417d65fcc7b
2022-11-09 18:21:42 -08:00
Shen Lin
e8a0ba688b
Fix potential crash in AppAllServicesPreferenceController
...
This CL contains two fixes:
- Fix potentialcrash when calling getAvailabilityStatus, we should use
the latest packageName to decide.
- Add test class
Bug: 258270151
Test: atest
Change-Id: I3e6aa7e0773a73d2e3dfa996e42087f3ec80627b
2022-11-10 10:18:14 +08:00