With direct boot the camera preview could be loaded in a wrong
state when the device was started. This ensures that it's reloaded
more often and should always be up to date and also fixes the
bug that the camera preview couldn't be loaded initially.
Change-Id: Ib43e322a9d6ef05d8519ebc85f4509441829e528
Fixes: 30420861
These sometimes trigger binder calls, that can cause jank on the
first frame of expanding the panel.
Bug: 30442298
Change-Id: Id60fd5ee9732515cd6f9645c7ab307c949dfc506
Switch Access uses OnClickListener() on individual views to check
whether a view is "clickable" or not. If it is clickable, using
prev/next keys will highlight to these clickable views. Since DocsUI
used to simply trap touch events and did not have any OnClickListeners
on its list/grid child views, switch access was not able to pick up
these views as clickable views. Simply adding an OnClickListener() fixes
this particular bug, but then a regular touch using finger/mouse would
trigger both onClick() and OnSingleTapUp(MotionEvent), which causes
double-firing and lead to unexpected behavior.
This fix overrides two accessibility-related methods in the
recyclerView's layoutManager, which the recyclerView delegates to.
Switch Access should now be routed to the correct behavior (which opens the
file/doc).
Bug: 30077035
Change-Id: I380d7529fa041f7b4905170f43f28a4235dc118d
This feature isn't generally useful on this screen and provides
an additional mechanism for falsing, so it should be disabled.
Fixes bug 30443528
Change-Id: Ibdba485917b5e66780ff4915f48ff2014f195eca
- Add null checks to avoid crashing in transient state with no
enabled packages during user switch.
Bug: 30574163
Change-Id: I316373e900d4be35be7691b50057d0701b7fb4a5
We still check for security errors of non-system apps trying to send
protected broadcasts at the front.
However, the WTF check for system apps sending non-protected broadcasts
is now moved down to where we actually resolve the receivers, so we
can loosed then check to make it okay as long as you are sending an
explicit intent to only appropriately protected receivers.
Change-Id: I5214c6c26a60de083f1f9578bcc5e95ba19f7001
- Normally when a user is unlocked, SM scans all updated apps
since the last scan to see if their manifest shortcuts have changed.
- There was a known issue that's been fixed already that'd result
in all shortcuts being removed.
- To work around this issue, let's scan all packages after the next
user unlock.
- This can be done by just renaming the XML attribute name to persist
the last app scan time.
Bug 30591723
Change-Id: Ie9f723ef30a1c991990d981193841cb203c094ad
* changes:
Remove lock contention when unlocking users
Only get trace name if tracing is enabled
Fix multi-window drag jank if vsync-app is before vsync-sf
Prior to N, our widgets were not converting MarginLayoutParams
properly between ViewGroups. The fix intrudced some issues in
older apps as the broken conversion code would hide developer
errors. This CL guards the change with a target API check so
that we don't affect older apps.
Bug: 30378230
Change-Id: I215281d261b553c3b4cedcd29ea0a861df809471