Add new public API for monitoring low power mode.
BatteryService now puts device in to low power mode when
battery level is low.
Window manager now watches low power mode to turn off
animations.
Modifying the animator scale now gets propagated to all
processes.
Change-Id: I8fa566994764ddd4e1977631e28381ab9409f8ee
Also improve the animation when expanding/collapsing the shade for
a jank-free alpha fade animation.
Bug: 15448443
Bug: 15407838
Change-Id: Ieb0ce6d5bb1e5c1fb60d433b6989c52ec6924e8c
- Use "Bluetooth" string when connecting.
- Use @hidden device alias (instead of name) for label.
- Use the same icon in the status bar.
Bug:15186962
Change-Id: I25613bebf069c91e76d6933f2512b3f0a8020474
This resolves an issue where the CameraDevice.StateListener callbacks were
erroneously called before the CameraCaptureSession.StateListener ones,
preventing e.g. creating a capture session from the
CameraDevice.StateListener#onOpened() callback.
It also explicitly ignores CameraDevice.StateListener#onUnconfigured() calls
occurring before the first call to #close .
Bug: 15449190
Change-Id: Ic0094d53a65e42108201d7bb50734d17290fa9bf
Instead of always displaying the active condition, only
show it the first time (when turning zen on).
Bug:15455271
Change-Id: I89e8e2c09fa0d06a5e4c3174f825dfe5a452f06e
This change addresses the following comments from the council:
- Change the TvView API to be tune(String inputId, Uri channelUri) and
reset()
- @hide TvInputSession class, including createSession() and
SessionCallback
- Define a listener interface specific to TvView, allowing you to hide
the session details and keep the API simpler. Add
setTvInputListener().
Bug: 15345342
Change-Id: I931662841b41d862ebc4a700ccb245889a5f87a5
The elegantTextHeight attribute of TextView was made public through
Java code, but the corresponding attribute wasn't public. This patch
makes it so.
This is a fix for bug 15428791 "elegantTextHeight is hidden (not in
android.R.attr)"
Change-Id: I7011f10ae58fd2e212da9cbaca4a484f011d8fed
Framework passes typeface along with the paint object at many places.
Paint_Delegate is supposed to have the typeface object with it. Add
assertions to ensure that the two typefaces are indeed the same.
Change-Id: I68193513c2d99f269c0458d6493f23025bbda385
* Make context the first argument for isLocalEmergencyNumber and
isPotentialLocalEmergencyNumber
* Hide DisconnectCause
Bug: 15432083
Change-Id: I88b5ace925e3704bd032dc9694b0c2dd871b9cf9