Some tiles were skipping updates due to lack of information, make
these tiles handle a clear state better.
Bug: 22531578
Change-Id: I7bd75b3e032592a496fcaf080ce9cbe3b5cf20da
Instead of requiring every application that calls Rintone.getTitle()
to request android.permission.READ_EXTERNAL_STORAGE, pass the call
through to the system UI process. We only do this for media store
URIs.
Bug: 22067670
Change-Id: I38cf3fb8d769ef6984c41a7b04afbbd4c57175ce
- Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent
the device from sleeping.
- If we get a successful fingerprint, wake the device up, immediately
dismiss the keyguard and tell PWM that we kicked off our frame that
will represent the correct state.
- PWM then waits for this frame to be drawn, and then turns on the
screen, which results in unlocking directly to the previsouly
opened app.
Bug: 21855614
Change-Id: I5f43df17fa5e4e9c6a6392eef4a4590b07df4f96
Some stuff is slow in the swipe-up to unlock transition. Introduce
DejankUtils to execute it when RenderThread is doing its work.
Bug: 22205322
Change-Id: I7089f0a1bdca13ad13a1e305a7bff32276a3cd53
...context and/or screenshot
Added new API to find out what contextual data has been globally disabled.
Also updated various documentation to make it clear what kind of contextual
data you will get (and when it will be null).
Also added a new Activity.showAssist() API because... well, I was already
in there, it was easy to do, it is safe, and maybe people will build cool
things with it.
Change-Id: Ia553d6bcdd098dc0fce4b9237fbfaca9652fc74b
- Only get state from broadcast to not get out of sync with Settings
- Actually set the state when there isn't a boolean in the refresh
object
- Remove unused things
Bug: 22573156
Change-Id: Ibfb4966c99ba85f83701695c38275ba217854b22
Happened due to multiple entry points of configuration changes
running on different threads.
- Remove the unneeded listening for configuration broadcasts
- Make the handling for configuration changes happen on the right
thread
- Happen to fix the tests :)
Bug: 22560859
Change-Id: I194b4fa233f0a8a33c4ac3252ddec70a93822337
Fixes a bug where the image wallpaper size
would not correctly update. Suspected cause
is checking the to-be-requested size against
the current surface size instead of the
requested surface size.
Also removes an unused field.
Bug: 21148936
Change-Id: Ief4585bd5aed5922337709d7ae0ca0bf948649d0
Previously the fingerprint animation would not run
when we successfully unlocked with the fingerprint,
because we were checking for the wrong state.
Bug: 22483380
Change-Id: I8d3ec303a43323431b8866df29ddd6d668edc1ed
This allows users to hit Tab while in the notification pane and access
the Dismiss All icon, with a physical keyboard.
Bug: 22411158
Change-Id: I544bd3ccafcae210770317193099b26972d6a52b
(cherry picked from commit 10cb3105c79dd7de1f2cc9297b1d3b77598de8e3)
- New screen on app op to record the last time each app has
caused the screen to be turned on.
- New battery stats event that tells us the reason the screen
has been asked to turn on.
- Propagate out power manager API to specify the reason a caller
is asking to have the screen turned on.
Note that currently the window flag to turn the screen on bypasses
much of this because it is being handled in the window manager by
just directly telling the power manager to turn the screen on. To
make this better we need a new API where it can specify who it is
calling the API for.
Change-Id: I667e56cb1f80508d054da004db667efbcc22e971
Some tiles now won't do updates if the state hasn't changed (rotation) to avoid
breaking the animation state. To handle this, state is cleared when the
configuration changes.
Bug: 22206214
Change-Id: I029fb4c75cc920a6c9907b65e8c48d28c21d529a