Age | Commit message (Collapse) | Author |
|
Change-Id: I1b466f0dc33487e3642d2b78683bd95dff599fb1
|
|
If a profile owner is defined for a specific user, do not delete usage
stats for a package on package deletion.
Bug: 197399948
Test: atest UserUsageStatsServiceTest
Test: atest UsageStatsTest [all]
Change-Id: I94a8e3dfca8ef4c7616f77944d61726e06043b85
Merged-In: I94a8e3dfca8ef4c7616f77944d61726e06043b85
(cherry picked from commit 157fbcfbe4b38075391aef5b4977d45702a06936)
Merged-In:I94a8e3dfca8ef4c7616f77944d61726e06043b85
|
|
sc-qpr1-d-release.
Change-Id: Idf4f77f0613245cf4b5a4684646ecb9de3f1338b
|
|
Recreating the control's intent in SystemUI can be exploited to launch
Intent's with SystemUI's privileges, rather than what is limited to
the application. Use the fillInIntent parameter to supply additional
parameters to the application.
Bug: 193445603
Test: Follow directions in bug to retest
Change-Id: Ib2b0342af85679c0514fb4d88530376b58e6e12a
Merged-In: Ib2b0342af85679c0514fb4d88530376b58e6e12a
(cherry picked from commit 0e120a5d4f8998e343f3c8106081037017613082)
(cherry picked from commit 96aa501bb12a22f63241dc5b756322ba9b2a6827)
Merged-In:Ib2b0342af85679c0514fb4d88530376b58e6e12a
|
|
The size of the input of both setStream and setResource may very big
that system server got oom while handling it, so we try to decode it
first before copying it to the wallpaper path, if the decoding fails, we
treat the input as an invalid input.
Bug: 204087139
Test: Manually set wallpaper, no PDoS observed.
Change-Id: I014cf461954992782b3dfa0dde67c98a572cc770
(cherry picked from commit 51b874f628dc45d99d10ce84694277e33a736894)
Merged-In:I014cf461954992782b3dfa0dde67c98a572cc770
|
|
Bug: 199550934
Fixes: 206688513
Fixes: 204946898
Test: Manual, CtsSensorPrivacyTestCases
Change-Id: I0de460a075d9b84444832f5b1547c040e552bdf4
(cherry picked from commit d5e24c393938af5c352a0d94cabf03a1355916ec)
Merged-In:I0de460a075d9b84444832f5b1547c040e552bdf4
|
|
Need to have the same kind of data size check as in other
types parsing
Bug: 203938029
Test: manual
Change-Id: I9f5d2851ff59da90163ead6c0416f0bba3868cc4
Merged-In: I9f5d2851ff59da90163ead6c0416f0bba3868cc4
(cherry picked from commit 8002034e6b11e9be85671505475936b1ec3705b3)
(cherry picked from commit abdf5a518db1d09b2918c4286d226d409ee24420)
Merged-In:I9f5d2851ff59da90163ead6c0416f0bba3868cc4
|
|
As CL[1] that IMMS only invoke updateInputMethodTargetWindow when the
IME input target window changed, that caused somehow we can't clear
mImeInsetsFrozenUntilStartInput in ActivityRecord to make the activity
can receive IME insets correctly like when turning the screen off/on
and then unlocking the non-secure keyguard to back to the same app,
since the IME input target didn't changed.
Making sure IMMS side always invoke updateInputMethodTargetWindow to WM
to clear IME insets frozen state.
[1]: Id8a56c68a06a774ef12ba444fd9a368148ea4539
Fix: 205783849
Test: atest ActivityRecordTests#\
testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget
Merged-In: I796754992911b917a49fcd18f22019c1eecad908
Change-Id: I796754992911b917a49fcd18f22019c1eecad908
(cherry picked from commit 5d580797c11b7b08a9e35b4575db1d957749ea10)
Merged-In:I796754992911b917a49fcd18f22019c1eecad908
|
|
16214442, 16233501, 16286398, 16333337, 16372369, 16374477, 16374638] into sc-qpr1-d-release.
Change-Id: Ie9b5dc629bd203c50f341eb1aa59fd6635c11d71
|
|
Test: manual
Test: atest BiometrisUnlockControllerTest
Fixes: 206423147
Bug: 205556311
Change-Id: Ib3def01e7ffd04ac950f06cbee7d213927110b5b
(cherry picked from commit 7c64f2cd038e54fdb4df885420dda0f7c6846801)
Merged-In: Ib3def01e7ffd04ac950f06cbee7d213927110b5b
(cherry picked from commit 80d6a378b9943fa072458be23c675a0bba8e83fd)
Merged-In:Ib3def01e7ffd04ac950f06cbee7d213927110b5b
|
|
Only disallow UDFPS usage if the device is
in lockdown or reboot. Otherwise, (for reasons like TIMEOUT), we
allow the user to use fingerprint to authenticate.
Test: manual
Test: atest KeyguardUpdateMonitorTest
Fixes: 205556311
Change-Id: Ia7e56b7d9b857a76036161cbd6edd981bed3bb6c
Merged-In: Ia7e56b7d9b857a76036161cbd6edd981bed3bb6c
(cherry picked from commit 83dd25e77cc3e898b68077b25dd597cba51c6bfd)
(cherry picked from commit 90d73e4e93807e52e39d85306da0d28c6aef0a34)
Merged-In:Ia7e56b7d9b857a76036161cbd6edd981bed3bb6c
|
|
When entering PiP from GMM with Morris overlay enabled, there will be a
display change callback caused by ui mode change that tend to shift the
PiP window. For PiP, such ui mode change from app is not quite relevant
and we can simply ignore in PipController.
Bug: 201589034
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/dmI3KCeKPAH118BRqnhgNO
Test: enter PiP from GMM with Morris overlay, see video
Merged-In: I2d72e166fb8de1e503415b5441c03f0685de9573
Change-Id: I2d72e166fb8de1e503415b5441c03f0685de9573
(cherry picked from commit 391f372726af62c6d9ba9b221508003c37e8ff8a)
(cherry picked from commit 166f263128010f6a885efa17a5ebc3aa94d3b3d6)
Merged-In:I2d72e166fb8de1e503415b5441c03f0685de9573
|
|
- It's possible for the nav bar configuration to change between locking
and unlocking the phone, which will prevent the alpha from being
restored on the bar layout correctly. This change updates the alpha
of both vertical/horizontal layouts in NavBarView since they should
always be in sync.
Bug: 206733387
Test: atest SystemUITests
Test: Lock screen in landscape app, turn screen on and unlock
Change-Id: I265d04e6e2192f2bb57b1f8d77390664236427fc
(cherry picked from commit 9b53d2ecabe2472a464007dd463593f95b4e19d5)
(cherry picked from commit acb755ce9e27832bc1b02670098d144231b300e0)
Merged-In:I265d04e6e2192f2bb57b1f8d77390664236427fc
|
|
SysUI listens to volume change events to trigger showing its
volume control overlay UI. Normally when a hardware volume
key is pressed, a volume (either locally or for a session
corresponding to a remote playback) is changed, SysUI receives
an event and the UI is displayed.
In the case that a remote session doesn't allow volume
adjustment, the key event is still routed to the session if
that session is top of the stack. However, since the volume is
not adjusted and an event is not dispatched, the SysUI volume
control overlay doesn't appear. To the user it seems like the
volume hardware key is broken, neither adjusting a volume or
displaying the volume control overlay UI.
This change fires volume change events for sessions that
don't support actually changing the volume, to ensure that
the SysUI is still displayed. It also seems more consistent,
since there are other existing cases where the volume doesn't
actually change for which an event is still fired (e.g.,
adjusting up when already at max volume).
An alternative would be to change MediaSessionRecord's
canHandleVolumeKey to return false for sessions that don't
support volume adjustment, which would mean the key event
would be handled by the next session in the stack (or, in
most cases, to make a local volume adjustment). This is likely
more confusing, since the user will generally expect the top
session to be adjusted (surfacing that it could not is less
confusing than just adjusting some other volume instead).
Bug: 197586676
Bug: 202500642
Test: manual
Merged-In: Ic44b48bb5605699b476af05407b90f2be5d70cd3
Change-Id: Ic44b48bb5605699b476af05407b90f2be5d70cd3
(cherry picked from commit 771b7ebe5d10f867a44101aa7a0b0a779bacfd32)
Merged-In:Ic44b48bb5605699b476af05407b90f2be5d70cd3
|
|
Bug: 197586676
Bug: 202500642
Test: manual
Merged-In: I71d7f11b9d88dfb9ef74814e9ac7f9d28b0e652c
Change-Id: I71d7f11b9d88dfb9ef74814e9ac7f9d28b0e652c
(cherry picked from commit 92013ed958dbc7e666ced0c4b0337f03ff9381c8)
Merged-In:I71d7f11b9d88dfb9ef74814e9ac7f9d28b0e652c
|
|
Bug: 197586676
Bug: 202500642
Test: make -j50 RunSettingsRoboTests
Merged-In: I7740d78f3a7dca62d64e6cf7b8c9ffa1578c8e74
Change-Id: I7740d78f3a7dca62d64e6cf7b8c9ffa1578c8e74
(cherry picked from commit b7f52f4468a1daa7408e44fafb362b54eec20897)
Merged-In:I7740d78f3a7dca62d64e6cf7b8c9ffa1578c8e74
|
|
Test: manual
Bug: 197586676
Bug: 202500642
Merged-In: If531a23f5e7b242d3d637966b74b67acfd303199
Change-Id: If531a23f5e7b242d3d637966b74b67acfd303199
(cherry picked from commit 022081595bf4a082f8354b852eae6d5a015be3fe)
Merged-In:If531a23f5e7b242d3d637966b74b67acfd303199
|
|
Found a memory leak on ViewRootImpl. If the view wasn't been set
to the VRI successfully, there would keep the registed listeners to the
AccessibilityManager and DisplayManager forever because there didn't
need to deatch anything from window.
Another reasonable way is to register all listeners after setView
success.
Bug: 200843755
Test: manual, hard code to force addWindow fail and monitor no more
ViewRootImpl object leaked to AccessibilityManager and DisplayManager.
Change-Id: I3c9cc52d0ca4595c74c1dc3c51d286d9e6e3897f
Merged-In: I3c9cc52d0ca4595c74c1dc3c51d286d9e6e3897f
(cherry picked from commit d69deffd3551c7b008957763d218e6ed1b706384)
Merged-In:I3c9cc52d0ca4595c74c1dc3c51d286d9e6e3897f
|
|
setTurnScreenOn shouldn't dismiss keyguard automatically even when the
keyguard is insecure.
The keyguard state should only be affected by requestDismissKeyguard
and/or setShowWhenLocked, and for either case setTurnScreenOn can be
used to wakeup device if the activity is going to be resumed and
visible.
Bug: 201103497
Test: atest ActivityVisibilityTests KeyguardTests KeyguardLockedTests
Change-Id: I283dea469a33286fc9cf835e39ee5a3be2444739
(cherry picked from commit f3a1274a38ca891c1f2e86db2c1926293c90c6fa)
(cherry picked from commit 966a61366e10c5a65f9661d4b934e64b4c088d87)
Merged-In:I283dea469a33286fc9cf835e39ee5a3be2444739
|
|
Prevents non-root shell from fabricating overlays and removes all
overlays with their creating package as shell on boot.
Prevents unapproved usages of the fabrication API and cleans up
any potentially broken overlays respectively.
Bug: 202768292
Test: sts-tradefed run sts-engbuild-no-spl-lock \
-m StsHostTestCases -t android.security.sts.Bug_202768292
Change-Id: I184cc498e49c416e184cc0855a8810b57dd08175
(cherry picked from commit 627d5eb68e19a8ea18c3c1405701b3a33f073315)
Merged-In:I184cc498e49c416e184cc0855a8810b57dd08175
|
|
When an activity which occludes the keyguard finishes, WindowManager
immediately updatees the keyguard occluded status, so show-when-locked
wallpaper was not used anymore. However sysui needed some time to finish
keyguard occluded status change in their side, and meantime no wallpaper
target existed.
With this change, we keep using show-when-locked wallpaper until app
transition finishes.
Bug: 201560359
Test: manual. Show assist app on the lockscreen and close.
Change-Id: I4958a2f5ecdd12b3db43b44ee4a221972070ab2c
(cherry picked from commit f5a613e5282542ea356c20b3f397276f06d68fe9)
Merged-In:I4958a2f5ecdd12b3db43b44ee4a221972070ab2c
|
|
Change-Id: I12e9b9d31cffde5c38341457df041c56fc90882a
|
|
Auto-generated-cl: translation import
Change-Id: I782cb1bd08a0b2bb4c2caf293e1119d59e21f5dc
(cherry picked from commit eed6614c73a23dd37f5dd1e98b7814e054fa9339)
Merged-In:I782cb1bd08a0b2bb4c2caf293e1119d59e21f5dc
|
|
Change-Id: I1ccf0cf773124ca669f9b11a94cd9585cd320bb0
|
|
From android 12, the subscriberId is being used for different network
types. For instances:
The TYPE_WIFI with subscriberId means that it is a merged wifi network.
The TYPE_CARRIER means that the network associate to specific carrier
network (subscriberId).
So remove the check "isMatchRuleMobile" and only check whether subscriberId
is being used in NetworkTemplate or not.
Bug: 194939211
Test: atest -c NetworkTemplateTest
Change-Id: I80c9f887cf8b4714716d657da92ed273a532ce27
Merged-In: I80c9f887cf8b4714716d657da92ed273a532ce27
(cherry picked from commit 46cc261aa90305bdfec668af5d5ed25a27032cda)
Merged-In:I80c9f887cf8b4714716d657da92ed273a532ce27
|
|
Change-Id: I64de3b2ae7a975066233e49c3b8fde5e542f4f89
|
|
(QS Internet Dialog)
- When the location is disabled, the WiFi scanning service will also
stop.
- Bypass the WifiManager#isScanAlwaysAvailable() result.
Bug: 203471614
Test: manual test on the device.
atest -c InternetDialogControllerTest \
InternetDialogTest
Change-Id: I2f159820d577f226e640b3ea735f6b18c52a16f7
(cherry picked from commit 194a61951688b8ed48b6c0e254398f66c5b1d79a)
|
|
Change-Id: I92e7c2ea51784f9bdc3b64ed2e936bf750d1438e
|
|
This reverts commit 87e83cd7664a689512b7bbafb5f79f00a55501ea.
We are forward fixing in sc-v2-dev
Reason for revert: b/205193749
Change-Id: I9c26643bcfbd37fb36d610291e883112e680e308
(cherry picked from commit d4a2e7c9a5fdacb54750396c22acbe451decfa3d)
|
|
Auto-generated-cl: translation import
Change-Id: I906d64bc6ec9001b40af4cf4d90c9f4ca45aca89
(cherry picked from commit 7e142ec17bd1f4ea4423bcb4a4850434b783188c)
|
|
Change-Id: I5b745d8caf808dd9b8a385a6c3601ce9c616d66c
|
|
The FrameLayout and SplashScreenView are only used as container in
StartingSurfaceDrawer, so they do not need to be inflated by app's
context, which could be affected by app's resources.
Bug: 197936273
Test: cold launch test app and show splash screen.
Test: launch several apps to verify that everything is fine.
Test: atest StartingSurfaceDrawerTests
Change-Id: I6de444546b5dfba23fc1d7c9c4deb12787d667c5
Merged-In: I6de444546b5dfba23fc1d7c9c4deb12787d667c5
(cherry picked from commit c86f1eb19e2578073849118fe1e81f694d5fae4b)
(cherry picked from commit 85313e73faa7275bcd0e95c25ca2f3104f5ca94f)
|
|
happens at write() or start().
Bug: 203784652
Test: atest CtsContentCaptureServiceTestCases
Change-Id: I35d8c8056dc126c44f03b74a04090861224a9407
(cherry picked from commit 39d8062aec7c5e9938aff089618b50540b0bdbd3)
(cherry picked from commit 063fe636baa723206960a2c3f3ae833daa9b9b77)
|
|
Else, the dozing state may be inaccurate which will
cause aod-buggyness
Test: manual, builds and transition to AOD still works
Bug: 202630143
Change-Id: I57af55792db76552d3f991204b185a9472abea58
Merged-In: I9984863d0acea1265d09dfcfac22d5e78c73a1fe
Merged-In: I57af55792db76552d3f991204b185a9472abea58
(cherry picked from commit 0f63fa265b6999b6ffed8ce1c532dc19342dbfb7)
(cherry picked from commit 9b971d6e1b4f538342568fb9faf0f89391a8a90f)
|
|
Change-Id: I8a2a42d64dcb37d397d39b24d2de2684ce95f6b9
|
|
We normally use the combined emergency number list from the emergency
number lists of both sims when placing emergency calls, with the provision
that the routing may be unspecified if a dialed number is an emergency
number on one sim but not the other.
This config allows a carrier to mandate that calls are only treated as
an emergency call on their network based on their own emergency number
list.
Test: TBD
Bug: 203947159
Change-Id: Id5cd4123f1bb7bdd85e564fc6997dfbc50652a5f
(cherry picked from commit 11dd6452d6621328b0bd430eeebacb55fd478cf3)
|
|
Because we were only checking for the bouncer to be shown and not
the alternative auth interceptor, the unlock mode always ended up
being unlock_collapse instead of dismiss_bouncer.
The isBouncerShowing() was already taking into account the alternative
auth path, but the bouncerIsOrWillBeShowing() didn't
Fixes: 204049350
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManagerTest.java
Merged-In: Id8bf8460bff26ec5694c82466ea63e3cdf61216e
Change-Id: Id8bf8460bff26ec5694c82466ea63e3cdf61216e
(cherry picked from commit 571fdde909a333a3486d93ac94c677da787b4413)
|
|
Test: Manual
Bug: 204003158
Change-Id: I8cf2b091b9f323079f54a38dfc9ddfc8af512a43
(cherry picked from commit 7bde0926f7259ab96fd2a313101aa4901fb6b29a)
|
|
Change-Id: I08dd0f721191ea2eccd0447aad85d8d898e8f5d5
|
|
When unlocking from pulsing, we would go to the keyguard
in the middle of the animation. We're now delaying that
update until the reveal animation has finished to hide
the giant jank of leaving the lockscreen.
Test: atest SystemUITests
Bug: 197113783
Merged-In: Iebefca3a1810a498654cad0e461532a5d9f7d0af
Change-Id: Iebefca3a1810a498654cad0e461532a5d9f7d0af
(cherry picked from commit 87e83cd7664a689512b7bbafb5f79f00a55501ea)
|
|
Change-Id: I631f05155cf2500fcffb270b376ab8c2faf58c16
|
|
1. The log should be controlled by the DEBUG, otherwise it will be printed infinitely and the performance will be very slow.
The log can be removed after checking, so I removing it instead of adding the DEBUG tag.
2. Do too much get icon in the main thread, move it into bg thread
3. It is unnecessary that update the mobile data layout from the callback, onAccessPointsChanged, because it is used for Wi-Fi.
Bug: 201200079
Test: manual and Q verified pass
Change-Id: I5f4623f9ffb68fae6ca377625aaa039f0f33dd38
(cherry picked from commit 5a1bb06a0a8d6d730714f02826ab957a4cc220c7)
|
|
sc-qpr1-d-release
Change-Id: I3020b4d6e2e2a501bb97e62608d945cbf5a2cda1
|
|
sc-dev am: bb0d270c5c -s ours
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16061648
Change-Id: I1bbc71ee0a1b65ba67ccfa0f9150204296fee1ae
|
|
|
|
into sc-qpr1-dev
|
|
ce6d9b4261 -s ours
am skip reason: Merged-In I2440a161c70076850479c562c7c9e6dc8d756236 with SHA-1 74eaabead9 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16051823
Change-Id: I782e9fa192828095dbef24d8ccfefe66c47c5d6d
|
|
* changes:
Fix initialization of snapshot SkImage instance
Conditionally cache RenderEffect results
|
|
|
|
|