Commit Graph

120120 Commits

Author SHA1 Message Date
Ankita Vyas
2c8e147d7d Merge "Fix gap issue between animation and app list in recycler view while scrolling." 2023-02-10 09:51:37 +00:00
jasonwshsu
68ffe47f08 Fix BluetoothPairingDetailTest fail
Bug: 237625815
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothPairingDetailTest
Change-Id: I183fea9903cad921f7fe69445579b80dea045559
2023-02-10 09:47:22 +00:00
Candice Lo
4eea038c26 Merge "Move font size related resources to SettingsLib (1/2)" into tm-qpr-dev am: b0087167e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21312036

Change-Id: Ie07b89f7f2095c42cd30e20d4a9a3031b679b26b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 09:19:51 +00:00
Nikhil Kumar
69bc7b0438 SettingsHomepageActivity: Get profile parent using UM.getProfileParent
In the headless system user mode(hsum) non-primary users can also have a profile.
The existing implementation in SettingsHomepageActivity always gets the primary user as the profile parent, refactored the implementation to get profile parent using UserManager.getProfileParent.

Get parent user id instead of primary user as profile parent

Bug: 267299459
Test: croot && make RunSettingsRoboTests -j40
ROBOTEST_FILTER=SettingsHomepageActivityTest

Change-Id: I36845eb5b1a09b0ff3d87c7d08b120c95f59783b
2023-02-10 09:15:03 +00:00
Jiaming Liu
02c3e876f4 [automerger skipped] Fix build for jetpack update am: 5a6444776a -s ours
am skip reason: Merged-In If48e7338ee560d995cb8bff7b5348ab36c457836 with SHA-1 e65283de6a is already in history

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

Change-Id: I7203de3bd88ce83567d0ec089fee9a2792c2dc01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 09:13:04 +00:00
Diego Vela
2ccb884784 [automerger skipped] Update ActivityEmbedding usage. am: 65bb5a09f4 -s ours
am skip reason: Merged-In I8e4aa8daf51cb9c669d06b152cc5a2fc69a06571 with SHA-1 a9394d1796 is already in history

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

Change-Id: I29eba2a2f5edb7653858fe140d3e8ddda81262b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 09:12:56 +00:00
Nikhil Kumar
cb5dcaee3b SettingsActivity: Get profile parent using UserManager.getProfileParent
In the headless system user mode(hsum) non-primary users can also have a profile.
The existing implementation in SettingsActivity always gets the primary user as the profile parent, refactored the implementation to get profile parent using UserManager.getProfileParent.

Test: NA
Bug: 267162079
Change-Id: I2af581a4b7e3320f9351b862b7be3ef141b744b7
2023-02-10 09:12:33 +00:00
Candice Lo
b0087167e0 Merge "Move font size related resources to SettingsLib (1/2)" into tm-qpr-dev 2023-02-10 09:12:05 +00:00
Bonian Chen
b73369e874 Merge "[Settings] User with restriction should avoid from having entries through Settings search" 2023-02-10 08:52:55 +00:00
My Name
2e552331e9 Show Bluetooth dialog in a specific case
If the application that initiate the bonding with
BluetoothDevice#createBond is in foreground, then should dialog only
instead of showing the notification & dialog

Bug: 175931562
Tag: #refactor
Test: manual
Change-Id: I3673a0b58cbf9caabf62c951b84b49e17cfb13b8
2023-02-10 08:31:34 +00:00
Ankita Vyas
e7b52fd368 Fix gap issue between animation and app list in recycler view while
scrolling.

Bug: 266539240
Test: manual
Change-Id: Ia9f40dec6f4c42f1a813d6c334aaebedab40656b
2023-02-10 08:29:34 +00:00
TreeHugger Robot
b32549c184 Merge "Fix checkcolor_hook error" 2023-02-10 08:27:48 +00:00
Lili Zou
2a445bb89e Support search for work profile settings page.
Test: manual, robotest
Bug: 254192800
Change-Id: Id8ec76557fc170fcf727da1971cd90f494c7ecd4
2023-02-10 15:51:34 +08:00
Sunny Shao
b324804074 Fix checkcolor_hook error
Bug: 265688684
Test: repo upload OK
Change-Id: Ie2be84a51985782f7fb1e6aae7bc1be668ff8f2d
2023-02-10 15:17:22 +08:00
Candice Lo
3fb6e69f88 Move font size related resources to SettingsLib (1/2)
Since creating the seekbar for changing font size in SystemUI requires
the size of the value entry array and the values in the array.
Therefore, we move the related resource to SettingsLib to share the usage.

Bug: 242326166
Test: make RunSettingsRoboTests ROBOTEST_FILTER=FontSizeDataTest
Test: Maually test the availability of changing font size through
Settings page

Change-Id: Ia2621e3b4c71f900e6591644d0e3f93bedbe4ee8
Merged-In: If630bd9c9c27823c210410b53342b921a11bbfb9
2023-02-10 06:36:50 +00:00
Candice Lo
9aabfafb4c Merge "Move entryvalues_font_size to SettingsLib (1/2)" 2023-02-10 06:33:40 +00:00
Bill Yi
2050fddfa7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I791947de566749a689f7a3e067065384ad741efc
2023-02-09 20:08:07 -08:00
Bill Yi
9bd553ab9c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2569a05c74264d46ba1f85544a8aa7d0b1541d9a
2023-02-09 20:04:29 -08:00
Bill Yi
f102cc96e0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9d4305c2e5e6a2d47faf42c6f6e35361d48b836a
2023-02-09 20:00:53 -08:00
Tom Hsu
d3ff83eb4f Merge "[Regional Preferences] Remove u extension for subtitle of Language" 2023-02-10 03:57:51 +00:00
Bill Yi
ad7140d0ae Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id15b9334653ab57a1f57c840a8bc8078a50064e7
2023-02-09 19:56:57 -08:00
Bill Yi
403cdbfb4a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I30285f53b09d005ea66ac29d8c34fd049513ef31
2023-02-09 19:54:54 -08:00
Hao Dong
54003698b1 Do not show udfps enrollment page in multi window mode.
In multi window mode, finish FingerprintEnrollEnrolling activity
and show a toast.

Test: atest FingerprintEnrollEnrollingTest
Bug: 184118847
Change-Id: I8cfa61b334c029185e1bbf46fdbf158bb493a1e0
2023-02-10 01:30:30 +00:00
Daniel Norman
56f1eb0fbf Merge "Adapt to moved ACCESSIBILITY_MENU_IN_SYSTEM location." 2023-02-09 23:05:18 +00:00
Varun Shah
f7f53973e2 Merge "Update references to the RUN_LONG_JOBS permission." 2023-02-09 21:40:35 +00:00
Florian Mayer
5b93b73df1 Add persistent MTE toggle to development options.
Bug: 245624194
Change-Id: I83283eb74360ec0eccd6b236b42eb987a580ec2c
2023-02-09 13:26:27 -08:00
Jiaming Liu
5a6444776a Fix build for jetpack update
Fix build for jetpack update

Bug: 265818545
Test: build

Change-Id: If48e7338ee560d995cb8bff7b5348ab36c457836
Merged-In: If48e7338ee560d995cb8bff7b5348ab36c457836
(cherry picked from commit e65283de6a)
2023-02-09 19:07:57 +00:00
Diego Vela
65bb5a09f4 Update ActivityEmbedding usage.
Update ActivityEmbedding usage.

Bug: 259592300
Test: build.
Change-Id: I8e4aa8daf51cb9c669d06b152cc5a2fc69a06571
Merged-In: I8e4aa8daf51cb9c669d06b152cc5a2fc69a06571
(cherry picked from commit a9394d1796)
2023-02-09 17:47:52 +00:00
Henri Chataing
94e898a02b Nfc: Rename system properties in Nfc settings
The nfc properties are now added to system/libsysprop and
were renamed at the same time for homogenity.

Bug: 268219397
Test: m Settings
Change-Id: I496e128b9db225aac583a1e0b91687f78a268b63
2023-02-09 16:53:56 +00:00
Bonian Chen
5e1c4d15a9 [Settings] User with restriction should avoid from having entries
through Settings search

1. Avoid from generating search report when user been restricted.
2. Guest user should have this restriction but not available, add
   additional rule as a conpensation from UI's perspective.

Bug: 260860114
Test: local

Change-Id: I63ba7f3b10fc812dd1498f17826a15e822879613
2023-02-09 16:42:56 +00:00
Philip Junker
79c0adad15 Use separate SETTINGS_TURN_SCREEN_ON_ACCESS id for TurnScreenOnSettings
Bug: 260056103
Test: manual
Change-Id: I34bbf823703efc5bedc7270537fb0eef57cd7369
2023-02-09 17:40:32 +01:00
yw.bae
f763c25c1e Implement Flash Notifications UI for Settings app.
Bug: 237628564
Test: make RunSettingsRoboTests ROBOTEST_FILTER=CameraFlashNotificationPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ColorSelectorLayoutTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=FlashNotificationsPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=FlashNotificationsPreferenceFragmentTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=FlashNotificationsPreviewPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=FlashNotificationsPreviewPreferenceTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=FlashNotificationsUtilTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ScreenFlashNotificationColorDialogFragmentTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ScreenFlashNotificationColorTest
Change-Id: I0987590ddfcfd0873ec419db263f6a7eade81844
Signed-off-by: yw.bae <yw.bae@samsung.corp-partner.google.com>
Signed-off-by: Angela Wang <angelala@google.com>
2023-02-09 21:00:50 +08:00
SongFerngWang
16215c74a7 Add two LE audio broadcast pageId
Add DIALOG_LE_AUDIO_BROADCAST for BluetoothBroadcastDialog.java
and add LE_AUDIO_BROADCAST_FIND_BROADCAST for
BluetoothFindBroadcastsFragment.java
Bug: 228255796
Test: build pass

Change-Id: I3968604074ca1ec031ea44893b33190c45ca7f47
2023-02-09 11:20:14 +00:00
tom hsu
e2aeded3de [Regional Preferences] Remove u extension for subtitle of Language
- Remove the language tag info of subtitle in  Settings -> System -> Languages
 - Syuc same result to entry of numbering system.

Bug: b/268278327
Bug: b/268276472
Test: atest passed
Test: Manual test passed
Change-Id: I46dd0899059e9209b99f5ef3b7b84eb083d4e140
2023-02-09 18:05:01 +08:00
TreeHugger Robot
8750e58ed6 Merge "Refine RFPS enrolling v2" 2023-02-09 09:35:31 +00:00
chihtinglo
44ebe53cb8 Move entryvalues_font_size to SettingsLib (1/2)
Since creating the seekbar for changing font size in SystemUI requires
the size of the value entry array and the values in the array.
Therefore, we move the resource to SettingsLib to share the usage.

Bug: 242326166
Test: make RunSettingsRoboTests ROBOTEST_FILTER=FontSizeDataTest
Test: Maually test the availability of changing font size through
Settings page

Change-Id: If630bd9c9c27823c210410b53342b921a11bbfb9
2023-02-09 16:50:44 +08:00
TreeHugger Robot
92c97579fb Merge "Revert "Fix Java 8 un-compilable code."" 2023-02-09 07:39:47 +00:00
Zoey Chen
4c39f69131 Merge "[SPA] Add new entry: Network & Internet and Airplane mode" 2023-02-09 07:08:50 +00:00
YK Hung
54e727b2d8 Merge "Replace getBatteryIntent() to centralized method" 2023-02-09 06:33:46 +00:00
Chaohui Wang
caa04b6303 Revert "Fix Java 8 un-compilable code."
This reverts commit c9fc8bca94.

Reason for revert: No longer need Java 8 compilable

Change-Id: I4ada6a74c7030899a8c5fb646440acee79149dce
2023-02-09 06:07:20 +00:00
Zoey Chen
405aa17b8a [SPA] Add new entry: Network & Internet and Airplane mode
Network & Internet
Screenshot: https://hsv.googleplex.com/6109427053625344

Network & Internet > Airplane mode
https://hsv.googleplex.com/5087887067447296

Bug: 268144349
Test: manual
Change-Id: Ifc6e8db86a5511af7e43394a3f5e356dfadcfe89
2023-02-09 13:50:28 +08:00
Milton Wu
fa496047a4 Refine RFPS enrolling v2
1. Fix skip button doesn't work case
2. Support rotation during enrollment
3. Show error dialog page
4. Show icon touched dialog page

Bug: 260957939
Test: atest FingerprintEnrollFindSensorViewModelTest
      FingerprintEnrollProgressViewModelTest
      FingerprintEnrollmentViewModelTest
      FingerprintEnrollmentActivityTest
Change-Id: I617e3e64a130682002b07551d11aff2864fd4538
2023-02-09 13:26:44 +08:00
Jason Hsu
57258a3765 Merge changes I13495cad,I3a44c4c4,I15bff230,I8a492866,Ia7ffe34a
* changes:
  [Pair hearing devices] Add pair hearing device functionality
  [Pair hearing devices] Extract common behavior in BluetoothPairingDetail into Base class
  [Pair hearing devices] Add "Hearing devices" to show connected hearing devices
  [Pair hearing devices] Add "Saved devices" to show bonded but not connected hearing devices
  [Audio routing] Setup basic structure for audio routing page
2023-02-09 04:04:03 +00:00
Chaohui Wang
f7125f72f1 Merge "Fix calculateSizeBytes" 2023-02-09 03:37:51 +00:00
SongFerng Wang
9f1b231b03 [automerger skipped] Merge "Add a config to hide the 3G option at preferred network mode UI" into tm-qpr-dev am: be84e27612 am: 327ae0d6db -s ours
am skip reason: Merged-In I4f94971add1d1eddc9f7c7458b8fc8fdcec3935e with SHA-1 f7685dd715 is already in history

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

Change-Id: Ib7a8f0593d418749e51ae8f6377f221022bbc09f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 03:37:16 +00:00
YK Hung
cc9ae66987 Merge "Remove legacy useless BatteryTip cache mechanism" 2023-02-09 03:24:38 +00:00
TreeHugger Robot
5982ef23af Merge "Optimize the tip detector loading performance" 2023-02-09 03:21:04 +00:00
ykhung
7cf9d0108e Replace getBatteryIntent() to centralized method
Replace the current getBatteryIntent() in the Settings into the
centralized method in the SettingsLib

Bug: N/A
Test: presubmit
Change-Id: If27d01c4ff52259e0185ca5d16ac88ca1bebac82
2023-02-09 11:13:27 +08:00
SongFerng Wang
327ae0d6db Merge "Add a config to hide the 3G option at preferred network mode UI" into tm-qpr-dev am: be84e27612
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21328340

Change-Id: I013418971db0db3a3e64895423063a88aac3c47c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 02:55:44 +00:00
Weng Su
0085bb7052 Merge "Initialize Anonymous identity field for TTLS and PEAP EAP methods" 2023-02-09 02:23:13 +00:00