Commit Graph

119862 Commits

Author SHA1 Message Date
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
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
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
TreeHugger Robot
8750e58ed6 Merge "Refine RFPS enrolling v2" 2023-02-09 09:35:31 +00: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
jasonwshsu
031c5f0354 [Pair hearing devices] Add pair hearing device functionality
* Add setFilter(List<ScanFilter>) in DeviceListPreferenceFragment to enable BluetoothLeScanner

Bug: 237625815
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DeviceListPreferenceFragmentTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=HearingDevicePairingDetailTest
Change-Id: I13495cad7260789845fad9a7e77e96b692a5cbd0
2023-02-09 10:17:25 +08:00
jasonwshsu
723c385c18 [Pair hearing devices] Extract common behavior in BluetoothPairingDetail into Base class
* Before adding new hearing device feature, we will extract the common part into Base class first. They will share most of the UI component.

Bug: 237625815
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDevicePairingDetailBaseTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDevicePairingDetailTest
Change-Id: I3a44c4c464d630fdcafa151afc82d3000fd728a3
2023-02-09 10:17:25 +08:00
jasonwshsu
23417c3aca [Pair hearing devices] Add "Hearing devices" to show connected hearing devices
Bug: 237625815
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AvailableHearingDeviceUpdaterTest
Change-Id: I15bff230cac29fdbad13d452878bc57b57d9773e
2023-02-09 10:17:25 +08:00
jasonwshsu
c1fb0ae240 [Pair hearing devices] Add "Saved devices" to show bonded but not connected hearing devices
* BaseHearingDevicePreferenceController will also be used in "Hearing devices", so extract to parent class first.

Bug: 237625815
Test: make RunSettingsRoboTests ROBOTEST_FILTER="(SavedHearingDeviceUpdaterTest|BaseBluetoothDevicePreferenceControllerTest|BluetoothDeviceUpdaterTest|AvailableMediaBluetoothDeviceUpdaterTest|ConnectedBluetoothDeviceUpdaterTest|SavedBluetoothDeviceUpdaterTest)"
Change-Id: I8a492866f48e3a664b9ff78bce5a4f082c0dc465
2023-02-09 10:17:25 +08:00
SongFerng Wang
be84e27612 Merge "Add a config to hide the 3G option at preferred network mode UI" into tm-qpr-dev 2023-02-09 01:59:50 +00:00
Charles Chen
bd9fa42d84 Merge "Make Settings show in two-pane on portrait tablet" 2023-02-09 01:39:40 +00:00
TreeHugger Robot
cffd452993 Merge "Hide dialog when disabling Credential Manager providers" 2023-02-08 19:58:06 +00:00
Treehugger Robot
df6da12e2e Merge "Merge TQ1A.230205.002" am: 0a9affaaab am: 016f304b8d am: cb9a31aa1c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2423108

Change-Id: I5720c546d1208ba404615cbee4b1803b5ba12142
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 19:32:00 +00:00
Julia Reynolds
48bb894de6 Merge "Add unique id for NLS approval dialog" 2023-02-08 19:02:38 +00:00
Treehugger Robot
cb9a31aa1c Merge "Merge TQ1A.230205.002" am: 0a9affaaab am: 016f304b8d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2423108

Change-Id: I22fdfd669e6ed54fab8119c4e4469855c62e7549
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 18:45:24 +00:00
Becca Hughes
cd453fb58c Hide dialog when disabling Credential Manager providers
In the CredMan settings page we have a dialog that asks
the user to confirm their action. It has been decided
by UX/product that this should be removed.

Test: make
Bug: 267816757
Change-Id: I61528e5ac5300cd1d7165bf0eadee794b28aa02d
2023-02-08 18:33:51 +00:00
Treehugger Robot
016f304b8d Merge "Merge TQ1A.230205.002" am: 0a9affaaab
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2423108

Change-Id: I4147301439d6f88a08a8fa0f3b78cb5c9dd13f70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 18:13:26 +00:00
Varun Shah
4109caa533 Update references to the RUN_LONG_JOBS permission.
The permission has been renamed to RUN_USER_INITIATED_JOBS.

Bug: 255038128
Test: build/manual
Change-Id: Ia32a6d564d62b2c0318c7afbd6de0ad9644e52d0
2023-02-08 17:43:13 +00:00
Valentin Iftime
a3d905eed2 Add dimensions for notification channel panel am: 42ac382af5 am: 4b733b249f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21334700

Change-Id: I94425217f087d755babd9c27d4a058c0d6e99b55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 17:14:45 +00:00
ykhung
4a1f04e70d Remove legacy useless BatteryTip cache mechanism
Remove the legacy BatteryTip list cache mechanism to avoid not using the
new re-create BatteryTip list, but only update its state and invoke
updatePreference(). We should use the new BatteryTip list to apply the
new detected results.

Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge.batterytip"
Change-Id: I884f04927403ad4d97b459ff5477a1fe9df21553
2023-02-09 01:11:25 +08:00
Becca Hughes
51aa1c6ef0 Merge "Hide password managers from cred man settings" 2023-02-08 17:10:56 +00:00
ykhung
19b913cd0c Optimize the tip detector loading performance
Optimize the tip detector loading performance by removing 3 times
redundant IPC with PowerManager and BatteryManager

Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge.batterytip"
Change-Id: I0df8b0c600b743c93dfcdd66aeae07e2aba6b797
2023-02-09 00:46:58 +08:00
Valentin Iftime
4b733b249f Add dimensions for notification channel panel am: 42ac382af5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21334700

Change-Id: Ifccc813cdfc93c795ec0938131adeee402f44b2f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-08 16:32:46 +00:00
YK Hung
cab23e3099 Merge "[Battery Usage] Make the timestamp slot info text format localizable." 2023-02-08 16:11:01 +00:00
Weng Su
a346f5b5e2 Initialize Anonymous identity field for TTLS and PEAP EAP methods
- The anonymized identity field will only be displayed for TTLS and PEAP EAP methods

- Initialize the default anonymous identity when it is displayed

Bug: 267517525
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigController2Test

Change-Id: I08bd322ff6d86c44298ebd1c4926c0a1363a16ce
2023-02-08 23:42:33 +08:00
Valentin Iftime
42ac382af5 Add dimensions for notification channel panel
Removes dependency on output switcher dimens.
    Fix notification settings bottom sheet scroll in landscape.

Test: adb shell cmd notification post "Test notif" &
    adb shell am start -a android.settings.CHANNEL_NOTIFICATION_SETTINGS     --es android.provider.extra.CHANNEL_FILTER_LIST "sound"     --es android.provider.extra.CHANNEL_ID "shell_cmd"     --es android.provider.extra.APP_PACKAGE "com.android.shell"

Bug: 238845213
Change-Id: Iaf4b52b0aa8376c93ebc55fc005cdb55d2a9620e
2023-02-08 14:16:13 +00:00
jasonwshsu
48d56420ce [Audio routing] Setup basic structure for audio routing page
* Setup UI and bridge device address into audio routing fragment

Bug: 237625815
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDetailsAudioRoutingFragmentTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDetailsAudioRoutingControllerTest
Change-Id: Ia7ffe34af54011a2e3cb445fc4fbd00f991835f3
2023-02-08 20:55:52 +08:00
TreeHugger Robot
50b0e0b196 Merge "Fix Java 8 un-compilable code." 2023-02-08 12:10:55 +00:00
Charles Chen
cf3199fc9e Make Settings show in two-pane on portrait tablet
Test: manual - Change Display size and observe
Bug: 211562623
Change-Id: I0c26a7443882cc28edb5500f8d135c5f00dee515
2023-02-08 18:43:10 +08:00
Treehugger Robot
0a9affaaab Merge "Merge TQ1A.230205.002" 2023-02-08 10:40:37 +00:00
Prabal Singh
1674384c28 Merge "Add new category key for More Settings page" 2023-02-08 09:49:44 +00:00
Vania Januar
b5c00b8bdf Merge "Use BluetoothUtils.isAdvancedDetailsHeader in Header controllers." 2023-02-08 09:36:56 +00:00
Chengfei Tao
af1a9183fa Merge "Better biometric subtitle with createConfirmDeviceCredentialIntent() API" 2023-02-08 09:11:04 +00:00
Chaohui Wang
d67bd3b575 Fix calculateSizeBytes
dataBytes including cacheBytes, so not adding cacheBytes separately.

Bug: 236346018
Test: Manually with Settings
Change-Id: I92ecad3d9ec7a29d690e8ceba2614dd11b561ad3
2023-02-08 16:17:28 +08:00
Zaiyue Xue
c9fc8bca94 Fix Java 8 un-compilable code.
Test: manual
Change-Id: I84cabab4d2753202143175d838d635c69daf090e
2023-02-08 16:09:16 +08:00
SongFerngWang
e85bb5058d Add a config to hide the 3G option at preferred network mode UI
Add a config config_display_network_mode_3g_option to hide the 3G
option at preferred network mode UI

Bug: 261615630
Test: build pass. local test pass.
atest EnabledNetworkModePreferenceControllerTest

Change-Id: I4f94971add1d1eddc9f7c7458b8fc8fdcec3935e
(cherry picked from commit f7685dd715)
Merged-In: I4f94971add1d1eddc9f7c7458b8fc8fdcec3935e
2023-02-08 07:41:13 +00:00