Commit Graph

119556 Commits

Author SHA1 Message Date
Bonian Chen
7d920ca2a0 Merge "Revert "[Settings] Ignore some failure test cases"" 2022-12-23 06:47:54 +00:00
Wesley Wang
cf5ef77340 Merge "Refactor battery saver schedule method" 2022-12-23 06:16:17 +00:00
Zoey Chen
88972a7fa5 [Settings] get wrong toggle when handle the WFC changed am: aee115ee3b am: d6bf9262b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20806352

Change-Id: If4ff3e6d5e7ef2b0a1f70a6aacb08a37433357fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-23 06:09:45 +00:00
Zoey Chen
d6bf9262b5 [Settings] get wrong toggle when handle the WFC changed am: aee115ee3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20806352

Change-Id: Icf924f45689bfa0906661be1bfee032520cafab8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-23 05:11:39 +00:00
Peter Liang
8f1d5a1469 Fix that the preview should keep the same layer when switching the screen on/off.
Action:
Move the restore state action to the previous cycle.

Bug: 259213786
Test: manual test
Change-Id: Iff49d3774824e7cfe3912a4d18fd535083cf923a
2022-12-23 12:09:00 +08:00
Peter Liang
f78ddfad56 Fix overlapping icons on display size page.
Action:
Update the correct state over cache value.

Bug: 258268965
Test: manual test
Change-Id: I5ce4b847a2d8229ab2f9188cab369a43b55afbe0
2022-12-23 11:22:00 +08:00
XingHai Lu
7f919a3c1b Merge "Cleanup some plurals in Settings Change <one> to <1> in string res file, and update related java files. Test: Update, existing test still pass. bug: 199230342" 2022-12-23 02:34:31 +00:00
Bill Yi
33f9bd645a Import translations. DO NOT MERGE ANYWHERE
BUG:244160868

Auto-generated-cl: translation import
Change-Id: Ie8a089ca55dc82ff5127494172646a2f6f249610
2022-12-22 19:31:04 +00:00
Bonian Chen
5e9e92b10a Merge "[Settings] Extend the capacity of title text" 2022-12-22 16:04:22 +00:00
Vaibhav Devmurari
327260b3c2 Merge "Change keyboard layout parameters to include Layout type." 2022-12-22 15:58:11 +00:00
Weng Su
f077b83586 Refine TetherSettings
- Move TetherSettings to network/tether folder

- Refine unit tests

Bug: 237273138
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=TetherSettingsTest

Change-Id: I1eb79780df824c575e79047bdeb3a9276f061fe9
2022-12-22 23:04:59 +08:00
Bonian Chen
1dd47d5c1d Revert "[Settings] Ignore some failure test cases"
This reverts commit c9db203edd.

Reason for revert: Try to see how many test cases can be passed.

Change-Id: I6499c6499d4f30718d18ca03e02cf1f5e4b7918e
2022-12-22 14:45:11 +00:00
Chaohui Wang
366649ed1c Merge "Set setModeByUid to align with current behavior" 2022-12-22 14:14:17 +00:00
Bonian Chen
07ea595cc9 [Settings] Extend the capacity of title text
Requested by localization team.

Bug: 259611847
Test: local

Change-Id: I4f9067de6de29dd029e7321bf4a5cb107d10eb78
2022-12-22 13:38:23 +00:00
Wesley Wang
934700b559 Refactor battery saver schedule method
- Move schedule method and definition into BatterySaverUtils and reuse
   them from utils

Bug: 260302999
Test: make SettingsRoboTests
Change-Id: I402c57629d1a6f3317f0a7c14529508ce81f999c
2022-12-22 11:45:09 +00:00
Zoey Chen
aee115ee3b [Settings] get wrong toggle when handle the WFC changed
WFC toggle's state(EXTRA_TOGGLE_STATE) is set to the newValue after each notifyChange.
However, WFC slice gets the same newValue from EXTRA_TOGGLE_STATE when users change the toggle state
before the EXTRA_TOGGLE_STATE is updated.

Need to get the "correct" new value to set the WFC

Follow the original logic(ag/3820815), 1. don't turn on WFC and only can turn off WFC  if activationApp is not null. 2. turn on/off if  no activationApp.

Bug: 261922170
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingSliceHelperTest
Change-Id: I823f00029c24f1901f40757ba13e7c0f90d6c0bc
2022-12-22 11:13:54 +00:00
Bonian Chen
d308b891fa Merge "[Settings] Present EID in About phone page" 2022-12-22 11:04:31 +00:00
xinghailu
897fd74731 Cleanup some plurals in Settings
Change <one> to <1> in string res file, and update related java files.
Test: Update, existing test still pass.
bug: 199230342

Change-Id: Idd0ba3c6adc060da21574d98f8ed765fae00cef8
2022-12-22 16:05:13 +08:00
Daniel Huang
b603ff7b19 Merge "Implement modifier keys settings UI." 2022-12-22 05:50:40 +00:00
PETER LIANG
6f1639c935 Merge "Fix when adjusting the display size, the font size flashes." 2022-12-22 05:11:11 +00:00
Sandeep Jawalkar
0a1d5710f0 Merge "[Android U][eSIM] Modify esim and sim card strings as part of esim primary" am: 749c2dddbc am: aa0205daf9 am: 3279e1a211
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2361542

Change-Id: I2b3d05a4332f98892154ae7f6d6d1fd59737a4c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-22 05:02:38 +00:00
Sandeep Jawalkar
3279e1a211 Merge "[Android U][eSIM] Modify esim and sim card strings as part of esim primary" am: 749c2dddbc am: aa0205daf9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2361542

Change-Id: I663ea43a6e1e06b456a5a024bc7773e10cd03a68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-22 04:26:13 +00:00
Edgar Wang
4607306c68 Remove unused logic
BUG: 263198464
Test: rebuild
Change-Id: Ib759b8bb964b21408764fe0505cf1cd46b7d5812
2022-12-22 12:03:03 +08:00
Sandeep Jawalkar
aa0205daf9 Merge "[Android U][eSIM] Modify esim and sim card strings as part of esim primary" am: 749c2dddbc
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2361542

Change-Id: I8fc86403f5dc64beec53d6c93d09f8c0dd3a2f7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-22 03:52:50 +00:00
Sandeep Jawalkar
749c2dddbc Merge "[Android U][eSIM] Modify esim and sim card strings as part of esim primary" 2022-12-22 03:15:34 +00:00
Zaiyue Xue
daeafc8fc6 [Battery usage U] Remove 'Phone Idle' to avoid confusion
Bug: 252938706
Fix: 252938706
Test: manual
Change-Id: I0ad973718f77640839dbdf4ac5ca4241f01bdb79
2022-12-22 08:36:59 +08:00
Bonian Chen
dda58d5255 [Settings] Present EID in About phone page
Present EID within about phone page.

Bug: 260540995
Test: local

Change-Id: If5f512c1da6b4b3b1adc1d13dbe11226b7ecad41
2022-12-21 17:39:28 +00:00
TreeHugger Robot
cf9fd9941d Merge changes from topic "credManSettings"
* changes:
  Calling isServiceEnabled with the context in credential manager settings
  Revert "Revert "Add Credential Manager settings""
2022-12-21 17:32:05 +00:00
Tetiana Meronyk
e257606508 Merge "Add UI for multiple admins on Headless" 2022-12-21 17:00:48 +00:00
David Gutierrez
3595b025bc Merge "Automatic timezone support on non-telephony devices" 2022-12-21 16:40:19 +00:00
David Gutierrez
9ebb2fce7a Automatic timezone support on non-telephony devices
Adding to the Settings UI in order to simplify timezone on non-telephony devices.

Test: on-device testing, additional unit tests
Change-Id: I58ece9542a7b80823092bd082d4bd8c224b29634
Bug: 253015306
2022-12-21 16:39:32 +00:00
Bill Yi
505af770a0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I436c9af829c89d4d0ca088a81ce446f6c6c840b9
2022-12-21 07:54:40 -08:00
Bill Yi
6fdf7a7606 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I53d258720653907e8ad4afe2e0c646bec891a663
2022-12-21 07:52:09 -08:00
Bill Yi
53b689bd5b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I717b191b817454a1d6fbf6388cd90d0e452f785d
2022-12-21 07:46:54 -08:00
Bill Yi
001e02b618 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icbaba8c5707a0a6c1529fa06901614e300c69a1b
2022-12-21 07:42:55 -08:00
Bill Yi
25fdb49733 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iabc7dc25bb3afb628bce68e45a2c7aee621f37f9
2022-12-21 07:37:28 -08:00
Bill Yi
73537f9258 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If3df884eb11d2ac2ec512bceb4dc04fa4d0d52d0
2022-12-21 07:35:59 -08:00
Bill Yi
d9cc6bd784 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2931d2ee4fc753012624af29773984b1e1a2b4af
2022-12-21 07:32:35 -08:00
danielwbhuang
85e0deb14d Implement modifier keys settings UI.
Add four modifier keys and one reset button.

Bug: 244535460
Test: local test
Change-Id: I45822b0d8391022c17439dc25ab86fe022e9f43f
2022-12-21 22:45:06 +08:00
Peter Liang
494f76d115 Fix when adjusting the display size, the font size flashes.
Action:
By super to access the parent function to save the highlighted state of the preference.

Bug: 250800752
Test: manual test
Change-Id: Idca9a4f31910638c19f26ff01136530d17677055
2022-12-21 21:21:13 +08:00
sandeepjs
beab3c0d43 [Android U][eSIM] Modify esim and sim card strings as part of esim primary
As part of esim primary, esim and sim card related strings are changed for AndroidSettings project with reference from https://docs.google.com/spreadsheets/d/1RPVnNvmcjd-NSvPGg1jOi0mdC-sbCHvt9HVU4glV8fs/edit#gid=1716745126

Test: build
Bug: 257380320
Change-Id: If2183945054255d52e89a61a04db25edd725a73d
2022-12-21 12:01:01 +00:00
Vania Januar
b7855ee1b4 Merge "Stylus updater in ConnectedDevicesGroupController." 2022-12-21 11:38:53 +00:00
Tetiana Meronyk
e5acef9034 Add UI for multiple admins on Headless
In a series of CLs under topic add_ui_for_hsum_admins UI and functionality for allowing multiple admins on HSUM build is added. In User settings and User switcher when creating a new user there is a new dialog prompting to choose admin status of the user to be created. In User details view there is a toggle that is visible to admin users that allows to modify admin status of existing users. This toggle is only applicable to full users that are not supervised, guests or a main device user.

Bug: 252790451
Test: croot && make RunSettingsRoboTests -j40 ROBOTEST_FILTER="com.android.settings.users.UserDetailsSettingsTest"
Change-Id: I447dc168be30aa614aeb3f8b71ad14a7223fd7c1
2022-12-21 11:02:39 +00:00
changbetty
09a6899fc2 Change the intent flag to immutable
Bug: 256590210
Test: make RunSettingsRoboTests ROBOTEST_FILTER=MediaVolumePreferenceControllerTest
Change-Id: I68132f863027fab19351b4fdbc363e5c274e3327
2022-12-21 10:16:10 +00:00
Bonian Chen
ecbb3a2933 Merge "[Settings] Code Refactor for performance" 2022-12-21 09:43:12 +00:00
Vania Januar
dc2980d220 Stylus updater in ConnectedDevicesGroupController.
This updater is responsible for listening to USI stylus
battery usage, and bluetooth stylus connection, to determine
whether to show the USI stylus preference on the Connected devices
page.

Adds an entrypoint to the StylusUsiDetailsFragment that shows
details for USI styluses.

Bug: 250909304
Test: StylusDeviceUpdaterTest
Change-Id: I6ae6b6ef880b3b3cd7430d4d35d471b14283369f
2022-12-21 09:20:07 +00:00
changbetty
3caa8ad8f0 To check the bond state when get the connection state
Bug: 251973679
Test: manual test
Change-Id: I1e637bf5accbc5706f9d8a6f557a4fe038dae66b
2022-12-21 09:17:39 +00:00
Darrell Shi
ca155fefa7 Merge changes from topic "hub-mode-settings" into tm-qpr-dev am: e722587923 am: 2287f6e2e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20736115

Change-Id: Ibf2d91b9655ae968442033234384a340ed3a8f81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-21 09:04:54 +00:00
Darrell Shi
77026a999c Change screensaver ctrlr to base pref ctrlr. am: 542644e83f am: 955a2f2ac3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20736682

Change-Id: I8e81f6d60d52ee6c78c0037bea9f736fb12a4c88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-21 09:04:49 +00:00
Darrell Shi
2287f6e2e9 Merge changes from topic "hub-mode-settings" into tm-qpr-dev am: e722587923
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20736115

Change-Id: I17bc2f1b210dd0262299cfe10c6c12f2c94cca4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-21 08:23:55 +00:00