Commit Graph

138262 Commits

Author SHA1 Message Date
Hyundo Moon
b571a9768f Fix failing BluetoothPermissionActivityTest
Bug: 314052293
Test: atest SettingsRoboTests:com.android.settings.bluetooth.BluetoothPermissionActivityTest
Change-Id: Ic62fa4f21a49f865ff713fcf4dea635179441a99
2023-12-04 12:37:18 +09:00
Chaohui Wang
de3fe3744f Refresh the App Info Settings
When apk upgraded or downgraded.

And only close the page when the package is fully removed.

Bug: 314562958
Test: manual - on App Info Settings
Test: unit test
Change-Id: Ifdff714da99e31f9c5f237a0c3342de7a0797ec4
2023-12-04 01:43:11 +00:00
SongFerng Wang
0a32ca2bbc Allow l10n to translate it for the fr-CA
Bug: 280221906
Change-Id: I087403a5b305771ddbc96f66c5879f30366e54f4
Test: build pass
2023-12-03 02:51:03 +00:00
Wa Gao
7954bb5ba7 Merge "Add dialog for top switch on fully managed devices." into main 2023-12-02 02:03:55 +00:00
Wa Gao
b14867f6ac Add dialog for top switch on fully managed devices.
Bug: 311233745
Change-Id: Id4043675041d1cf9c0ed307f3a0c2dc65768641b
2023-12-02 00:42:33 +00:00
Manish Singh
9ee5f6edc9 Make the order of tabs same as profile creation
Currently the order is hardcoded to be Primary, Work, Private.
But SettingsLib in frameworks uses the order returned by UserManager's
getProfiles API. This causes inconsistency across various Settings
pages.

Changing the order to be the one returned by UserManager.

Bug: 304366476
Test: manual
Test: atest ProfileSelectFragmentTest
Change-Id: I9953f211bfbeab129aa6b7c7ec0fe294e91dda26
2023-12-01 22:37:37 +00:00
Jakob Schneider
b423e6b5b5 Fix opening the Settings page from the launcher.
Bug: 309107861
Test: Tested the bugfix manually
Change-Id: I40e05d0b6fc22a432895490bc51531a0eb3190ac
2023-12-01 11:48:45 +00:00
Chaohui Wang
a898cc0c20 Merge "Only show DeveloperOptionsController for admin" into main 2023-12-01 09:34:30 +00:00
Yiyi Shen
fa4a0cacff Merge "[Audiosharing] Add feature gates as utils." into main 2023-12-01 08:24:42 +00:00
Jacky Wang
8fc2b3429e Merge "Re-enable nullaway plugin" into main 2023-12-01 08:22:21 +00:00
Chaohui Wang
8295743fe1 Only show DeveloperOptionsController for admin
Bug: 311604902
Test: manual - on System page
Test: unit test
Change-Id: Idbf40be4e0074f5d381724538c226a336c2c3b27
2023-12-01 15:30:27 +08:00
Treehugger Robot
dbaf12441f Merge "Make the peak refresh rate with rounding" into main 2023-12-01 03:35:25 +00:00
Chaohui Wang
6e1d9fb00a Merge "Add back HIGHLIGHT_MENU_KEY for DevelopmentSettings" into main 2023-12-01 03:18:05 +00:00
Vlad Popa
f782872cfd Disable the Bt categorization list when audio type is known
The audio framework can deduce the type with the help of the
BluetoothDevice metadata API. In case this is known we will grey out the
list with the manual selection of the audio device type.

Test: adb shell device_config put media_audio android.media.audio.automatic_bt_device_type true
Test: atest BluetoothDetailsAudioDeviceTypeControllerTest
Bug: 302323921
Change-Id: Ia2cab27f2dce5493aa4326333699b5908d8a09ee
2023-11-30 18:08:01 -08:00
Anna Zhuravleva
4ec18698b0 Merge "Log events during PS setup flow." into main 2023-11-30 21:47:34 +00:00
Manish Singh
71e27963f7 Merge "Check purely for the presence of a managed profile" into main 2023-11-30 20:51:06 +00:00
Roshan Pius
8962b00ac4 [automerger skipped] Merge "settings: Remove @hide NFC API usage" into main am: 75a49e0abb am: e234fe3281 -s ours am: c5d1832610 -s ours
am skip reason: Merged-In I6f87ad7ae03c67aaa2ddb0ac2529debc53278ba8 with SHA-1 0d11f492f7 is already in history

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

Change-Id: Ia6a89ae2ce3c26529c32c90630b86159384fd4b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 19:20:58 +00:00
Roshan Pius
cc19e96523 [automerger skipped] Merge "settings: Remove @hide NFC API usage" into main am: 75a49e0abb am: da05498175 am: ac2f252ec8 -s ours
am skip reason: Merged-In I6f87ad7ae03c67aaa2ddb0ac2529debc53278ba8 with SHA-1 f04ee0dfab is already in history

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

Change-Id: Iec269774eb4abc7c3595e2a9aa3417399cbedf4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 19:20:26 +00:00
Bill Yi
2f4ff23d05 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5c3d71154e -s ours am: a9007d74d2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ifc4e26323f212117824150b82d86bd2a6bd5cc50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 19:16:06 +00:00
Roshan Pius
c5d1832610 [automerger skipped] Merge "settings: Remove @hide NFC API usage" into main am: 75a49e0abb am: e234fe3281 -s ours
am skip reason: Merged-In I6f87ad7ae03c67aaa2ddb0ac2529debc53278ba8 with SHA-1 0d11f492f7 is already in history

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

Change-Id: I5b74c83ddceb3367f619c761734ccf7a576be9b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 19:02:06 +00:00
Roshan Pius
ac2f252ec8 Merge "settings: Remove @hide NFC API usage" into main am: 75a49e0abb am: da05498175
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2851159

Change-Id: Iadfb1f67802dbec8ff68271d7199ca83edd3b9bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 19:00:17 +00:00
Bill Yi
a9007d74d2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5c3d71154e -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib3fd125d577e54a26b1486a19517d5522250e960
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 18:45:03 +00:00
Bill Yi
9b28d7f3b6 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a9f7c582b2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3fb55f25937613244cdd3b5090b1eb517ddb4c7c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 18:43:22 +00:00
Roshan Pius
e234fe3281 Merge "settings: Remove @hide NFC API usage" into main am: 75a49e0abb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2851159

Change-Id: I8d1c96e7232958e40885dfcf7ff58ce38340e410
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 18:31:30 +00:00
Roshan Pius
da05498175 Merge "settings: Remove @hide NFC API usage" into main am: 75a49e0abb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2851159

Change-Id: Ic089b941505ff82eca32e9d82f9648909b30c267
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 18:31:27 +00:00
Bill Yi
dc4d9f62c7 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-30 17:46:32 +00:00
Bill Yi
4d3d2f5592 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-11-30 17:46:32 +00:00
Roshan Pius
75a49e0abb Merge "settings: Remove @hide NFC API usage" into main 2023-11-30 17:29:37 +00:00
Chris Antol
ae9e09eae3 Merge "MainlineModuleVersionPreferenceControllerTest to access intent directly" into main 2023-11-30 17:11:07 +00:00
Jacky Wang
b4598567fc Re-enable nullaway plugin
Bug: 307330031
Test: make Settings RUN_ERROR_PRONE=true
Change-Id: I6445b588f11bc01e6d885f73ffa35329b5db2ab2
2023-11-30 21:36:24 +08:00
Peter Lin
f59044d827 Make the peak refresh rate with rounding
To ensure accurate comparison of peak refresh rates, it is essential
to consider the peak refresh rate after rounding. This eliminates the
risk of unexpected triggers that could activate the Smooth Display
settings UI.

Bug: 312121651
Test: check the settings with Smooth Display
Change-Id: I4cd68efbcf4fdb9d4664c96332901661a23f4f09
2023-11-30 13:16:08 +00:00
Chaohui Wang
d5d53c1c05 Add back HIGHLIGHT_MENU_KEY for DevelopmentSettings
Use to highlight the "System" of the left activity on the tablet.

Can be tested with,
adb shell am start -a android.settings.APPLICATION_DEVELOPMENT_SETTINGS

Bug: 311604902
Test: manual - tested with adb
Change-Id: If9eea47f3bd6d2ab7bbce0a10c56d1cd14784140
2023-11-30 20:45:12 +08:00
Tetiana Meronyk
094dfcc5d8 Merge "Fix tests in TimeoutToDockUserPreferenceControllerTest" into main 2023-11-30 11:51:26 +00:00
Haijie Hong
952d9f6514 Add flag to offload bluetooth callback/operations to background thread
BUG: 305636727
Test: m Settings
Change-Id: Iafb90965af6508300679fa16e8fb25d7c3098bcf
2023-11-30 11:05:39 +00:00
Nino Jagar
324b19d332 Merge "Fix wrapping when zoom or large font is used" into main 2023-11-30 07:26:39 +00:00
Shaowei Shen
9f03501179 Merge "[PK Setting] update searchable if page is not visible" into main 2023-11-30 07:17:47 +00:00
Chaohui Wang
a7b3ac7384 Merge "Clean up AllInOneTetherSettings" into main 2023-11-30 06:31:14 +00:00
Derek Jedral
db72f4ea5f Merge "Update strings for Watch Unlock" into main 2023-11-30 05:23:33 +00:00
Treehugger Robot
50ffdb4a9e Merge "Fix BluetoothLeAudioDeviceDetailsPreferenceControllerTest faliure" into main 2023-11-30 04:58:18 +00:00
Chaohui Wang
0664d3cc45 Clean up AllInOneTetherSettings
This project is not on-going.

Clean up to help improve latency.

Bug: 311604902
Test: manual - on Network & internet page
Test: robo test
Change-Id: I6addb92e5587206661d1b64bdc56473a85ba9c9f
2023-11-30 12:27:33 +08:00
MiltonWu
07361691cd Refine UdfpsEnrollCalibration
Remove most implementation from Settings

Test: FingerprintEnrollIntroductionTest FingerprintEnrollFindSensorTest
Bug: 301226085
Change-Id: Ib3438c740919f38f3d2f86d508fcd20bef522023
2023-11-30 03:29:57 +00:00
Bill Yi
f3a433b23d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0426984c003746e2c0346332f349c082e66b224c
2023-11-29 18:33:38 -08:00
Bill Yi
5c3d71154e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iad5b125cb9a7b90beda38d098f5853c2868f5227
2023-11-29 18:31:38 -08:00
Bill Yi
1cbdbad8b7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I064bf3fbe6ae14b998f334e767b5a43772a2e379
2023-11-29 18:29:53 -08:00
Bill Yi
a9f7c582b2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I60219970454fc6a5a459de4da202b63722720cf5
2023-11-29 18:26:23 -08:00
Roshan Pius
0d11f492f7 settings: Remove @hide NFC API usage
These @hide usages in other parts of platform need to be cleaned
up to unbundle NFC mainline module.

Flag: None (The NFC flag - `enableNfcMainline` has been promoted to trunkfood. Note these APIs are available as @hide even if not available in formal SDK until V)
Bug: 307352220
Test: Compiles

Merged-In: I6f87ad7ae03c67aaa2ddb0ac2529debc53278ba8
Change-Id: I6f87ad7ae03c67aaa2ddb0ac2529debc53278ba8
2023-11-29 22:22:16 +00:00
Roshan Pius
f04ee0dfab settings: Remove @hide NFC API usage
These @hide usages in other parts of platform need to be cleaned
up to unbundle NFC mainline module.

Flag: None (The NFC flag - `enableNfcMainline` has been promoted to trunkfood. Note these APIs are available as @hide even if not available in formal SDK until V)
Bug: 307352220
Test: Compiles

Change-Id: I6f87ad7ae03c67aaa2ddb0ac2529debc53278ba8
2023-11-29 21:24:28 +00:00
Joshua McCloskey
592e1f6164 Fix BiometricProvider test
Test: atest BiometricSettingsProviderTest
Fixes: 313342682
Change-Id: If9109e5b822f1b41972305913d6a0b56704d2ed7
2023-11-29 20:02:34 +00:00
Alice Kuo
18e16b1a6a Fix BluetoothLeAudioDeviceDetailsPreferenceControllerTest faliure
Two failure case need to run under classic connection by default
situation. Add the precondition for those test case. Remove the ignore
to reland those test case.

Bug: 313589946
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioDeviceDetailsPreferenceControllerTest
Change-Id: If2c9cd590151be043be52e0793d073be83cd0c21
2023-11-30 01:55:57 +08:00
Anna Zhuravleva
b1fdd55707 Log events during PS setup flow.
Log pages and user clicks during private
space setup flow.

Bug: 313170618
Test: statd_testdrive 97, output: https://paste.googleplex.com/4874404496932864
Change-Id: I1f59e9720ee4bdd21670b86a4f1f0f98a91fa0db
2023-11-29 15:39:10 +00:00