Use ParcelFileDescriptor only as an IPC transport
to make sure MemoryIntArray manges its backing fd.
Bug:30310689
Change-Id: Ib3cc13ef4ae2a744e5f7a96099570e0431847bce
(cherry picked from commit fe2462f3a6)
Since appShowWhenLocked is already null during the animation, we
also need to show the window if it's attached to a
FLAG_SHOW_WHEN_LOCKED window
Test: Test animation occluded -> lockscreen with an app that
has a SurfaceView
Fixes: 30829255
Change-Id: I0e0012bbe5679cd0894ce4d94902ff8b24823b51
The constant ACTION_WIFI_SETTINGS is part of the Settings class, not
the Intent class. An example intent for opening settings has been
changed to reflect this class structure.
Bug: 17464977
Change-Id: I160354a11392ad001c127525983a1b84a4dfbe00
Attempt to reduce the chances of watchdog killing the system
server if process pss gathering takes too long during heavy load.
Bug: 30896716
Change-Id: I4ed1a15c0c512a8c82842cde74e733d99d887ee0
TalkBack was speaking all Toasts twice because we were
sending both NOTIFICATION and a WINDOW_STATE_CHANGE events
when Toasts were displayed.
Stop sending the WINDOW_STATE_CHANGE event for toasts.
Bug: 30570188
Change-Id: I26c6dc50350dfd4daf2a706b94fadcf5d1e03557
Often sub-directories of /data are populated with data framework has no
control of (for example, by the device's specific dumpstate_board()
function), and that data is now available through
MeasurementDetails.getUnaccountedSize().
BUG: 30952263
Change-Id: I8d3fda6668f2a57ee025fb135b33a244167d1e4b
- This CL does two things, firstly, it ensures that all first & last
active times are monotonically increasing and independent of the
current system time. This allows us to better keep track of which
tasks are historical and should be hidden, and which are not.
Secondly, this CL moves the tracking of the last visible active time
into the system (per user) where it can be adjusted along with the
task active times when they are loaded.
- Following this CL, all active times in the future will be adjusted on
boot such that old tasks are made relative to the current boot time.
It’s not important exactly what time they are, only that they are
adjusted along with the last visible task active time so that we
always keep track of what is visible.
Bug: 28908500
Change-Id: I4f789df3a6bd825517cf3a70e26fb60deff89d06
This reverts commit 77cbe79b74.
KeyguardScrim is not hiding for some reason. Need more time to investigate.
Change-Id: I7624138dded386a7310386bc78b3b496af55b2b9
Fixes: 31174702
Bug: 29643498
The CTS tests weren't receiving the onTileAdded callbacks since the
shade was not in the listening state when tiles were added. This is
not possible for users (since tiles are added while the UI is
listening), but add a flushMessagesAndUnbind call to make sure the
tiles always receive onTileAdded.
Since now flushMessagesAndUnbind can be called before a real call
to setBindService(true), add a clause that will clear out its
immediate unbind state.
Change-Id: Idd13c432a4af5741813da9a9b1b292a47fd9443b
Fixes: 31147742