Commit Graph

760752 Commits

Author SHA1 Message Date
Justin Weir
c073bceed0 Merge "Add lastActive to the media carousel sort comparator" into tm-dev 2022-05-20 19:39:42 +00:00
Brian Julian
bf1f22d0a4 Merge "DO NOT MERGE. Add a permissions check to LocationManagerService." into tm-dev 2022-05-20 19:26:04 +00:00
Prabir Pradhan
3c232f03f3 Merge "IMS: Refactor additional display input properties to avoid deadlock" into tm-dev 2022-05-20 18:42:39 +00:00
Sudheer Shanka
92762b949b Merge "Add a flag to limit notif-seen signal changes to T targeting apps." into tm-dev 2022-05-20 18:01:58 +00:00
Sudheer Shanka
7950f77ee3 Merge "Don't change bucketing reason if app is already in better bucket." into tm-dev 2022-05-20 17:54:38 +00:00
Sudheer Shanka
c5229086de Merge "Update TEST_MAPPING to include broadcast response related tests." into tm-dev 2022-05-20 17:46:10 +00:00
Miranda Kephart
2e16265eee Merge "Clipboard accessibility fixes" into tm-dev 2022-05-20 16:44:55 +00:00
Marat Davliatchin
06f06e924c Merge "[SystemUI] Implement a way to put satin_dev.apk into test assets" into tm-dev 2022-05-20 16:37:03 +00:00
TreeHugger Robot
5470b037a6 Merge "Make low battery warning notification dismissable" into tm-dev 2022-05-20 16:02:37 +00:00
Hawkwood Glazier
fc27977780 Merge "Changing the system theme no longer causes a UMO flicker" into tm-dev 2022-05-20 15:47:27 +00:00
TreeHugger Robot
851b2e6a4d Merge "Ignore flaky test" into tm-dev 2022-05-20 15:33:15 +00:00
Hawkwood Glazier
377b939814 Changing the system theme no longer causes a UMO flicker
Recreating the UMO causes a visual flicker. Since the
theme can be changed from a quick setting, this flicker
may occur while it is onscreen. The UMO now uses it's
own colors and does not need to be recreated for theme
changes.

Test: Manual
Fixes: 232295658
Fixes: 204414378
Change-Id: Ifcdb95e7b783cfe8634c8280ac1aa13f193e04bd
2022-05-20 15:21:23 +00:00
TreeHugger Robot
12a7628e16 Merge "Remove preferKeepClearAreaForFocusDelay, turn it into a flag" into tm-dev 2022-05-20 14:48:45 +00:00
Robert Horvath
b8b8396a2c Merge "Fix reporting of unchanged keep clear areas" into tm-dev 2022-05-20 14:32:14 +00:00
Naomi Musgrave
55ecb4ec82 Merge "[Media Projection] Require valid token to set session" into tm-dev 2022-05-20 13:39:48 +00:00
Lucas Lin
57836676ac [automerger skipped] Merge "Clear mInterface before calling resetIkeState()" into rvc-dev am: 7ba3a378c5 am: 1f68b323f3 am: 59378118d7 am: 6b1bf26b0b am: 2eb95344c5 -s ours
am skip reason: Merged-In I7f9a1d9afd2a40762e9fac68edf1fb8ae75df8bc with SHA-1 520cc2fde3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18279994

Change-Id: I08f169e98cde7f32b63143b2ee370b290c2775bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 12:44:02 +00:00
TreeHugger Robot
f596386556 Merge "Show mobile data icon with carrier Wi-Fi level in Quick-Settings" into tm-dev 2022-05-20 12:33:58 +00:00
Ricky Wai
8d4ecda17e Merge "Do not update enabled state when app ops is not changed" into tm-dev 2022-05-20 10:52:36 +00:00
Wesley Wang
4788cc8ee1 Merge "Remove EnhancedEstimates isHybird flag from trigger condition" into tm-dev 2022-05-20 09:50:10 +00:00
Chaohui Wang
dfed7f9e2f Merge changes from topic "jank-toggle" into tm-dev
* changes:
  Add SettingsJankMonitor
  Add SETTINGS_TOGGLE CUJ to InteractionJankMonitor
2022-05-20 09:22:46 +00:00
Alex Johnston
f428adf2e4 Merge "Update network logging delegation docs" into tm-dev 2022-05-20 08:29:47 +00:00
Wesley Wang
2f11067a62 Make low battery warning notification dismissable
Bug: 233282171
Test: atest SystemUITests
Change-Id: I3a9928d940213d140986bba4749423866e9fdb3d
2022-05-20 08:02:31 +00:00
Weng Su
54824c3e64 Show mobile data icon with carrier Wi-Fi level in Quick-Settings
- If carrier Wi-Fi is active then use carrier Wi-Fi level instead of
  mobile data level.

- If carrier Wi-Fi level is less than min-level, use min-level instead.

Bug: 222885558
Test: manual test
atest -c InternetDialogControllerTest

Change-Id: If8d2871e61396dd8eb3ebab5eda0906d46a06c33
2022-05-20 15:01:06 +08:00
Michael Rosenfeld
512b28faf4 Merge "Add an option, --reset-all, to dumpsys batterystats." into tm-dev 2022-05-20 06:54:58 +00:00
TreeHugger Robot
715e111819 Merge "[DO NOT MERGE] Revert "Remove VCN Carrier Privilege grace period"" into tm-dev 2022-05-20 06:43:23 +00:00
Wesley Wang
2bc7c1b7bb Remove EnhancedEstimates isHybird flag from trigger condition
- In some rare cases, EnhancedEstimates will not provide isHybird as true(means EnhancedEstimates can not provide data to us), it will makes low battery warning logic back to the previous trigger flow, remove isHybird condition to make sure we always use the new trigger condition.
 - Although BatteryStateSnapshot will be created by different EnhancedEstimates data, but we already remove the usage of remaining time as our trigger condition(which provided by EnhancedEstimates) so we are safe to always use new trigger condition with or without EnhancedEstimates data. we should think about refactor the class here in the future.
 - Use current battery level as notifications string content instead of a fixed value.

Bug: 232663250
Bug: 232686016
Bug: 232712770
Test: atest SystemUITests
Change-Id: I412be50763db39d364757ae3afc2927467451118
2022-05-20 11:56:53 +08:00
TreeHugger Robot
24928c481d Merge "Adjust LogAccessDialog themeing for TV" into tm-dev 2022-05-20 03:17:24 +00:00
Beth Thibodeau
96909e2f3e Ignore flaky test
Bug: 233283726
Test: atest, verified ignored
Change-Id: I82162880c0c63cee02ddb45dcde49f601adf65a1
2022-05-19 22:00:17 -05:00
Lucas Lin
2eb95344c5 Merge "Clear mInterface before calling resetIkeState()" into rvc-dev am: 7ba3a378c5 am: 1f68b323f3 am: 59378118d7 am: 6b1bf26b0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18279994

Change-Id: I3fa32ef295e36ff6e991378ae75cb21ca2769d38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 02:34:25 +00:00
Calvin Pan
cdcff91c57 Merge "Avoid printing call stack for the app that doesn't add the LocaleConfig" into tm-dev 2022-05-20 01:52:46 +00:00
Arc Wang
20efd509d8 Merge "Change ripple color for Spinner" into tm-dev 2022-05-20 01:23:24 +00:00
TreeHugger Robot
ff1ae8716f Merge "Launch app intent after unlock" into tm-dev 2022-05-20 01:02:45 +00:00
Lucas Lin
6b1bf26b0b Merge "Clear mInterface before calling resetIkeState()" into rvc-dev am: 7ba3a378c5 am: 1f68b323f3 am: 59378118d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18279994

Change-Id: I831ae41f1de1dd8cd8c150f266b8ec07f57413e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 00:48:57 +00:00
Lucas Lin
59378118d7 Merge "Clear mInterface before calling resetIkeState()" into rvc-dev am: 7ba3a378c5 am: 1f68b323f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18279994

Change-Id: I8ad5f88e34f6d3838bf63f0350af8fe333db850f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 00:28:57 +00:00
Lucas Lin
1f68b323f3 Merge "Clear mInterface before calling resetIkeState()" into rvc-dev am: 7ba3a378c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18279994

Change-Id: I302b84b9b7fd6bd62dbac6eec2eb37b389a431eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 00:10:36 +00:00
Lucas Lin
7ba3a378c5 Merge "Clear mInterface before calling resetIkeState()" into rvc-dev 2022-05-19 23:46:09 +00:00
Robert Wu
5596184a23 Merge "USB MIDI: Use Thread.interrupt() to close threads" into tm-dev 2022-05-19 23:02:19 +00:00
Rambo Wang
3a8a004d2a [DO NOT MERGE] Revert "Remove VCN Carrier Privilege grace period"
This reverts commit fb4a590dbc.

This change brings back the grace period built in VCN because
the carrier privileges grace period is turn off.

Bug: 229418673
Test: atest FrameworksVcnTests CtsVcnTestCases
Change-Id: I85738c969c2bf78da33beaebe5863432948b7735
2022-05-19 22:58:29 +00:00
Alexandre Elias
9df49914b1 Merge "Improve SearchView & secondary text accessibility" into tm-dev 2022-05-19 22:15:01 +00:00
Justin Weir
04fb2d8174 Add lastActive to the media carousel sort comparator
See b/231339801 for more information.

Fixes: 231339801
Test: Augmented existing tests. Manually reproduced without fix and could not reproduce with it.
Change-Id: I5b365e2064b6680dc136903016ee9ae6b7d3ce7c
2022-05-19 22:02:51 +00:00
TreeHugger Robot
2b4f92c65a Merge "Update sync exemptions log to include restriction level." into tm-dev 2022-05-19 21:57:47 +00:00
Sudheer Shanka
55d482aa0a Don't change bucketing reason if app is already in better bucket.
Bug: 233256741
Test: atest tests/tests/app.usage/src/android/app/usage/cts/UsageStatsTest.java
Test: atest ./services/tests/servicestests/src/com/android/server/usage/AppStandbyControllerTests.java
Test: atest ./services/tests/servicestests/src/com/android/server/usage/AppIdleHistoryTests.java

Change-Id: I9850f160498d5e8a4d0dfa45307fcde9851635f8
2022-05-19 13:56:01 -07:00
Robert Horvath
2a6ce367fe Remove preferKeepClearAreaForFocusDelay, turn it into a flag
TV PiP repositioning in response to keep clear area changes will be
debounced in SystemUI, so the client side delay in setting a keep clear
area with focus becomes obsolete.
Instead the config is turned into a flag for whether focused views
should automatically be marked as keep clear areas.

Bug: 231309309
Test: atest KeepClearRectsTests
Change-Id: I0ac61e671bb75e22a95b400c9bd8d84004379e43
Merged-In: I0ac61e671bb75e22a95b400c9bd8d84004379e43
2022-05-19 19:27:44 +00:00
TreeHugger Robot
0a9cb9b46d Merge "Fix notifications accepting touches outside their bounds" into tm-dev 2022-05-19 18:55:50 +00:00
Amith Yamasani
b6da699d30 Merge "Sanitize Uri.toSafeString() some more." into tm-dev 2022-05-19 16:53:29 +00:00
Robert Wu
6cd937c488 USB MIDI: Use Thread.interrupt() to close threads
We start input threads before setting mIsOpen.
This means that sometimes, input threads immediately exit
due to a race condition.

The fix here is to remove the use of mIsOpen and use a new
mechanism with Thread.interrupt() and Thread.interrupted()
to mark a thread to be closed.

Bug: 223316278
Test: MidiScope/MidiKeyboard
Test: CTS Verifier Bluetooth Tests
Change-Id: I7c221504ae8a8814c1aa5598552494c80c202eb2
2022-05-19 16:01:52 +00:00
Ricky Wai
c833d2e11d Do not update enabled state when app ops is not changed
Only update it when app ops state is changed, as the preference
is possibly disabled by other components already.

Bug: 222677960
Test: "Sensitive Notification" grey out works
Test: Enhanced confirmation flow for accessibility works
Change-Id: I4930ede5de1bfe7594d4f9c6aa5fbd468528a313
2022-05-19 15:58:37 +00:00
TreeHugger Robot
8890d47366 Merge "Distinguish process-switch for launch trace" into tm-dev 2022-05-19 15:37:50 +00:00
Matt Pietal
fdcb3b0fd5 Launch app intent after unlock
While the taskview may embed a showWhenLocked activity, there is no
guarantee that launching the full activity will also have this
property. Instead, prompt for auth before launching the full intent.

Fixes: 232954894
Test: manual - use showWhenLocked activity over lockscreen, then click
top right button to launch full screen

Change-Id: I82857e4cf16b90a2e1a89b61e30aa89948072f87
2022-05-19 10:56:49 -04:00
Junyu Lai
23ed66f130 Merge changes from topic "stats-migration" into tm-dev
* changes:
  Add null check when list directory
  [MS82.2] Add a rewriteSingle method that takes two timestamps
2022-05-19 14:54:02 +00:00