Commit Graph

136513 Commits

Author SHA1 Message Date
Xinyi Mao
17860b3e44 Merge "Update battery usage data clear mechanism while time change." into main 2023-11-03 08:15:04 +00:00
mxyyiyi
ad23b53942 Update battery usage data clear mechanism while time change.
- Accept time updated in the last job schedule range:
  [ max (last-full-charge / last-even-hours) , next-even-hours ]

Bug: 308714066
Fix: 308714066
Test: manual
Change-Id: Id92fffddb7666d63fce66fee696a27d957c8b537
2023-11-03 15:25:17 +08:00
FanWu
0e9682eb31 Add LongBackgroundTasksApps
Bug: 284032922

Test: Unit test
Change-Id: Ic58f45c41c3d35803591afaf25829ff104dc493d
2023-11-03 05:59:25 +00:00
Allen Su
5e98b96fab Merge "Add locale souce metrics" into main 2023-11-03 05:45:54 +00:00
Alexander Roederer
855307c73e Merge changes from topic "b294333850-MailMail" into main
* changes:
  Adds group to DND settings if channel names same
  aconfig flag for dnd app settings channels dedupe
2023-11-03 03:01:43 +00:00
Fan Wu
20826ab063 Merge "Add TurnScreenOnApps" into main 2023-11-03 01:34:24 +00:00
fayey
7f2fbc2e4c Add Voice activation apps into Settings->Apps->Specific app->AppInfo->Voice activation apps
This change is flag controlled by
`com.android.settings.flags.enable_voice_activation_apps_in_settings`.

Bug: 306447565
Bug: 303727896
Test: presubmit
Test: manual Settings CUJs tests
Change-Id: I3a918be39d62819c1f6d59e8e71d48025e9d203a
2023-11-02 23:06:53 +00:00
fayey
6619010f0a Add Voice activation apps into Settings->Apps->Special app access
This change is flag controlled by
`com.android.settings.flags.enable_voice_activation_apps_in_settings`.

Bug: 306447565
Bug: 303727896
Test: atest com.android.settings.spa.app.specialaccess.VoiceActivationAppsTest
Test: atest com.android.settings.spa.app.specialaccess.VoiceActivationAppsPreferenceControllerTest
Test: manual Settings CUJs
Change-Id: I71a0dc2303263c9957220b56e4dcacec9a561b02
2023-11-02 20:07:53 +00:00
YK Hung
c7c82de77e Merge "Fix full-charge timestamp lost in battery chart graph." into main 2023-11-02 15:06:16 +00:00
Alexander Roederer
d44bfaf86f Adds group to DND settings if channel names same
Adds the channel group name as a summary to the DND channel Preference if two
or more channels have identical names in the DND Menu. This allows users to
disambiguate between the channels.

Bug: 294333850
Test: Unit test updated, run with $make -j RunSettingsRoboTests ROBOTEST_FILTER=AppChannelsBypassingDndPreferenceControllerTest
Change-Id: I4eaf48e5b2ea6513098fde79c3f81d18c6f4bb3d
2023-11-02 13:51:04 +00:00
Zoey Chen
748cf7d747 Merge "Revert "[Regional Preference] Need to remove the metrics by the metrics concil"" into main 2023-11-02 12:19:58 +00:00
mxyyiyi
feaf08a9ba Fix full-charge timestamp lost in battery chart graph.
Bug: 308917113
Fix: 308917113
Test: manual
Change-Id: Ie87c72a020a3b169a25df6422ea3b456b988c14d
2023-11-02 19:17:04 +08:00
Treehugger Robot
90a563b12a Merge "Add a skeleton for dynamic deny list class" into main 2023-11-02 09:54:28 +00:00
Chaohui Wang
298f65b048 Merge "Finish Mobile Settings if airplane mode is on" into main 2023-11-02 09:06:48 +00:00
Wesley Wang
98f76259ff Add a skeleton for dynamic deny list class
- Create a class with default sharedpreference management

Bug: 306329984
Test: make SettingsRoboTests
Change-Id: I06cf7c5ea82a44a61b05b7bbcddb6040cc917ec5
2023-11-02 17:01:32 +08:00
Allen Su
5604177818 Add locale souce metrics
Bug: 284094665
Test: atest SettingsRoboTests:com.android.settings.localepicker
Change-Id: I174e31fb185e859dd70b6277e23fab759c495e80
2023-11-02 08:22:38 +00:00
Treehugger Robot
12755950a9 Merge "Revert "[Regional Preference] Need to remove the metrics by the metrics concil"" into main 2023-11-02 08:12:08 +00:00
Yiyi Shen
ed94c4eaa2 Merge "[Audiosharing] Add audio sharing stream name preference." into main 2023-11-02 04:51:40 +00:00
FanWu
2aeeaebbee Add TurnScreenOnApps
Bug: 284032615

Test: Manually on device and unit test
Change-Id: I4ccbf5892b3830a6c4657e43850d9b0eab5aecba
2023-11-02 11:45:07 +08:00
Chaohui Wang
872cb0b209 Merge "Migrate CellDataPreference to switchPreferenceCompatStyle" into main 2023-11-02 03:41:21 +00:00
Jun Lan
4e80698911 Merge "Add cache for PackageManager.getPackageUid to improvement performance" into main 2023-11-02 01:29:13 +00:00
Chaohui Wang
2a754471e7 Merge "Fix mobile data usage chart on first day of cycle" into main 2023-11-02 00:04:47 +00:00
Faye Yan
d37878f7d6 Merge "Update the trunk stable flag for enabling voice activation apps in Settings." into main 2023-11-01 22:32:21 +00:00
Joshua Mccloskey
ff69c0ca2d Merge "Rear Fingerprint Enrollment" into main 2023-11-01 21:10:47 +00:00
Faye Yan
b562a7cd8b Update the trunk stable flag for enabling voice activation apps in Settings.
Bug: 303727896
Change-Id: I82cf72dfaa5acc6d24749e607b9179c69381b3f2
Test: presubmit
2023-11-01 20:36:33 +00:00
Joseph Vincent
1dfa082592 Merge "Increase privatespace_hide_page_summary character limit" into main 2023-11-01 15:05:41 +00:00
josephpv
303a8ab63a Increase privatespace_hide_page_summary character limit
Bug: 308397617
Test: Manual
Change-Id: I9d1694d4a2675945ad793365df94e2c11eeec3ce
2023-11-01 13:50:39 +00:00
Yiyi Shen
1af86c34af [Audiosharing] Add audio sharing stream name preference.
Flagged with enable_le_audio_sharing

Bug: 305620450
Test: Manual
Change-Id: I1502fb824bcf612d069ee24d7af67afda5e997bb
2023-11-01 13:32:09 +00:00
Mark Kim
e9d3e9047c Merge "Move launch button from 3-buttons panel to the top right corner" into main 2023-11-01 13:11:52 +00:00
Chaohui Wang
e97bffd63f Fix mobile data usage chart on first day of cycle
Bug: 295260929
Test: manual - on Mobile data usage
Change-Id: Ib3345ee8541b9312fd26c7320fcf7193dc986236
2023-11-01 19:58:50 +08:00
Mark Kim
fda2e169bc Move launch button from 3-buttons panel to the top right corner
Test: AppButtonsTest, TopBarAppLaunchButtonTest

Bug: 304255179
Change-Id: Ib8ac1670e0910436f4200e2200714c65b2a593f9
2023-11-01 11:20:22 +00:00
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
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
Treehugger Robot
418f3ef6b9 Merge "settings(payments): Use newly exposed formal API for CardEmulation.getServices()" into main 2023-10-31 18:17:00 +00:00