Massimo Carli
8a7228ac82
Merge "Add user aspect ratio detail destination to settings" into udc-qpr-dev
2023-09-21 16:05:00 +00:00
Zaiyue Xue
764337bd80
Fix JAVA_CRASH NullPointerException in BatteryUsageDataLoader.
...
Bug: 301362376
Fix: 301362376
Test: manual
Change-Id: I75060fc3d1989522f58cae593b1c1f4063dbd6e5
2023-09-21 19:34:09 +08:00
Massimo Carli
1dc175123a
Add user aspect ratio detail destination to settings
...
When an intent with action android.settings.MANAGE_USER_ASPECT_RATIO_SETTINGS
and data with scheme "package:" is launched, the UserAspectRatioDetails
is shown in settings
Fix: 296564769
Test: Manual
Change-Id: I3667ece595ad76c694342de934051893e1e0a1d3
2023-09-21 10:42:56 +00:00
Chaohui Wang
8c5bd75560
Use BillingCycleRepository in DataUsageList
...
Unify the enable logic for the "Data warning & limit" page.
Bug: 290856342
Test: manual - on DataUsageList
Test: m RunSettingsRoboTests
Change-Id: I3014461ef21768b5d0eb6d91873a4ba52d20f6bf
2023-09-21 18:27:52 +08:00
Shivangi Dubey
d8d74b29c6
Merge "Add illustrations to fold lock setting" into main
2023-09-21 10:05:11 +00:00
Graciela Putri
e6743f5676
Merge "Change title to aspect ratio (experimental)" into main
2023-09-21 09:37:06 +00:00
Charlotte Lu
f27c23fa79
SettingsExposedDropdownMenuCheckBox requires input index.
...
Fix: 301354014
Test: Unit Test
Change-Id: I4f5ef9a3cfcd0705687232b5e67da8007bf97aed
2023-09-21 14:25:50 +08:00
Chaohui Wang
c39acee194
Clean up NetworkServices from setTemplate
...
Not used any more.
Bug: 290856342
Test: manual - on mobile settings
Test: m RunSettingsRoboTests
Test: unit test
Change-Id: I9c8dde2a8812e83e535d15713ccbf25b42f1f303
2023-09-21 12:57:51 +08:00
Chaohui Wang
ba1ec910ac
New BillingCycleRepository
...
Migrate BillingCyclePreference to BillingCycleRepository first, will
also migrate DataUsageList in future cl.
Also fix an issue that the BillingCyclePreference initial enable state
not set.
Bug: 290856342
Test: manual - on mobile settings
Test: unit test
Change-Id: Idd171fefbc30763010afb7bfb68543612f7b9b1a
2023-09-21 12:57:51 +08:00
Yiyi Shen
2b21582fd3
Merge "Quick fix: fix bug when using binary search," into main
2023-09-21 01:41:26 +00:00
Graciela Wissen Putri
bbb58cac69
Change title to aspect ratio (experimental)
...
Settings > Apps > Aspect ratio (experimental)
Settings > Apps > App info > Aspect ratio (experimental)
Fix: 300219974
Test: Manual && atest SettingsSpaUnitTests
Merged-In: I359c744025232c6a6ebd9628dbf91acac85b53e9
Change-Id: I359c744025232c6a6ebd9628dbf91acac85b53e9
2023-09-20 21:57:57 +00:00
Graciela Wissen Putri
ac2bfce107
Change title to aspect ratio (experimental)
...
Settings > Apps > Aspect ratio (experimental)
Settings > Apps > App info > Aspect ratio (experimental)
Fix: 300219974
Test: Manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:83b61850f3ed511b42c148b63840b12cff3fe5aa )
Merged-In: I359c744025232c6a6ebd9628dbf91acac85b53e9
Change-Id: I359c744025232c6a6ebd9628dbf91acac85b53e9
2023-09-20 21:45:06 +00:00
Chaohui Wang
dc10483dc5
Merge "Move SystemUpdateManager.retrieveSystemUpdateInfo" into main
2023-09-20 15:39:37 +00:00
Treehugger Robot
9ab25973af
Merge "Call detect anomaly in period job only when there is new battery usage data." into udc-qpr-dev am: a72b00a968
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24800290
Change-Id: I7a24ea9b18c421a7de2d2752bfc5158e21aa324e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-20 12:16:43 +00:00
dshivangi
0f4ec2b1b7
Add illustrations to fold lock setting
...
Added illustrations to fold lock setting for all respective fold lock
setting values.
The illustrations can be found here: https://docs.google.com/presentation/d/1hSDuwaX0fqDSXO7LFmtgNcodaLftqUrgVT1cvfffp_Q/edit?resourcekey=0-ZJ0UdziPYZgD43a8I-cdIw#slide=id.g239e21e8ec8_0_0
Bug: 294194379
Test: Flash device with this change.
* Set diffrent values of fold lock setting
* Verify correct illustration is showed for respective setting value
Change-Id: I16af550b70e951d29bf5e0e2c9e8513473461528
2023-09-20 11:47:19 +00:00
Treehugger Robot
a72b00a968
Merge "Call detect anomaly in period job only when there is new battery usage data." into udc-qpr-dev
2023-09-20 11:01:27 +00:00
Yiyi Shen
9a05a180fa
Quick fix: fix bug when using binary search,
...
Bug: 296507968
Test: Manual
Change-Id: I644160cf97e4873a2cf7c88dc2ff1fd6c0c94d33
2023-09-20 18:33:55 +08:00
Treehugger Robot
c3ff29b124
Merge "Call detect anomaly in period job only when there is new battery usage data." into main
2023-09-20 09:56:12 +00:00
Zaiyue Xue
c3cf254c7d
Call detect anomaly in period job only when there is new battery usage data.
...
- Reduce the memory usage of call anomaly detection
- Remove redundant condition for low battery banner
Bug: 300446490
Bug: 284893240
Fix: 300446490
Test: presubmit
Change-Id: I11c1b41a45e129bcec57b9d18c4affe0de7f1d38
2023-09-20 17:04:31 +08:00
Zaiyue Xue
8371d08595
Call detect anomaly in period job only when there is new battery usage data.
...
- Reduce the memory usage of call anomaly detection
- Remove redundant condition for low battery banner
Bug: 300446490
Bug: 284893240
Fix: 300446490
Test: presubmit
Change-Id: I11c1b41a45e129bcec57b9d18c4affe0de7f1d38
Merged-In: I11c1b41a45e129bcec57b9d18c4affe0de7f1d38
2023-09-20 17:04:01 +08:00
Charlotte Lu
4b453bad21
Merge "Add SettingsExposedDropdownMenuBox and SwitchPreference." into main
2023-09-20 07:02:19 +00:00
Angela Wang
e0313e1abe
Merge "Hide pair other ear button after device connected via CSIP" into main
2023-09-20 05:59:08 +00:00
Charlotte Lu
b0d09d2ad2
Add SettingsExposedDropdownMenuBox and SwitchPreference.
...
Bug: 298906796
Test: Munual
Change-Id: I666c51b79589b9529b623c81c156a545af269e03
2023-09-20 12:22:19 +08:00
Becca Hughes
dce410276c
Merge "Use isPrimary bit when determining settings data change" into main
2023-09-19 22:08:30 +00:00
Becca Hughes
640b9958b3
Merge "Fix crash in settings page (enterprise)" into main
2023-09-19 16:40:01 +00:00
SongFerng Wang
176d358c32
Merge "Remove the cached display name" into udc-qpr-dev am: 26a1866b8d am: c7ea38203a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24793547
Change-Id: If9ddb12284b6e4022c18bd54095eb67b8809d985
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-19 13:17:07 +00:00
SongFerng Wang
c7ea38203a
Merge "Remove the cached display name" into udc-qpr-dev am: 26a1866b8d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24793547
Change-Id: I0c006b215c02acda9a44e717165249fbbd8f353a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-19 12:22:25 +00:00
SongFerng Wang
26a1866b8d
Merge "Remove the cached display name" into udc-qpr-dev
2023-09-19 11:41:38 +00:00
Treehugger Robot
d7d8184bb7
Merge "Use system properties for the le audio toggle ui config instead" into udc-qpr-dev am: 2d7a469264 am: b15719119e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24768698
Change-Id: I88024462c4587db39a5e6671223504a5b7938c49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-19 08:00:32 +00:00
Treehugger Robot
b15719119e
Merge "Use system properties for the le audio toggle ui config instead" into udc-qpr-dev am: 2d7a469264
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24768698
Change-Id: Ie138a425906541eb2bc8f1c08a8956636363a141
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-19 07:05:06 +00:00
Chaohui Wang
cda836fff7
Move SystemUpdateManager.retrieveSystemUpdateInfo
...
Into Kotlin Coroutine for true async.
Bug: 300851543
Test: manual - on system page
Test: unit test
Change-Id: Ibec5c9d0934d71ed1a5808cadf3b3542eb3d5fa0
2023-09-19 14:54:41 +08:00
Treehugger Robot
47a587ae36
Merge "Clean up ChartDataUsagePreference.setColors()" into main
2023-09-19 06:47:13 +00:00
Treehugger Robot
2d7a469264
Merge "Use system properties for the le audio toggle ui config instead" into udc-qpr-dev
2023-09-19 06:31:29 +00:00
SongFerngWang
d21f14a002
Remove the cached display name
...
If the display name is changed, then the Settings should remove the
cached display name.
Bug: 296157273
Test: [pass] atest SubscriptionUtilTest [pass]Build and manual test
Change-Id: I3b1297ddddf9f9051dd16523b97fc27255cf3923
2023-09-19 06:25:33 +00:00
Chaohui Wang
e5f9d27690
Merge "Add ApnData class and SettingsOutlinedTextField." into main
2023-09-19 06:24:32 +00:00
Angela Wang
7a15ecafde
Hide pair other ear button after device connected via CSIP
...
The pair other ear button should disappear after both ears of binaural
hearing aids are connected.
Remove checking if CSIP is enabled since CSIP is always enabled in
pairing stage.
Bug: 296646732
Test: check the UI manually
Change-Id: I804819eef41b5d3754ad0a79d9fc1afc66cef5cc
2023-09-19 04:49:35 +00:00
Xinyi Mao
8d91b3116b
Merge "App anomaly tips on PowerUsage App list" into udc-qpr-dev am: 821ed07099
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24677374
Change-Id: I15dad922e0942175e56370a7001ada1afe2c19b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-19 03:36:03 +00:00
Xinyi Mao
821ed07099
Merge "App anomaly tips on PowerUsage App list" into udc-qpr-dev
2023-09-19 03:10:17 +00:00
Xinyi Mao
acb47b00f4
Merge "App anomaly tips on PowerUsage App list" into main
2023-09-19 03:09:48 +00:00
Charlotte Lu
4964deb8b5
Add ApnData class and SettingsOutlinedTextField.
...
Bug: 298906796
Test: Munual
Change-Id: Iba6563fee091302989d2653c0b59b5c18accce4d
2023-09-19 11:03:00 +08:00
Guojing Yuan
dfc20ff941
[CDM Perm Sync] Fix a NPE for Perm Sync toggle am: 8c51d9c71d am: cf705cf873
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24790419
Change-Id: I10fccd7b4036a57cdb665eb22a79b600fb006898
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-18 23:17:16 +00:00
Guojing Yuan
cf705cf873
[CDM Perm Sync] Fix a NPE for Perm Sync toggle am: 8c51d9c71d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24790419
Change-Id: I8cdf0fb8b740ffd32fac9c01aa0d4dfa51904b14
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-18 22:20:37 +00:00
Becca Hughes
0335c2281a
Use isPrimary bit when determining settings data change
...
Test: ondevice
Bug: 300538357
Change-Id: Ic155835761f850358527648a0628b72aab9a2323
2023-09-18 14:00:00 -07:00
Becca Hughes
d0375beae9
Fix crash in settings page (enterprise)
...
Fixes a crash on the settings page
where the managed user fetcher
will return null.
Test: cts, atest, flash on enterprise device
Bug: 298678607
Change-Id: I8866bad92790f342a8a767b317967b5bf784d865
2023-09-18 13:32:09 -07:00
Guojing Yuan
8c51d9c71d
[CDM Perm Sync] Fix a NPE for Perm Sync toggle
...
Bug: 290063372
Test: manual test on the breaking build.
Change-Id: I1f0a5c3840a4c97962fa9986d8f67ab0f652015f
2023-09-18 18:44:10 +00:00
Behnam Heydarshahi
7549d613e6
Set a11y focus for selected Settings item
...
When a Settings preference item is selected via a settings panel or
settings search, the system takes user to its corresponding subsettings
activity. There, in the past, the selected preference was highlighted
but the a11y focus was set on the back button. This code sets the a11y
focus on the selected preference.
Bug: b/285512439
Test: atest HighlightablePreferenceGroupAdapterTest
Change-Id: I7edc697e2e3870b1822279c115230add14e82df0
2023-09-18 18:30:12 +00:00
Chaohui Wang
79f0f6e368
Clean up ChartDataUsagePreference.setColors()
...
This method is no-op.
Bug: 290856342
Test: manual - on DataUsageList
Change-Id: Ice64630bc43afe7116b797425a5ea81b2d0ad5af
2023-09-18 23:45:54 +08:00
mxyyiyi
56ba1c09d9
App anomaly tips on PowerUsage App list
...
Screenshots:
[in bg - banner] https://screenshot.googleplex.com/MzLC6LfX93TkkYf
[in bg - hints] https://screenshot.googleplex.com/9JLXNsRiVG8arAU
[in fg - banner] https://screenshot.googleplex.com/9oYbwUkeeLbQX2t
[in fg - hints] https://screenshot.googleplex.com/53DTTUCUnf8rsoE
[apps anomaly highlight hint + settings anomaly banner]
https://screenshot.googleplex.com/8NdS2VMrSzwv2DM
Bug: 291689643
Bug: 291689623
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bfd0f5859b6e5ffef4727ee562009f2050de7a58 )
Change-Id: Ic02db49cb3794ef134759d9dcec5f5ef32454a95
2023-09-18 10:41:27 +00:00
mxyyiyi
e9378d27f7
App anomaly tips on PowerUsage App list
...
Screenshots:
[in bg - banner] https://screenshot.googleplex.com/MzLC6LfX93TkkYf
[in bg - hints] https://screenshot.googleplex.com/9JLXNsRiVG8arAU
[in fg - banner] https://screenshot.googleplex.com/9oYbwUkeeLbQX2t
[in fg - hints] https://screenshot.googleplex.com/53DTTUCUnf8rsoE
[apps anomaly highlight hint + settings anomaly banner]
https://screenshot.googleplex.com/8NdS2VMrSzwv2DM
Bug: 291689643
Bug: 291689623
Bug: 284893240
Test: manual
Change-Id: Ic02db49cb3794ef134759d9dcec5f5ef32454a95
Merged-In: Ic02db49cb3794ef134759d9dcec5f5ef32454a95
Merged-In: I7015cdf5a96d518febb160934d780ae84fe14427
2023-09-18 18:28:20 +08:00
Sudheer Shanka
abbb5c4dc3
Add controls in dev options to quarantine apps.
...
Bug: 297934650
Test: m -j RunSettingsRoboTests
Test: atest SettingsUnitTests
Change-Id: Ic0f35b370c04dd4ed3baaf3610b46ff1b37a0463
2023-09-18 07:27:37 +00:00