Commit Graph

640958 Commits

Author SHA1 Message Date
Seth Moore
85d779c4a4 Merge "Don't re-wrap DeviceIdAttestationExceptions" am: 27bc799e7e am: 02359c00d6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1698089

Change-Id: I17754a3aba63e623254df7857cdd3630fa0a6c16
2021-05-07 03:10:04 +00:00
Treehugger Robot
b4a032843b Merge "Move myself to emeritus section" am: c8fd9b844b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1697183

Change-Id: Ic320fcc715e5ca0d3f48fe2dc572257ea1e97f7c
2021-05-07 02:53:45 +00:00
Wessam Hassanein
12dfac6247 Merge "Enable PerfettoJavaHeapStackProf in the zygote." am: 45087d31f8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1692305

Change-Id: Ifa70b1e495815efdfaa565a825e94aa1279d3ff0
2021-05-07 02:51:05 +00:00
Rambo Wang
524b0aaec6 Merge "Make LocationAccessQuery's builder safer to use" am: a863b0297b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1695246

Change-Id: Icd029967f7bc650977d408d6110ab5a78f7e8bd6
2021-05-07 02:47:20 +00:00
Seth Moore
02359c00d6 Merge "Don't re-wrap DeviceIdAttestationExceptions" am: 27bc799e7e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1698089

Change-Id: Iee544cafa0cba275bb151cd99b431af00389ffb6
2021-05-07 02:40:27 +00:00
YUKAI HUNG
5e024acb23 Merge "Update AOD charging strings" into sc-dev 2021-05-07 02:10:19 +00:00
Arthur Hung
f08df83724 Update ColorFade to use BLAST
If mode is MODE_FADE, it use a simple dim layer, it's unnecessary to
create the surface.

Bug: 186274303
Test: turn off/on screen to see if ColorFade works fine
Change-Id: I0f9f3bab63afe2fb37ae87f37cd6c55e924639fb
2021-05-07 10:09:12 +08:00
Lucas Dupin
2fb9945011 Inherit theme colorControlHighlight
Fixes: 187465854
Test: manual
Change-Id: Ia85c1eb9bedebd394d2493dbb959e50d31c0a6f2
2021-05-06 19:02:05 -07:00
TreeHugger Robot
6a483f4f46 Merge "Fix a serialization issue in sync op reporting" into sc-dev 2021-05-07 01:57:32 +00:00
Sungsoo Lim
027d957f92 Check the device type instead of the object reference
Also print a log when restore route to default while a bluetooth
route is avaialble.

Bug: 176386259
Test: build
Change-Id: I4a974438040595597fbf4dcb0ec57d49351540ef
2021-05-07 10:56:15 +09:00
Ying Xu
edec7fd6b1 Merge "Immediately hide the icons when QS starts to expand" into sc-dev 2021-05-07 01:51:36 +00:00
Hui Wang
4769fd369b Merge "Process rcsVolteSingleRegistration if it is not provided or roaming" into sc-dev 2021-05-07 01:50:24 +00:00
Lucas Dupin
b73fa47929 Merge "Adding force-dark support to RippleDrawable" into sc-dev 2021-05-07 01:08:43 +00:00
Beth Thibodeau
34d64788a1 Adjust size of action buttons
Increase height to 56dp in compact mode, and scale icons down to 24dp

Bug: 187421292
Test: visual
Change-Id: If5e691a77ae03634eb7574eb383d5a31736c26ee
2021-05-06 20:55:23 -04:00
Lucas Dupin
a79111e05c Fix sparkle alpha blending
We should not blend between the fill alpha and the sparkle alpha.
This would cause the sparkle pixel to have lower opacity than the fill,
when the fillAlpha > sparkleAlpha.

We do need to blend the fill and sparkle colors, but their alphas need
to be combined separately.

In the end we then premultiply the alpha into the color.

Test: manual
Bug: 186130682
Change-Id: I519f6c797839feda14e714c7375ee727aba2cf8b
2021-05-06 17:45:59 -07:00
Svet Ganov
2ae82e1302 Fix a serialization issue in sync op reporting
If the application thread is not ready yet we cannot
get the package name and were shrt circuiting which
let to leaving the remainder of the payload in the
parcel breaking subsequent content reads.

bug: 184616098

Test: atest CtsAppOpsTestCases

Change-Id: I83f0d74deb87f2b4517d8a4d10b5331c7d41bb89
2021-05-07 00:12:58 +00:00
Winson Chung
cacddc52aa Merge "Lazy initialize the choreographer" into sc-dev 2021-05-07 00:05:01 +00:00
Nate Myren
861d729a60 [automerger skipped] Ensure storage permission revoke happens for all users am: 37acd7ee52 am: 9fd3879e6e am: daa48cb59d -s ours
am skip reason: Merged-In Ieb8bb9cde1576e9eee131338d393b8a3528341ec with SHA-1 37acd7ee52 is already in history

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

Change-Id: I797cc4e8f23b4996eb855ed98286e4f98dffd59d
2021-05-06 23:41:30 +00:00
Nate Myren
8b0549a28d [automerger skipped] Ensure storage permission revoke happens for all users am: 37acd7ee52 am: 59e325d971 -s ours
am skip reason: Merged-In Ieb8bb9cde1576e9eee131338d393b8a3528341ec with SHA-1 1a3709073f is already in history

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

Change-Id: I89f7aa7eb6b04b385ac7403559c193cb14514df8
2021-05-06 23:24:11 +00:00
Nate Myren
daa48cb59d Ensure storage permission revoke happens for all users am: 37acd7ee52 am: 9fd3879e6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14351820

Change-Id: I0793813f41ab5db7196260fa2e3907e38775ed04
2021-05-06 23:23:33 +00:00
Kweku Adams
6c0d7e0e94 Merge "Handle out-of-ej-quota case." into sc-dev 2021-05-06 23:14:47 +00:00
Lyn Han
e7db82a8f2 Merge "Fade notifications with background scrim for shade expansion" into sc-dev 2021-05-06 23:14:24 +00:00
TreeHugger Robot
d8ef2b30f4 Merge "Add a default implementation of UiTranslationStateCallback#onResumed." into sc-dev 2021-05-06 23:07:12 +00:00
Nate Myren
59e325d971 Ensure storage permission revoke happens for all users am: 37acd7ee52
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14351820

Change-Id: I90d73ed220a537e8ff6567c0d0010643302e07b1
2021-05-06 23:01:28 +00:00
Nate Myren
9fd3879e6e Ensure storage permission revoke happens for all users am: 37acd7ee52
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14351820

Change-Id: I1ddc2e08a24de09963fbda968363e06639a840d8
2021-05-06 22:59:56 +00:00
Jay Aliomer
79be866400 Notification settings cog button ripple under notification
moved ripple to the same layer as icon

Fixes: b/181336505
Test: visual
Change-Id: Iabe3ced7e77f5709030900f287dde40ff4d87e2a
2021-05-06 22:48:15 +00:00
Song Hu
6a075b5e85 Merge "Pass Intent as additional parameter in ContentSuggestionsServiceClient#notifyAction. This allows QuickShareProcessor to report share event in notifyInteraction. SystemUI side change." into sc-dev 2021-05-06 22:39:38 +00:00
Anna Zappone
285e5f1ba0 Merge "Update last interaction storage notification clear" into sc-dev 2021-05-06 22:37:38 +00:00
Nate Myren
1894882d66 Merge "Disable status bar indicator icon" into sc-dev 2021-05-06 22:34:16 +00:00
Treehugger Robot
c8fd9b844b Merge "Move myself to emeritus section" 2021-05-06 22:24:55 +00:00
Kweku Adams
3901c1be65 Put bad apps in the RESTRICTED bucket.
Put an app in the RESTRICTED bucket if it's crashed enough to be marked
bad.

Bug: 183103253
Test: manual (consistently crash an app via 'adb shell am crash <pkg>'
in intervals larger than MIN_CRASH_INTERVAL until the limit is reached
and check 'dumpsys activity usage' to ensure lastRestrictAttempt and
lastRestrictReason are both set for the app

Change-Id: Ie8c36075573efcb4f63bf6f8d836f2edb3bb27cd
2021-05-06 15:21:05 -07:00
Lucas Dupin
00af5271da Adding force-dark support to RippleDrawable
Add force-dark support to RippleDrawable by modifying the ink color.

Test: manual
Test: atest CanvasOp
Fixes: 186130682
Change-Id: I89eaaf3afa5ec53a74d2d08de8cff6484e55a912
2021-05-06 15:17:02 -07:00
Kate Montgomery
3a0647fcd1 Update the default location mode for Battery Saver in order to get
droidfood test coverage on the intended change.

This value is also protected by flags so it can be set to the previous
value while we run requested population experiments. Power tests show
that this change causes a < 1% change in days of use (see b/178902585).

Bug: 184875711
Test: Manual
Change-Id: Ied13dc79b0dca655dea05ad61f0b54f81290673c
2021-05-06 22:16:24 +00:00
Lyn Han
f4a03dcde6 Merge "Fix bug where lockscreen notification is minimized and not dismissable" into sc-dev 2021-05-06 22:11:19 +00:00
TreeHugger Robot
74d99a1b7d Merge "Add additional logging around foreground/permitted" into sc-dev 2021-05-06 22:10:43 +00:00
Evan Rosky
afb641756c Merge "Compat-rotate motion-events injected into dispatcher" into sc-dev 2021-05-06 22:08:20 +00:00
George Mount
d6904408b7 Don't include stretch overscroll in benchmark.
Fixes: 187219563

The benchmark watches the number of frames and the
stretch overscroll animation can affect the number
of frames that are produced.

Test: ran testSlowBindRecyclerViewFling
Change-Id: I90774980be850eda797fb80e655e7f4cd2dd76ac
2021-05-06 22:04:49 +00:00
Lyn Han
7043460f48 Merge "Restore 1:1 relationship between swipe and shade expansion" into sc-dev 2021-05-06 22:02:24 +00:00
Kweku Adams
cefde1b88e Merge "Avoid using stale sessions for cleanup alarm." into sc-dev 2021-05-06 21:58:52 +00:00
Kweku Adams
061f335321 Avoid using stale sessions for cleanup alarm.
Remove old EJ timing sessions before we schedule the next cleanup alarm.
If we don't remove them, then we will continue to use stale sessions as
the basis for the next cleanup alarm, which would eventually result in
scheduling alarms in the past.

Bug: 187351354
Test: atest FrameworksMockingServicesTest:QuotaControllerTest
Change-Id: I1b968e0461efe9aad3e785760a3cd2f5d8d4de8b
2021-05-06 21:58:13 +00:00
Steven Ng
c7e22233dc Print the full exception upon widgets inflation error
Test: none
Bug: 184750539
Change-Id: If026cc09dc9f96f1443b7b6e73e0e4f219050183
2021-05-06 22:45:11 +01:00
Lyn Han
415ceb05c1 Fade notifications with background scrim for shade expansion
Bug: 172289889
Test: open and close shade => fade in and out
      scroll shade / normal usage => no fade
Change-Id: Ib6676e8d8eac0e4dd4ed84f08249bd2ec83ca77b
2021-05-06 16:43:54 -05:00
Ben Lin
394f4792e6 Merge "PiP: API - explain isStashed in more detail." into sc-dev 2021-05-06 21:29:58 +00:00
Cecilia Hong
8494eaaf8c Merge "Slide transition from the media reco card to the active media player after a media reco is tapped." into sc-dev 2021-05-06 21:23:15 +00:00
Suprabh Shukla
9b8ab9c13a Add rtc fields to pushed alarm atoms
Test: statsd_testdrive 368 10106

Bug: 177556103
Change-Id: Iaf7f04370b73118723cd2fbb08fd18b43aa70d8d
2021-05-06 21:20:25 +00:00
Chong Zhang
5113027706 MediaTranscodeManager: delay getService
Remove getService from the constructor, delay
getting the service until it's used.

bug: 187425268
test: CTS MediaTranscodeManagerTest
Change-Id: I502bb428fcde96874a1af431af07413feea64d7a
2021-05-06 14:17:18 -07:00
Wessam Hassanein
45087d31f8 Merge "Enable PerfettoJavaHeapStackProf in the zygote." 2021-05-06 21:08:01 +00:00
Ahaan Ugale
ebc8d5154a Add a default implementation of UiTranslationStateCallback#onResumed.
This is temporary, to avoid breaking clients that already implemented
the API before onResumed was added.

Bug: 185274258
Test: manual
Change-Id: Icd2c392e248f01c22b95e0b88ba56847ae71f10a
2021-05-06 13:48:58 -07:00
Vinit Nayak
c5535ff014 Merge "Pass IME visibility info to launcher" into sc-dev 2021-05-06 20:47:36 +00:00
Grace Cheng
610ec38145 Merge "Configures SideFpsEventHandler to handle PhoneWindowManager behavior in response to side fingerprint sensor state changes" into sc-dev 2021-05-06 20:28:56 +00:00