Bug 17469303
When stripping the offscreen views from a transition, the alpha
wasn't reset, so they were made permanently invisible.
Change-Id: I2e87fff1d3b1e417997cabf9c703143355fe2c01
Adds a missing JNI binding to AssetManager, ensures drawables have
default tint modes as documented, and updates vector tint appropriately
when state changes.
BUG: 17385604
Change-Id: Ice92885989ebc13b95952f5dc3b7904cc956da12
The Contacts database only seem to notify that a change has happened, not
which row was changed. We simply invalidate the whole cache on changes.
Added an info log for even 100th invalidation, so we can see how often it happens.
Bug: 17466975
Change-Id: I9988ea8db776c88afd835a4b3c50b9a982a309d0
This change prevents adding a device owner after setupwizard
has finished provisioning. Only the new dpm shell command
can set a device owner.
Bug: 17316711
Change-Id: I98bdfd9b8c8da3042111c45e2e7fd2b559fac510
Give unvalidated networks penalized scores and allow them to satisfy
requests.
Previously unvalidated networks were never allowed to satisfy
NetworkRequests and so never caused CONNECTIVITY_ACTION broadcasts.
Previously if there were no other networks present an unvalidated
network would still be made the default. This change formalizes
this behavior using our existing network score logic by assigning
unvalidated networks a highly penalized score.
bug:16358003
bug:17364306
Change-Id: I28fcd6f5ac4b52a4d1c234c472cfa8ba998bcc6f
When accessibility services are running, in particular touch
exploration, the default stream override delay in AudioService
makes it hard for the user to change the notification volume
as when TalkBack speaks, the user would control the media
volume during the utterance, and up until 5s after its end.
Use a shorter delay when touch exploration is enabled.
Bug 17140435
Change-Id: Iabadb9778f2957b5aa0aebd1599f2d69bd83222b
Use the framework doze brightness configured for this device
when pulsing, instead of a separately configured value.
Bug:17409425
Change-Id: Icadc00d6c20909375d4ab726ec254dbafd997ead
In a small handful of cases individual sessions call up into the
installer while holding their local locks. Defend against this by
treating most InternalCallback events as async. For sealed events,
perform the upcall outside of the session lock.
Bug: 17482676
Change-Id: I265d981c98c8928a0fced09d8b029ca16eb650d9
Basically this CL does following clean-ups as groundwork.
- Embed isDefaultEnabledIme into its only one caller
- Fix a typo in isSystemAuxilialyImeThatHashAutomaticSubtype()
- Use exit-early style in getMostApplicableDefaultIME()
No behavior change is intended by this CL.
BUG: 17347871
Change-Id: I831502db502f4073c9c2f50ce7705a4e45e2e1e3
This is another groundwork for subsequent fixes.
Notable changes in test cases are:
- simplified test cases for voice IMEs.
- added more test cases for keyboard IMEs.
- introduced assertDefaultEnabledImes() to reduce code duplicate.
BUG: 17347871
Change-Id: I8cf61cfa18ac425a2cccc7823474c3f06dc0fa1e
Right now different code in System UI, Settings app and other places replace the
user icon with their own default. This tries to make it consistent by moving the
mechanism used in Settings in a helper class.
Bug: 17311038
Change-Id: Ic858c65bf82a98b9806dbba029e7cdcf441f372e