233115 Commits

Author SHA1 Message Date
Antonio Cansado
12d7ea815b Merge "Implementation of data usage callbacks." into nyc-dev 2016-02-18 19:43:42 +00:00
Jeff Sharkey
003ee19851 Merge "Make BackupManager encryption aware." into nyc-dev 2016-02-18 19:26:36 +00:00
Amith Yamasani
4e334cfcd7 Merge "Reduce locking duration when checking idle states" into nyc-dev 2016-02-18 19:24:23 +00:00
Amith Yamasani
b1e153bcd2 Reduce locking duration when checking idle states
Synchronize only the methods that need to be, so that
the lock is not held for a few hundred milliseconds, blocking
other usagestats operations.

Bug: 27208519
Change-Id: I43bda0791dd8b2576a8af506bcdc67a09a5830f2
2016-02-18 11:22:30 -08:00
Jason Monk
26ae3c8063 Merge changes I91733155,If5912504 into nyc-dev
* changes:
  QS header: animation work
  Add TouchAnimator to make QS Animations simpler
2016-02-18 19:21:20 +00:00
Xiaohui Chen
ea4b6ba420 sysui: refactor for extensibility
Bug: 27100755
Change-Id: I7fff6751b7f197e3e66ab1f87690d556f6e66872
2016-02-18 19:16:57 +00:00
Simranjit Kohli
62e1f48917 Merge "[Fix extra data in cache]" into nyc-dev 2016-02-18 19:08:34 +00:00
Doris Liu
5b7188aebc Merge "Revert "Revert "Revert "VectorDrawable native rendering - Step 5 of MANY"""" into nyc-dev 2016-02-18 19:06:20 +00:00
Doris Liu
b9fb8fdf78 Merge "Revert "Check RenderNode's owning view before attaching animators"" into nyc-dev 2016-02-18 19:04:28 +00:00
Jorim Jaggi
d30d95d36c Fix issues with docked icon
- Make sure to update when configuration changes
- Do not reset it to a deprecated icon we don't use
anymore.

Bug: 26451729
Bug: 27045882
Change-Id: I6c23a91fd9577ca836818fcd3ab6a0682880df1f
2016-02-18 18:52:29 +00:00
Jason Monk
ea834eca6e Merge "Tuner volume dnd panel work" into nyc-dev 2016-02-18 18:47:06 +00:00
Jason Monk
aa911b37ae Tuner volume dnd panel work
Change-Id: Id7852e96f987d13c06041e2280d44163a296f49b
2016-02-18 13:39:38 -05:00
Jason Monk
97cb9c77bc QS header: animation work
Bug: 27201532
Change-Id: I917331555132028897821c2a996d1d9dd8ad1833
2016-02-18 13:37:24 -05:00
Jason Monk
794457ae5c Add TouchAnimator to make QS Animations simpler
Bug: 27201532
Change-Id: If5912504748f7b29dd71b70a41bba4ff70b1fc9d
2016-02-18 13:37:05 -05:00
Doris Liu
df7fdb1e0b Revert "Revert "Revert "VectorDrawable native rendering - Step 5 of MANY"""
This reverts commit 0d20a275a5baf8579c8b9111cf2ce6615874a6b6.

Change-Id: I97c782f1164a5d39ab74dc098cca71d9e1b30cd8
2016-02-18 18:37:02 +00:00
Doris Liu
eb40178af3 Revert "Check RenderNode's owning view before attaching animators"
This reverts commit 12abdeb3c7bffbc7c07b913595f6ea2cb66154d1.

Change-Id: I938deddf5f294127f87a0e70f940fe5b9a85e0b2
2016-02-18 18:34:59 +00:00
Diego Perez
16e17a7730 resolve merge conflicts of aa9c9fb29e to nyc-dev
Change-Id: Id46238cb759f2d63a072cb7ea8a27c5fd8a6672e
2016-02-18 18:28:50 +00:00
Erik Kline
bc163f07ee Add Protocol.BASE_ETHERNET
am: ca4c61aa9f

* commit 'ca4c61aa9f7396a167202ea83f4d02f7f62ba482':
  Add Protocol.BASE_ETHERNET
2016-02-18 18:19:06 +00:00
Zachary Kuznia
0bc3cc9c2f Fix crash when cancelling an accessibility gesture with ACTION_UP.
b/27090049

Change-Id: I7a5b65c4e96513539d820c9a2bef99272fb24680
(cherry picked from commit 3951e3547f2ebb5ec228b8776855e9f244b1e9e9)
2016-02-18 17:57:18 +00:00
Jeff Sharkey
2c1ba9a961 Make BackupManager encryption aware.
Backup requires both CE and DE storage to be available, so delay
spinning up the backup system until the user is unlocked, since
that's when CE storage becomes available.  Note that devices without
FBE immediately transition USER_SYSTEM into the unlocked state,
since their CE is always available.

Offer to backup and restore files under both CE and DE.  Since DE
is effectively the same as CE, most logic is simply duplicated for
now, but it could be simplified in the future.  Since system apps
can force their default storage location to DE, we always build
explicit CE and DE paths.

Add getDataDir() to give clean access to the top-level private data
directory, but disclaim that apps shouldn't create files there.

Bug: 26279618
Change-Id: Ic34a4b330223725db93b1d0f5c9dffc88002c61f
2016-02-18 10:54:11 -07:00
Jeff Sharkey
1802664221 Sigh, safe mode.
There are still system internals making assumptions about component
details always being available when requested directly, so relax this
even further to only filter resolve results.

Bug: 27165374
Change-Id: I216fd362516064741e9b80636b99e2d0477d4a58
2016-02-18 10:51:46 -07:00
Vladislav Kaznacheev
7549a9a8f2 Merge "Do not call IWindowSession.updatePointer icon from pointer handler" into nyc-dev 2016-02-18 17:43:39 +00:00
Makoto Onuki
aafff2f835 Merge "Ensure DO/PO are also DA." into nyc-dev 2016-02-18 16:57:42 +00:00
Julia Reynolds
c1ea64ced5 Merge "Get applicationinfo as user." into nyc-dev 2016-02-18 15:44:13 +00:00
Julia Reynolds
4bb2de2557 Merge "Inflate and strip remote views for pre-N apps." into nyc-dev 2016-02-18 15:18:11 +00:00
Jason Monk
5cac50c3c6 Merge "Remove lights out views from nav bar" into nyc-dev 2016-02-18 15:11:01 +00:00
Rakesh Iyer
6f1cdc92e5 Merge "Dejank app switching." into nyc-dev 2016-02-18 14:12:26 +00:00
Julia Reynolds
f5df553029 Get applicationinfo as user.
Bug: 27237907
Change-Id: I84a07f035904c42f535ef30f2950788f5ac50aba
2016-02-18 09:05:57 -05:00
Sudheer Shanka
af9c30aa74 Merge "Update ACTION_SHOW_ADMIN_SUPPORT_DETAILS action to be hidden." into nyc-dev 2016-02-18 13:58:05 +00:00
Julia Reynolds
d4ea741d66 Inflate and strip remote views for pre-N apps.
Bug: 27120291
Change-Id: I4e1497222f3787e68c3e385e45ab6a7c23799917
2016-02-18 08:35:45 -05:00
Shawn Willden
0f900c02d9 Merge "Add support for extending key validity while on body." into nyc-dev 2016-02-18 12:51:50 +00:00
Shawn Willden
adef49640d Add support for extending key validity while on body.
Bug: 21563854
Change-Id: I3b622d2af77ec4ac3ba42407fc391112c153ef0f
2016-02-18 05:50:21 -07:00
Sudheer Shanka
aebd5dd786 Update ACTION_SHOW_ADMIN_SUPPORT_DETAILS action to be hidden.
Bug: 27225657
Change-Id: I85ad8bf88845e9164011b303ec9ca90d993fc20e
2016-02-18 12:39:57 +00:00
Martijn Coenen
087fd6829d Merge "Update protected broadcasts used by NFC." into nyc-dev 2016-02-18 12:25:03 +00:00
Clara Bayarri
983bc7076c Merge "Lock Work Profile immediately when user presses power button" into nyc-dev 2016-02-18 11:21:19 +00:00
Clara Bayarri
3dc575f135 Lock Work Profile immediately when user presses power button
Bug: 26579952
Change-Id: I6e4e0fc2a4f41c72f0d940006f6ceb17e7852682
2016-02-18 11:20:35 +00:00
Martijn Coenen
5e906f8829 Update protected broadcasts used by NFC.
Change-Id: Ie7d062e83929e1058e19427f6ca624ab3f8ee472
2016-02-18 12:19:39 +01:00
Michal Karpinski
8c98d2b208 Applying final strings for remote bugreports after notification rework
Bug: 26226230
Change-Id: If9f6e882c545821fc36925fbdc4e0eff64115fe5
2016-02-18 10:55:40 +00:00
Yohei Yukawa
218c2ab00a Merge "Fix bugs in logic to find a default selectd IME." into nyc-dev 2016-02-18 09:30:45 +00:00
Erik Kline
ca4c61aa9f Add Protocol.BASE_ETHERNET
Change-Id: I4e51370c0b53d9902eea8aae409f9f7cffaf28ad
2016-02-18 18:15:52 +09:00
Yohei Yukawa
c2393ac3bf Fix bugs in logic to find a default selectd IME.
With this CL, InputMethodManagerService#resetDefaultImeLocked()
picks up the default selected IME with the same logic to find the
default enabled IMEs [1].  It should make sense because the default
selected IME should be one of the default enabled IMEs.  The previous
code is problematic because it does not check whether the IME is enabled
or not.  There was a chance that unusable IME could be picked up.

This CL also fixes the same problem to Bug 17347871 that only language
part of the locale is taken into account.

  [1] See the following series of CLs.
    - part 1: I831502db502f4073c9c2f50ce7705a4e45e2e1e3
              ed20f8d750ef0b6347448265a14ef2a2c7e1af5c
    - part 2: Ife93d909fb8a24471c425c903e2b7048826e17a3
              745e7bca8a622ffdf0d0a8e8e2485eab98182ede
    - part 3: I6571d464a46453934f0a8f5e79018a67a9a3c845
              d0dbd81fe2cd34c9a83e2f5217374d3e1a79f950
    - part 4: I871ccda787eb0f1099ba3574356c1da4b33681f3
              b21220efae92a56ff7b4b781fa614a6e3a8a3007

Bug: 27197621
Change-Id: Ia0f52c1fb9f5a68230284a1ec4829a2337b60bdd
2016-02-18 00:30:45 -08:00
Jaewan Kim
88072ab9b1 Merge "PIP: Temporarily disable overlay text bubble timeout" into nyc-dev 2016-02-18 04:54:04 +00:00
Deepanshu Gupta
d95e445394 Merge "Entry -> Map.Entry. Fixes build break" into nyc-dev 2016-02-18 04:53:25 +00:00
Deepanshu Gupta
48cad7fa07 Merge "Switch LayoutLib to Java 8" into nyc-dev 2016-02-18 04:53:03 +00:00
Deepanshu Gupta
3b6ea2e3a8 Entry -> Map.Entry. Fixes build break
Change-Id: I72fe70d6f617c7753a278e134ac22d71125d8def
2016-02-17 20:51:08 -08:00
Deepanshu Gupta
7914e4ca03 Switch LayoutLib to Java 8
The main build hasn't swtiched to java 8, but lambdas are already used
in layoutlib. This fixes the build break.

Change-Id: I4dd69ebd736179067899f5d86d3608d5fdb03d93
2016-02-17 20:50:00 -08:00
Erik Kline
7651b21fe9 {,Base}DhcpStateMachine is no more
am: efa4209fe0

* commit 'efa4209fe022d007f48edc3c4feaef00a9865cb5':
  {,Base}DhcpStateMachine is no more
2016-02-18 04:38:38 +00:00
Rakesh Iyer
9f831f64dc Dejank app switching.
App switching is a little janky, one of the causes seems
like we're doing a call into package manager to see if there
are more applications (to draw the arrow) and that is expensive
(around 10-160ms). Remove this call and maintain a cache and
query that instead.

Bug: 27232284
Change-Id: I9666073944e406b595a3486857f3fe44b2ae2039
2016-02-17 20:06:55 -08:00
Erik Kline
efa4209fe0 {,Base}DhcpStateMachine is no more
Bug: 26991160
Change-Id: I21f8c30627bf2a7fbcd5b4d5f1f1ad1a2dda759b
2016-02-18 12:56:45 +09:00
Simranjit Singh Kohli
a666d74d4b [Fix extra data in cache]
It seems that some account authenticators call getData before account
is added, which initializes the cache for that account.
1. We now don't initialize the cache if the account is not on the device.
2. We now use locking.

Bug: 23018710
Bug: 20071745
Change-Id: Ie59ca6b4e575f524a9d3bf286c3bd95abce4a596
2016-02-17 19:08:25 -08:00