The keyguard status bar has different paddings. Showing it for 0.5
seconds feels janky.
From now on, if we're bypassing, we'll only show it after face auth fails
Test: reach, press power, look at status bar: gone
Test: reboot, reach, press power, look at status bar: visible
Test: reach, press power, wait for auth filure, look at status bar: visible
Test: reach, pull down, wait for auth filure, look at status bar: visible
Fixes: 140259100
Change-Id: I52b3eee95a3ee67c3ec215d8b582967f900da4c8
Merged-In: I52b3eee95a3ee67c3ec215d8b582967f900da4c8
This CL is to fix IME can't show up on reparented task in auto device with per-display
focus enabled.
When reparenting task from display A to display B, if the current display focus from
display of the task changed to another display (i.e. received a pointer outside touch),
It made in DisplayContent#reParentWindowToken logic won't clear prevDc#mLastFocus
(the reparent task's window in previous display), since mCurrentFocus
(the target display's window) is not the same as prevDc#mLastFocus during reparent,
caused the client side will end up receive window focus lost change (this issue won't
happen w/o per-display focus, since prevDc#mLastFocus will always null due to only
single focus window), so IME can't show up when tapping the EditText of the reparented
task.
The fix is to consolide clear prevDc#mLastFocus check, if last focused window of
previous display is contained in a reparented window token, which means
the reparent task will end up to gain window focus on the target display & won't need to
receive focus lost event from previous display & the state should be cleared.
Bug: 136503036
Test: atest MultiDisplaySystemDecorationTests#testImeWindowCanShownWhenActivityMovedToDisplay
Change-Id: Ifd5b7bbf381440c302194c9efff595bf51b5b42b
Enable stricter SQLiteQueryBuilder options.
Malicious callers can leak side-channel information by using
subqueries in any untrusted inputs where SQLite allows "expr" values.
This change starts using setStrictColumns() and setStrictGrammar()
on SQLiteQueryBuilder to block this class of attacks. This means we
now need to define the projection mapping of valid columns, which
consists of both the columns defined in the public API and columns
read internally by DownloadInfo.Reader.
We're okay growing sAppReadableColumnsSet like this, since we're
relying on our trusted WHERE clause to filter away any rows that
don't belong to the calling UID.
Remove the legacy Lexer code, since we're now internally relying on
the robust and well-tested SQLiteTokenizer logic.
Bug: 135270103
Bug: 135269143
Test: atest DownloadProviderTests
Test: atest CtsAppTestCases:android.app.cts.DownloadManagerTest
Change-Id: Iec1e8ce18dc4a9564318e0473d9d3863c8c2988a
It speeds up boot on automotive in about 25ms.
Bug: 128904478
Bug: 132111956
Test: manual verification
Test: atest CtsVoiceInteractionTestCases CtsAssistTestCases # on walleye and automotive
Merged-In: I37cdca09b5280193a07ed9951f2e386ed3cd2299
Change-Id: I37cdca09b5280193a07ed9951f2e386ed3cd2299
(cherry picked from commit 206c09b55331440ded234349dbbe9716b91a095a)
The Next-Generation Assistant can call SysUI to request a screenshot.
Adding an indicator that a screenshot has completed successfully enables
the Next-Generation Assistant to show the assistant UI again once the
screenshot has completed.
Bug: 137201206
Bug: 131082115
Test: Wired up SysUIG's NGA integration's touch outside handler to call
take screenshot, confirmed it behaved as expected when a touch outside
occurred.
Change-Id: Ie83af6c9dd8e93b3e18a820d79c02125a19bd62a
The dimension of default wallpaper is only 1243x1024, this causes the
transition looks not smooth.
Bug: 139297053
Test: Manually kill current wallpaper serveral times.
Test: After fallback wallpaper appears, look the transition.
Change-Id: Ie3eb1a61753cf30210414139c9af492b60c7334b
Geo-Fencing Maximum Wait Time a device shall allow to determines it
location meeting operator policy. If the device is unable to determine
its position meeting operator policy within the GeoFencing Maximum Wait Time,
it shall present the alert to the user and discontinue further positioning
determination for the alert.
Bug: 139022202
Test: manual
Merged-In: If3d8d7915f2d86da20c63e99bee01f30e3ea89c0
Change-Id: I5b5c79257706e8606ca6952c5396e4abf2aaf28d
PackageManager sends PACKAGE_CHANGED for a package if one of its static
shared library dependencies has been reinstalled as of cbafe0b025.
When this occurs, we need to update our cached copy of the PackageInfo,
and restart the webview_zygote and RELRO preparation process, because
the path to the library in the PackageInfo will now be different.
This fixes the issue where if TrichromeLibrary is reinstalled at the
same version, WebView can no longer spawn renderer processes because the
webview_zygote is still being given the old classpath.
Both cases where we early out are removed, as the last update time is
also not changed in this case. This may result in the update logic
triggering in cases where it previously would not, but since we don't
explicitly kill clients in this case, it shouldn't affect use of
WebView.
Bug: 140129991
Test: adb install -r <same version of TrichromeLibrary.apk>
Change-Id: I6119939045a842561811dc018853e3d641275e47
(cherry picked from commit b719f6332b)
In the case that a static shared library is updated (same version code),
we should notify that the packages depending on the shared library have
changed to reflect the new paths of the shared lib.
Test: manual; update a static shared lib in place and observe broadcasts
Bug: 140129991
Change-Id: Ic8fea872c828833585a680d49c8e423b911a753a
(cherry picked from commit cbafe0b025)
am: a86312e067 -s ours
am skip reason: change_id Ib1b4fba54ebd3599fe11021d21dc9b09d34e8965 with SHA1 a6364d92ed is in history
Change-Id: I231f679e70bca99bd05aa5e8a7156695b1aaf157
am: 122636b4f5 -s ours
am skip reason: change_id Ib1b4fba54ebd3599fe11021d21dc9b09d34e8965 with SHA1 2b415a4c44 is in history
Change-Id: I5036fa074195c2294c8b040136bd0a7263ef60d0
am: d16ceb6e8e -s ours
am skip reason: change_id Ib1b4fba54ebd3599fe11021d21dc9b09d34e8965 with SHA1 a6364d92ed is in history
Change-Id: Ice282a3bab56a6defb124967d84e47b83893cca1
am: 46368e4f5c -s ours
am skip reason: change_id Ib1b4fba54ebd3599fe11021d21dc9b09d34e8965 with SHA1 a6364d92ed is in history
Change-Id: I62e3dde45298fd57b903cd4dfa1210041789c214
home tasks of other users.
This prevents users from observing home tasks of other users on the device.
bug: 140274903
Test: cts-tradefed run cts-dev -m CtsPermissionTestCases -t android.permission.cts.NoActivityRelatedPermissionTest#testGetTask
cts-tradefed run cts-dev -m CtsWindowManagerDeviceTestCases
cts-tradefed run cts-dev -m CtsAppTestCases
Change-Id: Ia5fdb1ba1ab7d9ec27d1afbb3a359b454c7075c0
Merged-In: Ia5fdb1ba1ab7d9ec27d1afbb3a359b454c7075c0