Commit Graph

116457 Commits

Author SHA1 Message Date
Sayak Dutta
6f8b50ba33 Merge "Fix triggering of link outside the target in the same line" into tm-qpr-dev am: 2529bca223
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19967513

Change-Id: I42f260611610fb5cf50db3676f5639c850863766
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 05:21:38 +00:00
Sayak Dutta
dbf7d863a1 Merge "Fix triggering of link outside the target in the same line" 2022-09-20 04:58:24 +00:00
Sayak Dutta
2529bca223 Merge "Fix triggering of link outside the target in the same line" into tm-qpr-dev 2022-09-20 04:58:04 +00:00
Chaohui Wang
d4f1898e95 Add new Alarms & reminders App List
The entry item will also be available through App Settings.

Bug: 235727273
Test: Manual with Settings App
Change-Id: I2e40803203e5430988b6e7394856448c82e20fd2
2022-09-20 12:39:20 +08:00
Kuan Wang
b1b79bf0f0 Avoid fade animation when users switch index in hour chart.
Before: https://drive.google.com/file/d/13L1hfbhLiNY_GlT0zzE-SqU3fNXmdta6/view?usp=sharing
After: https://drive.google.com/file/d/1l75m1gzGBcy41SFHJvkcDiwaeZo0Rzpj/view?usp=sharing

Test: manually
Bug: 245655904
Change-Id: Iffaf5328b04ffb1f0ff155ecd8c67cd58b9cbfb5
2022-09-20 12:15:26 +08:00
Chaohui Wang
3659711fe0 Add AppSettings page
Including the following features,
- App icon
- App label
- Display over other apps item
- Modify system settings item
- Picture in picture item
- Install unknown apps item
- App version

Bug: 236346018
Test: Manual with Settings App
Change-Id: Ieabdd32fac1d0992ba5c22d459631b42a17ce32a
2022-09-20 12:13:36 +08:00
Kuan Wang
bd9042c47f Show app list in Battery Usage page when there is no battery level data.
https://drive.google.com/file/d/1iQxKmEp_weNYdT4JnsiZgYy9mCdn7SRv/view?usp=sharing

Bug: 246233366
Test: make RunSettingsRoboTests + manually
Change-Id: If536c93652506c8009f5cabf3d0ae373b6825bfc
Merged-In: If536c93652506c8009f5cabf3d0ae373b6825bfc
2022-09-20 12:11:25 +08:00
Bill Yi
51fbf2cd00 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I097bac3bd6e774f0cac2eb4b46723f7fa5ec7641
2022-09-19 20:43:49 -07:00
Bill Yi
80c3126868 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4c15045dd4942a1b4bde480604342aea11e1c6f9
2022-09-19 20:40:33 -07:00
Bill Yi
5c3d8f340b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I985329532c210b25458142a2c0fb637056ba384e
2022-09-19 20:37:28 -07:00
Bill Yi
2ccd859add Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I74590f996207dc0d583d05b2c28628e328d9fe79
2022-09-19 20:34:29 -07:00
Bill Yi
6a44c6afa3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3ddd1cecee3dbd09bb5fb12541666e3ec09d0b1f
2022-09-19 20:31:46 -07:00
Bill Yi
7d4259833d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iecd63b8ec0750ce187be050be22cec1ebb724b72
2022-09-19 20:29:25 -07:00
Bill Yi
66d46968f6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2c220d73ce130f2bba3ecc39ec8936eb3b294ec3
2022-09-19 20:26:25 -07:00
lbill
fd269d08ec Apply dark light theme for enrollment activities
Override onApplyThemeResource() and apply SetupWizardPartnerResource
to make the dark light theme activate.

Theme change scope:
1) FingerprintEnrollEnrolling
2) FingerprintEnrollFindSensor
3) SetupFingerprintEnrollEnrolling
4) SetupFingerprintEnrollFindSensor

Bug: 245684949
Test: manual in SUW `adb shell cmd uimode night yes` and check visual
Test: manual in SUW enrolling check timeout dialog apply theme
Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER= \
      SetupFingerprintEnrollFindSensorTest
Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER= \
      FingerprintEnrollEnrollingTest
Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER= \
      FingerprintEnrollFindSensorTest
Change-Id: I16f1070612e3e27546e6aa004fc4cdd3d7947191
2022-09-20 01:30:28 +00:00
Edgar Wang
bb28d5ff72 Merge "Add clicked event for metric log writer" 2022-09-19 20:38:52 +00:00
Bill Yi
d037a80e49 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4a33e28745c4ce2c0532a2ac14a36d0f88f19a51
2022-09-19 13:28:05 -07:00
Bill Yi
845f3bc996 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6ca040c30f6340f821f0bab6643047f54bd7a250
2022-09-19 13:24:25 -07:00
Kuan Wang
1051fb16d8 Show app list in Battery Usage page when there is no battery level data.
https://drive.google.com/file/d/1mZ2Sn3dmjQcCxnhKqDPxfLJDyiTe6mEk/view?usp=sharing

Bug: 246233366
Test: make RunSettingsRoboTests + manually
Change-Id: If536c93652506c8009f5cabf3d0ae373b6825bfc
2022-09-19 07:09:37 +00:00
TreeHugger Robot
dd79717247 Merge "Show greyed out icon when Wi-Fi network is restricted to configurate" into tm-qpr-dev am: 74a748ece8 am: dd238fd0ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19967514

Change-Id: I951c95aa7d5f9385de3776c2b7b5e62ee509b534
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-19 05:06:26 +00:00
TreeHugger Robot
dd238fd0ad Merge "Show greyed out icon when Wi-Fi network is restricted to configurate" into tm-qpr-dev am: 74a748ece8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19967514

Change-Id: I5646b7ff9e291b70295cbbb180f3e0513f51866f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-19 04:23:30 +00:00
TreeHugger Robot
74a748ece8 Merge "Show greyed out icon when Wi-Fi network is restricted to configurate" into tm-qpr-dev 2022-09-19 03:52:34 +00:00
Weng Su
3499db23ff Show greyed out icon when Wi-Fi network is restricted to configurate
- Use Drawable#setTintList() instead of Drawable#setTint() to show greyed out icon when the preference is disabled.

Bug: 233175849
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiEntryPreferenceTest

Change-Id: I451106530bc19bc733fd58a57e8ac336b023e65e
2022-09-19 02:22:47 +08:00
Sayak Dutta
25f67b32d6 Fix triggering of link outside the target in the same line
Bug: 247297966

Change-Id: I8cab434c3f48ac666664b21303e7be2b36b047c0
2022-09-18 07:24:02 +00:00
Sayak Dutta
02eb1c1a79 Fix triggering of link outside the target in the same line
Bug: 247297966

Change-Id: I8cab434c3f48ac666664b21303e7be2b36b047c0
2022-09-18 07:15:39 +00:00
Sayak Dutta
4203f40c00 Merge "Fix following three issues in SD Card UX" into tm-qpr-dev am: f57f988349 am: 5e168a5e7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19967364

Change-Id: I25586121b97d5ce4885f971a7085c05d77b77bbd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-18 06:50:29 +00:00
Sayak Dutta
5e168a5e7d Merge "Fix following three issues in SD Card UX" into tm-qpr-dev am: f57f988349
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19967364

Change-Id: I17bafb783c166f5681326c3fbb0a8f2040c62a19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-18 06:21:10 +00:00
Sayak Dutta
b85ee281c2 Merge "Fix following three issues in SD Card UX" 2022-09-18 05:57:51 +00:00
Sayak Dutta
f57f988349 Merge "Fix following three issues in SD Card UX" into tm-qpr-dev 2022-09-18 05:57:31 +00:00
althafvly
ed95f35423 Settings: Protect sensitive data on the about phone
- Hide some personal info like phone number and IMEI.
- IMEI shows on a tap, so why not.
- Avoid showing this in screenshot/screenrecord

Co-authored-by: El Dainosor <eldainosor@gmail.com>
Change-Id: I45b7898da440c36045aec64a0a86fb804116cd9d
2022-09-17 13:48:02 +00:00
Angela Wang
3a9b617476 [automerger skipped] Merge "Logs hearing aid information when a hearing aid is bonded" into tm-qpr-dev am: 4313b81f57 am: ad6e2e8cc9 -s ours
am skip reason: Merged-In Ie0432f7da4f29e89e47d0ad3d72a04a9f5ea83ae with SHA-1 cf199c96bf is already in history

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

Change-Id: Ia7ffca1be5ce8d44b2f9ceb7846b1d0a06a39305
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-17 13:02:43 +00:00
Angela Wang
ad6e2e8cc9 Merge "Logs hearing aid information when a hearing aid is bonded" into tm-qpr-dev am: 4313b81f57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19949385

Change-Id: I3c5b2975587f978cabb7f6da11abe1bf8b2b9e55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-17 01:17:51 +00:00
Angela Wang
4313b81f57 Merge "Logs hearing aid information when a hearing aid is bonded" into tm-qpr-dev 2022-09-17 01:00:19 +00:00
George Chan
9c68bf9312 Added transparency-metadata display.
This feature enables 'App Details' to support MBAs with metadata file and display in an offline UI. This change includes a new fragment and user view that sources data from within any MBAs apk file that contains application-metadata.xml.

Test: make -j64 RunSettingsRoboTests , AVD manual test
Change-Id: If7822100a90f5fb8d33ce5d85958391fc33ecbee
Bug: 244215932
2022-09-16 22:17:48 +00:00
TreeHugger Robot
2286d8c994 [automerger skipped] Merge "Add Spatial audio settings for LE Audio devices" into tm-qpr-dev am: f4d0d420bc am: 6c0140b340 -s ours
am skip reason: Merged-In I1278a5e0c93fdc5a4873df68032128ffedfe72d6 with SHA-1 f8704add51 is already in history

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

Change-Id: I9ce20234de8010a5d7a6bcfa8cea899b591762b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 21:30:11 +00:00
TreeHugger Robot
6c0140b340 Merge "Add Spatial audio settings for LE Audio devices" into tm-qpr-dev am: f4d0d420bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19967512

Change-Id: I5dcdb9766382a9b4c9d36601ef71da4181e1dea2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 21:00:54 +00:00
TreeHugger Robot
f4d0d420bc Merge "Add Spatial audio settings for LE Audio devices" into tm-qpr-dev 2022-09-16 20:23:14 +00:00
Victor Truong
993595eb00 Add NoDreamViewHolder for a different layout for NoDreamItem. am: 00b3a5cdb6 am: 8828d53177
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19771836

Change-Id: Ic550a32f56aaf1305f7ec2b0029e2585e665ac12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 18:46:27 +00:00
Victor Truong
8828d53177 Add NoDreamViewHolder for a different layout for NoDreamItem. am: 00b3a5cdb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19771836

Change-Id: Ieb6f66fc6f3bbfc50a8fdbd3db968ab325946d9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 18:16:35 +00:00
Grace Cheng
8bab4adfdc Updates SFPS enrollment finished assets
Adds new assets for SFPS enrollment finished with transparent background to match light and dark theme backgrounds

Test: (manual) Enroll fingerprints in LT and DT on SFPS device and observe backgrounds match
Fixes: 246620855
Change-Id: Ibd47317cd3359c2c99e7422c4434cdad383be568
2022-09-16 17:47:29 +00:00
Victor Truong
00b3a5cdb6 Add NoDreamViewHolder for a different layout for NoDreamItem.
Bug: 243389115
Test: Manually tested
Change-Id: Id7549d55721c474cf8baddc0b336fe3600ccb5e3
2022-09-16 11:59:44 -04:00
Hugh Chen
bdfd8531a9 Add Spatial audio settings for LE Audio devices
- Adds TYPE_BLE_HEADSE, TYPE_BLE_SPEAKER and TYPE_BLE_BROADCAST for
  display Le audio devices.
- Adds TYPE_HEARING_AID for display hearing aid devices.

Bug: 244528781
Test: make -j64 RunSettingsRoboTests
Change-Id: I1278a5e0c93fdc5a4873df68032128ffedfe72d6
Merged-In: I1278a5e0c93fdc5a4873df68032128ffedfe72d6
(cherry picked from commit f8704add51)
2022-09-16 15:51:15 +00:00
Viesturs Zarins
32d8d908c9 Merge "Move android.settings.NFC_SETTINGS intent handler to open the Nfc settings fragment, not the generic connected devices fragment." 2022-09-16 14:27:59 +00:00
TreeHugger Robot
a36f9483c0 Merge "Update App battery usage page and add tests." into tm-qpr-dev am: 50c7cb834e am: 2f40a918e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19951824

Change-Id: Ic1fb7dc0fc1be41a9497095b4891fe4f1cac2e18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 10:27:28 +00:00
Chaohui Wang
013f5aa525 Merge "Set switchRestrictionKeys for InstallUnknownApps" 2022-09-16 10:02:09 +00:00
Jason Hsu
036833c54d Merge "Fix display wrong information "pair left/right ear" on device detail page when disconnect one of HA" 2022-09-16 09:34:39 +00:00
TreeHugger Robot
2f40a918e1 Merge "Update App battery usage page and add tests." into tm-qpr-dev am: 50c7cb834e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19951824

Change-Id: I680de6c08f5a1533779f4c73ff1bd3f7cd8ad0d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 08:37:40 +00:00
jasonwshsu
93f696bc99 Fix display wrong information "pair left/right ear" on device detail page when disconnect one of HA
Root Cause: Did not update device information in device detail page

Solution: Listen to device attributes change and update information in
call function refresh()

Bug: 246877392
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDetailsPairOtherControllerTest
Change-Id: I442445a861898258a73f37ad8f85bcee387fbf58
2022-09-16 16:20:16 +08:00
TreeHugger Robot
50c7cb834e Merge "Update App battery usage page and add tests." into tm-qpr-dev 2022-09-16 07:52:30 +00:00
Amy Hsu
fc3f25c8b5 [RRS] Send event to AccessibilityManager when an unselect radio button is selected.
Change the screen resolution will cause re-layout the screen, so the focus will back to the first view. Before we actually set the screen
resolution, send an event to the AccessibilityManager and set what it
should say when the user selects the unselect option. Therefore TB will
say "selected" before the screen refreshes.

bug: 229352892
Test: Enable/disable Talkback and check RRS app behaivor. It should read
"selected" after user choose one un-selected option.

Change-Id: If14ed3685f85962d4e4b1d4961216c6ca5d5f0f8
2022-09-16 07:09:47 +00:00