This matches home handle behavior and ensures that the handles are gone
when the screen fades.
Test: Tested locally
BUG:133767295
Change-Id: Ib8a5ee8c2a408cdf6f0f0741047b3f9f2d3bddff
FIX:133767295
For these apps the permission is always granted and the grant state is
encoded into the app-op.
Also, unify syncOps* for restricted and foreground permissions into one.
Test: atest RestrictedPermissionsTest
SplitPermissionTest
Bug: 134500512
Change-Id: I2250a52d2250752c74907b3a9789ed45a4c75390
If we only use a view for it, it may not be visible depending on
what the app will do with the DecorView, i.e. set a weird clip
region. To fix that, we also draw the legacy navigation bar
background separately in a post-draw callback.
Test: TikTok
Test: Material app is still able to set bar color
Fixes: 131211797
Change-Id: Id744b98780f8f7f6dcd3482803a680a8f93be4c5
It will add one more setting observer when AOD state is changed from
DOZE_PULSING to DOZE/DOZE_AOD.
Avoid to register setting observer again when it has been registered
before.
For example: This issue will occur when receving notification in AOD.
Bug: 133388082
Test: atest SystemUITests
Change-Id: Ie3fccc4dd6ecc77692649ace401779b8398b63f8
By making sure that mIconAreaController will not be null.
Test: atest NotificationStackScrollLayoutTest
Fixes: 134976998
Change-Id: Ie85a806cdb0aaf91fa051074ab76d2c65c36235f
Background activity starts were blocked while stacks were created
and leaked.
Remove the stack if the activity failed to launch and no activities
left in the stack. Also avoid creating new stack for the blocked
background activity which is unnecessary.
Bug: 134016361
Test: atest BackgroundActivityLaunchTest
Change-Id: Ifa04a9062cb771929a9614cc164fd64b3f60edf1
Ensure that data hits storage when dumping.
Bug: 133525168
Test: m
Test: manual (induce ANRs with various platform changes)
Merged-In: I66eac0c5e77ea98ba1777d0803b35f38d9ca648f
Change-Id: I66eac0c5e77ea98ba1777d0803b35f38d9ca648f
When dumping stacks, e.g., for ANRs, even if the "Java" version from ART
reports success, check that output was generated, and fall back to a
"native" dump if the output is too small, currently set at one hundred
bytes.
Add more logging of failure paths.
Fix some error logging in native to go to logcat instead of stderr.
Bug: 133525168
Test: m
Test: manual (induce ANRs with various platform changes)
Exempt-From-Owner-Approval: Cherry-pick
Merged-In: I0760207229989f6f34e10edcf45fb140bc81d0e5
Change-Id: I0760207229989f6f34e10edcf45fb140bc81d0e5
- Always use white text with shadows on media
- Use lock screen colors for shade theme
- Remove legacy wallpaper visibility listener
- Remove shadow from black title
Test: set white wallpaper
Test: set dark wallpaper
Test: set dark wallpaper on home, light on ls
Test: set dark wallpaper on ls, light on home
Test: atest SysuiColorExtractorTests
Fixes: 134119878
Change-Id: I64ee2dee14322b2c02891c3ffe5fc0b25d1f100b
Merged-In: I64ee2dee14322b2c02891c3ffe5fc0b25d1f100b
Something can be clickable and disabled. Returning early here prevents that state to be reflected in ListView items.
The reported bug was happening because the items were disabled, but they weren't being reported as clickable.
Talkback doesn't read "disabled" for disabled items unless they are also actionable in certain ways.
Test: CTSAccessibility*, CTS AbsListViewTest, CTS ListViewTest, tried UI with sample app.
Fix: 131281972
Change-Id: Ic9b8c995398151f084d194e272ce082ec345e517
This is a regression from P from when we hid the
statusbar icons of non-high-priority notifications
by default
Fixes: 134444704
Test: atest SystemUITests
Merged-In: I2e571353735efb0d763ecc236f60aefe4c2b51d4
Change-Id: I2e571353735efb0d763ecc236f60aefe4c2b51d4
In some circumstances, a SecurityException can be thrown by
bindService() even when called by the OS itself. If this happens when
starting up a scheduled job, make sure to catch and handle the exception
rather than allowing the system server to crash.
Fixes: 134893684
Test: atest CtsJobSchedulerTestCases
Change-Id: Ib0dd2df5d48e13e7b7c75d7117d0ffa361b000ce
This patch partially reversts ag/6991475 and ag/7161709. These changes
are no longer needed due to a change in the graphics driver strategy for
Q.
In addition, the preloading of the graphics driver in the USAPs need to
be removed to avoid causing a memory regression on devices with graphics
driver preloading in the Zygote disabled.
Bug: 134526352
Test: Treehugger
Change-Id: I570037866d1ae90794c711622e6045ebbffa5b9c
Merged-In: I570037866d1ae90794c711622e6045ebbffa5b9c
(cherry picked from commit fcd68fd74b)
When the sytem language is changed, the emergency location user
notification text is not posted in the new language unless the
system server is restarted.
Bug: 116328114
Test: Visually verified that the notification reflects system
language changes.
Change-Id: I63c265da985395879683484af94e10159557789a
attached.
Before setting up data connection, we check if it's on non-dds and
voice is registered on non-LTE network, if true we'll setup the data
connection even if it's not attached.
Bug: 134086103
Test: manual
Change-Id: I43e150c1d0cc4065da07f4a5ec738b967e7a9a6d
Add content observer for RTT mode: when RTT is ON during a call,
The assistant is allowed to capture audio similarly to when an
accessibility service is in the foreground.
Bug: 132976361
Test: use voice input during a call with RTT enabled.
Change-Id: Ief04d886370b50ae3dac0a72dbd1a4ea5f2c66a3
For automotive, we dismiss keyguard to go straight to the home screen
or the bouncer. However, when the screen is off, we want keyguard to remain
to properly stop the applications.
We dismiss keyguard when the screen comes back on.
Fixes: 133324766
Bug: 133271311
Test: manual, turning screen on and off repeatedly, switching users while
screen is off or on, reboots
Change-Id: Iced146ad8753794bb766eb528dd198f886ccf3d7
It is possible for the call to system windows to occur slightly after
the ChooserActivity gets launched, therefore preventing it from ever
showing. Wait on the future before attempting to launch the activity.
Bug: 134976976
Test: Screenshot, then share over and over
Change-Id: Iba98a079412f8e35643f3a1db04e749b3c654637
We were using our own right instead of the current right to render
the background.
Fixes: 135042415
Test: atest SystemUITests
Change-Id: I853d1ee4d2e9f8472c9786e3ce8f68ab605d1bcd