- Mar 28, 2022
-
-
Seth Moore authored
Every time we create a credential, contact the Provisioner app and tell it that a key was generated. This may not strictly be true, but the provisioner has heuristics to ensure that it only contacts the backend if necessary. So, at most, we're spinning a few extra cycles whenever a new credential is created (which is a rare occurence) to ensure that we have RKP keys available for future requests. Test: CtsIdentityTestCases Fixes: 224771551 Change-Id: I6dd20635e6933842a95242e6d0cbfb9bf8c8f734
-
- Mar 25, 2022
-
-
Kyunglyul Hyun authored
-
Treehugger Robot authored
-
- Mar 24, 2022
-
-
Janis Danisevskis authored
The metadata field is written unconditionally and will be represented at least by a -1 if it is null. Bug: 210655898 Test: N/A Change-Id: Iad85dbec916a2d51523b81b594b66b9518811d27
-
Rambo Wang authored
-
Hui Yu authored
Merge "[Bugfix] Don't delete mPendingUids if PendingTopPid is added later than updateOomAdj started"
-
Bernardo Rufino authored
-
Robert Horvath authored
-
Bernardo Rufino authored
As part of go/untrusted-touches for S, we blocked touches from passing windows of different UIDs regardless of targetSdk. For SAWs, we applied an opacity rule where apps would be able to let touches pass through (usually via FLAG_NOT_TOUCHABLE) as long as their cumulative opacity in the touch area wasn't greater than 0.8. This resulted in some overlay apps being broken, which we expected and saw to some extent in df/dp/beta, but we had reached out and some apps fixed the issue. But the issue seems to be more widespread and OEM has escalated the issue, reporting it to be affecting them more severely (see bug). So, we automatically make SAW + FLAG_NOT_TOUCHABLE windows have 20% transparency to try to honor FLAG_NOT_TOUCHABLE and let touches pass through. Note that if the app has overlapping windows the cumulative opacity would be taken into consideration and the touch could still be blocked, but none among the apps I checked did that. Test: atest -d android.server.wm.WindowUntrustedTouchTest Test: Install and enable you.in.spark.energy.curved, verify touches work in the top part of the screen. Bug: 218777508 Merged-In: I3a74e1cc43a36171ee10fbf68c4bfff538eee661 Change-Id: I3a74e1cc43a36171ee10fbf68c4bfff538eee661
-
Patrick Rohr authored
-
Patrick Rohr authored
-
Charles Chen authored
-
huang chaopeng authored
Analysis: 1.Doing updateOomAdjInnerLSP in backgroud, and it would last for a long time 2.Now start a new Activity, windowManager save the latest topUid into PendingStartActivityUids 3.updateOomAdj task in step.1 done, and then delete all uids in PendingStartActivityUids 4.The topApp will be rejected by AppOps due to the deleting in step.3 Signed-off-by:
huang chaopeng <huangchaopeng@oppo.corp-partner.google.com> Change-Id: I52c7c2a8d6cb86b27b1f008cb56f670ce7698dc9
-
- Mar 23, 2022
-
-
Chen Xu authored
-
Rambo Wang authored
-
Rambo Wang authored
CarrierPrivilegesListener has been replaced with CarrierPrivilegesCallback. With all clients has been migrated, it is time to remove the obsoleted APIs Bug: 216549778 Test: atest CarrierPrivilegesTrackerTest CarrierServiceTest Test: atest WifiCarrierInfoManagerTest TelephonyRegistryManagerTest Test: atest TelephonySubscriptionTrackerTest Change-Id: I89df21764d3b9945219d810d0dd9bfe3cf5fbea4 Merged-In: I89df21764d3b9945219d810d0dd9bfe3cf5fbea4 (cherry picked from commit 5a4bcc0a)
-
Treehugger Robot authored
-
Rambo Wang authored
-
Rambo Wang authored
-
Charles Chen authored
Test: presubmit Bug: 219652919 Change-Id: I95c609eeff47bef9ae45a5e9847eb56efc622b83
-
John Wu authored
-
Rambo Wang authored
Instead of querying package manager every time which is quite expensive, the new implementation will improve the performance by query the cache in CarrierPrivilegesTracker. Bug: 217442920 Test: atest CarrierPrivilegesTrackerTest Change-Id: I29df8599bdfc84cab330fa7056a228997a4bac0f Merged-In: I29df8599bdfc84cab330fa7056a228997a4bac0f (cherry picked from commit 28b2ee8e)
-
Remi NGUYEN VAN authored
-
Jon Eckenrode authored
Merge "Revised the API documentation of the getMetrics and getSize methods to account for differences in API levels."
-
Rambo Wang authored
-
Robert Horvath authored
This method is only called with the lock held. Annotating it helps ErrorProne verify calls to other methods that require the lock to be held are okay. Test: Build Bug: 220270435 Change-Id: I1f6c3c9e339935c06b3edd5436b2b1a7922a67ed Merged-In: I1f6c3c9e339935c06b3edd5436b2b1a7922a67ed
-
Virkumar Karavate authored
-
Jerome Gaillard authored
-
Kyunglyul Hyun authored
This CL mainly affects how MediaRouter works. Without this, MediaRouter will not be aware of LE audio routes even when it's connected so any apps depending on MediaRouter could break. This CL makes MediaRouter shows an a2dp bluetooth route, which may not be correct but we need this for backward compatiblity. We can remove this when we deprecate MediaRouter. Tag: #feature Bug: 211079178 Test: pair LE HS and switch from/to Phone speaker through the output switcher Change-Id: I4fe81e000aa13c8d07573780e2abb99eba867f36
-
Treehugger Robot authored
-
Rambo Wang authored
CarrierPrivilegesListener is renamed as CarrierPrivilegesCallback. The previous callback onCarrierPrivilegesChanged is also reshaped to provide Set of package names and UIDs. This is the minimum change to remove dependency on CPListener. A follow-up CL can simplify the logic here with the new onCarrierServiceChanged API if TelephonySubscriptionTracker only cares about carrier service. Bug: 216549778 Test: atest TelephonySubscriptionTrackerTest Change-Id: I58dbbc4b7b135781bc5f4b5bc35b29075fc6a619 Merged-In: I58dbbc4b7b135781bc5f4b5bc35b29075fc6a619 (cherry picked from commit 374f0045)
-
Rambo Wang authored
Add new interface in CarrierPrivilegesCallback to notify the registrants that carrier service for current user has changed. Reshape the parameters of onCarrierPrivilegesChanged callback with both Set instead of List/Array. CarrierPrivilegesListener is deprecated. Once all clients have migrated to CarrierPrivilegesCallback, it will be throughly cleaned up. Bug: 216549778 Test: atest CarrierPrivilegesTrackerTest CarrierServiceTest Test: atest WifiCarrierInfoManagerTest TelephonyRegistryManagerTest Test: atest TelephonySubscriptionTrackerTest Change-Id: I18e443d91f1db951f1461511821c0f5f673da3a3 Merged-In: I38d03e3921112c313f3c1d204ed04f6e1756ff39 (cherry picked from commit b66e3e3a)
-
sandeepjs authored
Updated sim access API's with portIndex. Test: atest TelephonyManagerTest#testIccOpenLogicalChannelBySlotAndPort Test: atest TelephonyManagerTest#testIccCloseLogicalChannelBySlotAndPort Test: atest TelephonyManagerTest#testIccTransmitApduLogicalChannelBySlotAndPort Test: atest TelephonyManagerTest#testIccTransmitApduBasicChannelBySlotAndPort Bug: 208739934 Change-Id: I32fc94f2fe98c46d8bb0120fff49e5b72df27ddf Merged-In: I32fc94f2fe98c46d8bb0120fff49e5b72df27ddf
-
Jordan Liu authored
Bug: 205504646 Test: manual (builds, will not be functional until LPA implementation) Change-Id: Ic289538f5df17c03b2f8da7f4966c583d4557586 Merged-in: Ic289538f5df17c03b2f8da7f4966c583d4557586
-
- Mar 22, 2022
-
-
Automerger Merge Worker authored
* changes: [automerger skipped] Merge "Mark ab/8191998 as merged" into android12L-tests-dev am: b503c60a -s ours [automerger skipped] Mark ab/8191998 as merged am: b6de19fa -s ours
-
Xin Li authored
[automerger skipped] Merge "Mark ab/8191998 as merged" into android12L-tests-dev am: b503c60a -s ours am skip reason: Merged-In I59cf3c21edce836ffbe9f24a08b3a8e077c5fcf3 with SHA-1 837917a6 is already in history Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2037106 Change-Id: I8812b0c4d88553ef848c64b4d91218f5996f78c6
-
Maria Yang authored
am skip reason: Merged-In I59cf3c21edce836ffbe9f24a08b3a8e077c5fcf3 with SHA-1 837917a6 is already in history Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2037106 Change-Id: I25faa6ae899b008999de3cbad950929d6388b87f
-
Automerger Merge Worker authored
-
Vincent Wang authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17128491 Change-Id: Ie06e8adff8d5440ba2bf4f158cab0207ac965c66
-
Automerger Merge Worker authored
Merge "[automerger skipped] DO NOT MERGE Fix issue with bubble stack & bubble data expanded bit being out of sync am: b373fd8f -s ours"
-