Commit Graph

136891 Commits

Author SHA1 Message Date
Chaohui Wang
4ad7c3c2e6 Finish Mobile Settings if airplane mode is on
Fix: 298940648
Fix: 299256852
Fix: 295408616
Test: manual - on Mobile Settings then turn on airplane mode
Test: unit tests
Change-Id: Ifb4a287f7494ecb8b5040dbae7620fedfc316fdc
2023-11-01 18:05:42 +08:00
Jun Lan
29b243bb3e Add cache for PackageManager.getPackageUid to improvement performance
Context: `PackageManager.getPackageUid` is IPC which could be slow. Add a map in BatteryDiffEntry to cache the data. The cache lifecycle would be the same as other cache in BatteryDiffEntry.

Test: manual
Bug: 304439237
Fix: 304439237
Change-Id: I98d9c8cfee24dd43e9a4037b1b61c8353bf1bcea
2023-11-01 17:09:43 +08:00
Charlotte Lu
d8630aa4d9 Merge "Show "add access point" when the user selects add Apn." into main 2023-11-01 09:02:47 +00:00
Bill Lin
7b6440649e Merge "Add OWENRS for settings_biometrics_integration_declarations.aconfig" into main 2023-11-01 08:51:38 +00:00
Zoey Chen
026dfe0aa0 Revert "[Regional Preference] Need to remove the metrics by the metrics concil"
This reverts commit ae32c8e8a5.

Reason for revert: <Add metrics>

Change-Id: I85631130b975df18e7f4f6056bae7f13cf56008f
2023-11-01 07:52:57 +00:00
Zoey Chen
291564a337 Revert "[Regional Preference] Need to remove the metrics by the metrics concil"
This reverts commit abe3265390.

Reason for revert: <Add metrics>

Change-Id: I483978ffc4f2df9035b664674912836d0711b9c6
2023-11-01 07:41:06 +00:00
Charlotte Lu
8cbffebb89 Show "add access point" when the user selects add Apn.
Fix: 308724447
Test: Visual Test
Change-Id: I7c5a93c426dbb7806e5c21bae22f0dba7f61d870
2023-11-01 14:42:59 +08:00
SongFerng Wang
1742fa2ed0 Merge "To avoid the NullPointerException of UiccSlotInfo" into main 2023-11-01 06:21:49 +00:00
Xinyi Mao
bd01c83944 Merge "Refactor background optimization mode in Power Usage Detail page." into main 2023-11-01 05:04:56 +00:00
Yiyi Shen
d624b575a6 Merge "[Audiosharing] Add audio sharing dialog." into main 2023-11-01 03:54:45 +00:00
Quang Luong
d30a19395e Merge "Move to non-static WifiTrackerLib isVerboseLoggingEnabled() methods" into main 2023-11-01 03:26:07 +00:00
mxyyiyi
81e028931a Refactor background optimization mode in Power Usage Detail page.
[Screenshot]:
before: https://screenshot.googleplex.com/6m5jYWHofY2pFov

after:
[App battery usage]
- [normal] https://screenshot.googleplex.com/7aurWk7cHKaWds7
- [always unrestried/optimized] https://screenshot.googleplex.com/3rGAh4ccUYTKBAr

[Allow Background usage]
- [Restricted]: https://screenshot.googleplex.com/MPXjQe5kPWw2nhr
- [Optimized]: https://screenshot.googleplex.com/6w4zTT6r34APnGc
- [Unrestricted]: https://screenshot.googleplex.com/97FgvHWMrwASqYH

Bug: 302063050
Bug: 306295660
Bug: 308359833
Test: manual
Change-Id: I3237d015549fe26e62d6d68c13403cc2cbdf0017
2023-11-01 11:17:30 +08:00
Alexander Roederer
5107a0b190 aconfig flag for dnd app settings channels dedupe
Aconfig flag to control adding the group name to the channel name in the
DND App Settings page, to disambiguate channels that have identical
names in the list.

Test: adding flag; builds
Bug: 294333850
Change-Id: Icac50932e75b011b25b507b38433620c09680f3c
2023-11-01 01:41:41 +00:00
Jean Chen
bf18e7967e Merge "Revert^2 "feat(MultiFingerMultiTap): Add tutorial for two finger triple tap"" into main 2023-11-01 00:23:08 +00:00
Chaohui Wang
1a9c356356 [automerger skipped] Merge "When device has a call, avoid user inactive/active SIM." into udc-qpr-dev am: aab495929f am: e9502c3cc4 -s ours
am skip reason: Merged-In I1a717d24a87316ccf065a2c02c49dc7e29825905 with SHA-1 e7d98dea9d is already in history

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

Change-Id: I3727c39fee1544b992b55b999c2d1befb837e62d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 23:27:35 +00:00
Chaohui Wang
e9502c3cc4 Merge "When device has a call, avoid user inactive/active SIM." into udc-qpr-dev am: aab495929f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/25220520

Change-Id: If895e308ce90330c33d6ceaa7551768d0771dce4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 22:53:24 +00:00
Chaohui Wang
aab495929f Merge "When device has a call, avoid user inactive/active SIM." into udc-qpr-dev 2023-10-31 22:10:09 +00:00
Nino Jagar
c7628879da Disable content protection settings if no service
Bug: 308613762
Test: Unit tests and manual end-to-end
Change-Id: I0cc1ff1a260a7e14537036497a155135b7e2f0a9
2023-10-31 20:34:04 +00:00
Bill Yi
af9f60f6c2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e840be4b44 -s ours am: e50e80846e -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icbfe328c835a0b601a446538716e1e4523ffbae2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 18:34:08 +00:00
Roshan Pius
ad01bf88a7 settings(payments): Use newly exposed formal API for CardEmulation.getServices()
Bug: 307352220
Test: Compiles
Merged-In: Iaaa37a8e55d755f8abcbaa26c31bf7962e166e96
Change-Id: Iaaa37a8e55d755f8abcbaa26c31bf7962e166e96
2023-10-31 18:19:37 +00:00
Treehugger Robot
418f3ef6b9 Merge "settings(payments): Use newly exposed formal API for CardEmulation.getServices()" into main 2023-10-31 18:17:00 +00:00
Bill Yi
e50e80846e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e840be4b44 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1e9aa0d62cc873d3a42cb7ed320f404c18ac14c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 18:09:01 +00:00
Bill Yi
ed32d57673 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b37af6d679 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I960ba15bc58dd549b57673bf7d005332ade1964d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 18:02:12 +00:00
Chris Antol
91adee1590 Merge "Update Settings OWNERS file" into main 2023-10-31 17:56:30 +00:00
Bill Yi
fd3b3a81d3 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-10-31 17:46:21 +00:00
Joshua Mccloskey
b491513ddb Merge "Fixed search index for fingerprint settings." into main 2023-10-31 17:05:36 +00:00
Treehugger Robot
253f634a04 Merge "Remove android.content.pm.flags-aconfig-java" into main 2023-10-31 14:24:56 +00:00
Mark Kim
fb3db3024d Merge "Support fetching PackageInfo for archived apps" into main 2023-10-31 12:08:00 +00:00
SongFerngWang
0ba519f1b4 To avoid the NullPointerException of UiccSlotInfo
Bug: 307599094
Test: Build pass
Change-Id: Ia3b8d29b37f2c9616856e9448c9f346b81229534
2023-10-31 19:54:44 +08:00
Chaohui Wang
268c036711 Remove android.content.pm.flags-aconfig-java
Bug: 307923417
Test: presubmit
Change-Id: I586518964d7b424594ff823044dd1d08524ff0d4
2023-10-31 19:04:57 +08:00
Chaohui Wang
5ac8a4e281 Merge "Async load eid in SimEidPreferenceController" into main 2023-10-31 10:02:30 +00:00
Chelsea Hao
55fde59c17 Merge changes Ia5b56c28,I258add40 into main
* changes:
  [Audiosharing] Add audio sharing streams page and entry point.
  Add flag for LE audio private sharing via QR code.
2023-10-31 09:40:57 +00:00
Yiyi Shen
738962fb28 [Audiosharing] Add audio sharing dialog.
Open the dialog when audio sharing main switch on.

Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: I5b7cf655782a1da8b4fbd42eca11b473bac339b0
2023-10-31 17:04:52 +08:00
Jean Chen
6a50a06f76 Revert^2 "feat(MultiFingerMultiTap): Add tutorial for two finger triple tap"
This reverts commit dc9ad88a26.

Reason for revert: The issue be fixed on b/308228560. Our change wasn't the actual culprit. 

Change-Id: Ie023b10d70db680799f30c8bc9346cc65716b550
2023-10-31 08:43:39 +00:00
Chaohui Wang
13150d922c Merge "Migrate to Material3 Switch" into main 2023-10-31 08:26:43 +00:00
chelseahao
9dd627e9e4 [Audiosharing] Add audio sharing streams page and entry point.
Flagged with enable_le_audio_qr_code_private_broadcast_sharing

Bug: 308368124
Test: Manual
Change-Id: Ia5b56c288e61ac9accd33d7674b049e46a9ef03d
2023-10-31 08:12:03 +00:00
chelseahao
466225808f Add flag for LE audio private sharing via QR code.
Bug: 308368124
Test: Manual
Change-Id: I258add40bc5af14e45e066c2be32fc400e6e76e2
2023-10-31 08:11:12 +00:00
Chaohui Wang
fe10785679 Merge "Check MOBILE_DATA_POLICY_MMS_ALWAYS_ALLOWED" into main 2023-10-31 07:15:44 +00:00
Chun-Wei Wang
f4a67c16a4 Merge "Revert "Settings ChooseLockscreen* dismiss in background."" into main 2023-10-31 07:03:30 +00:00
Chun-Wei Wang
d1de1b532b Revert "Settings ChooseLockscreen* dismiss in background."
This reverts commit 302aa72446.

Reason for revert: b/308468754

Change-Id: I27ab7e374324b99e7a039b06ad698c214d97592a
2023-10-31 06:59:48 +00:00
Chaohui Wang
d598caaeb7 Merge "Migrate ShortcutPreference to SwitchCompat" into main 2023-10-31 06:32:11 +00:00
Chaohui Wang
8501293f07 Migrate to Material3 Switch
UI changed in this cl.

Bug: 306658346
Test: manual - on Settings pages
Change-Id: Ic72a49e978eb3308f561d24a16be26504297e05c
2023-10-31 13:33:44 +08:00
tom hsu
61e7550e7e When device has a call, avoid user inactive/active SIM.
Bug: 296314216
Test: atest passed
Change-Id: I1a717d24a87316ccf065a2c02c49dc7e29825905
(cherry picked from commit e7d98dea9d)
Merged-In: I1a717d24a87316ccf065a2c02c49dc7e29825905
2023-10-31 03:08:41 +00:00
Chaohui Wang
b6e44ce818 Async load eid in SimEidPreferenceController
Avoid data loading in getAvailabilityStatus() to prevent ANR, override
updateNonIndexableKeys() for search availability.

Fix: 304560734
Test: manual - on "About phone" page
Change-Id: I9994abf3787f5db0edc71ff48d08e549a4b70bf7
2023-10-31 02:44:18 +00:00
Bill Yi
e840be4b44 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7217a31af0c13778b162fbb834fd5e58ccbe69d6
2023-10-30 19:20:39 -07:00
Bill Yi
46794da777 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I26dae51a0434470eb5701d4416a2c45276f2e1f0
2023-10-30 19:18:53 -07:00
Bill Yi
b37af6d679 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3bdbf0f6970a0790d6209fa8fcb302d38cee8495
2023-10-30 19:15:20 -07:00
Roshan Pius
a5d82be483 settings(payments): Use newly exposed formal API for CardEmulation.getServices()
Bug: 307352220
Test: Compiles
(cherry picked from https://android-review.googlesource.com/q/commit:1b6f9160c6954619bc86a3f7c7c39241b2427d91)
Change-Id: Iaaa37a8e55d755f8abcbaa26c31bf7962e166e96
2023-10-31 01:14:44 +00:00
Quang Anh Luong
2df8aa26a3 Move to non-static WifiTrackerLib isVerboseLoggingEnabled() methods
Bug: 279512950
Test: build
Change-Id: Id2b7bd9d31efbfb190aaacb8d116842dec5bb168
2023-10-31 09:39:08 +09:00
Joshua McCloskey
a98dc8d4b5 Rear Fingerprint Enrollment
Bug: 297083009
Test: atest RFPSIconTouchViewModelTest FingerprintEnrollEnrollingViewModelTest FingerprintManagerInteractorTest
Change-Id: Icc072e7d7815070087ccb50ea5937c386b06fb11
2023-10-30 22:18:56 +00:00