235158 Commits

Author SHA1 Message Date
Adrian Roos
b27f328262 Merge "Start trust agents earlier on successful unlocks" into nyc-dev 2016-03-08 22:51:38 +00:00
Jae Seo
e75f77326e Merge "TIF: Drop the requirement for ID tuple for non-broadcast channels" into nyc-dev 2016-03-08 22:49:30 +00:00
Adrian Roos
517b3a4d9f Start trust agents earlier on successful unlocks
Frequently, trust agents are not running because
a successful unlock is required for them to start.

Unfortunately, that means they were not able to receive the
successful unlock. To fix this, we'll now override
StrongAuth requirements and start agents early if we
detect a successful unlock.

Bug: 23021202
Change-Id: Ie85f78d9ce2823dd5c9b6215a52db069fb796d91
2016-03-08 14:48:24 -08:00
Paul McLean
c69ac54111 Make native_release() methods in AudioTrack and AudioRecord JNI-callable.
Change-Id: I31f8946579438021ba8f7ec58bf301a190082063
2016-03-08 15:47:35 -07:00
Aga Wronska
407e10e25f Merge "Applied Material design rules to calculate drawer width" into nyc-dev 2016-03-08 22:32:42 +00:00
Chris Wren
0efdb88ccc add a ranking service to the rocket
Bug: 22960980
Change-Id: Ic0e911a2f048a4b47171b338c3de13125852be43
2016-03-08 17:23:33 -05:00
Aga Wronska
5df50368ee Applied Material design rules to calculate drawer width
Bug: 27437727
Change-Id: I2f634815d5e534053e0ed7a66631df9bddf32bd5
2016-03-08 14:22:16 -08:00
Selim Cinek
c5ce69f555 Merge "Fixed a bug where the font sizes where not enforced correctly" into nyc-dev 2016-03-08 22:16:44 +00:00
Muyuan Li
6ca619fe1a Partial screenshot
Added a partial screenshot function in TakeScreenshotService
also added corresponding shortcut keys in PhoneWindowManager

Bug: 26820467
Change-Id: Id67cd3b4b0eed848eb4665056766546500bdac88
(cherry picked from commit 03e45541e9d54a2f285906ac7b5bcb374db14495)
2016-03-08 14:12:18 -08:00
Dongwon Kang
08713d2a0e Merge "TIF: Unhide TvView.setZOrderMediaOverlay/setZOrderOnTop/tune/unblockContent" into nyc-dev 2016-03-08 22:11:13 +00:00
Suprabh Shukla
943dedaf97 Merge "Setting TaskRecord#mUserSetupComplete directly from Settings" into nyc-dev 2016-03-08 22:10:24 +00:00
Suprabh Shukla
7745c14aa0 Setting TaskRecord#mUserSetupComplete directly from Settings
TaskRecord#mUserSetupComplete flag was being set by checking
UserController#mSetupCompletedUsers which was being populated by a
callback which was getting delayed long enough for some tasks being
launched with mUserSetupComplete set to false, which is not expected for
any task other than Setup Wizard. This change checks the flag directly
from Settings before setting the property.

Bug: b/27455564
Change-Id: I9ae2e969b590a95f71002a54c7de224b26e9da79
2016-03-08 14:03:49 -08:00
Jason Monk
cf39c8de01 Merge "Flip the default on whether to keep rows together" into nyc-dev 2016-03-08 21:48:35 +00:00
Adrian Roos
37b3a4a544 Merge "Fix and optimize stripForDelivery" into nyc-dev 2016-03-08 21:47:03 +00:00
Jason Monk
39a2e70d7e Flip the default on whether to keep rows together
Bug: 27201532
Change-Id: Ib51ef4fb374ea197b4119fbd230df2288620f85e
2016-03-08 16:41:23 -05:00
Jason Monk
0193a87196 Support updates to the data usage graph
Also make the graph a little bit more smooth.

Bug: 27278313
Change-Id: Ia9ff8a69691671c57cfaf6eb43e373a8386469ea
2016-03-08 16:35:05 -05:00
Zhijun He
0ab416269a ImageReader/Writer: refactor and cleanup
Below changes are included:
* Defer the buffer lock to Image#getPlanes call. This will save quite a bit
CPU cycles associated with lock buffer if the application doesn't really
want to access the data.
* Refactor the code: move some common code to some utility class, and use
one unified consumer (BufferItemConsumer) in ImageReader native implementation.
The code refactoring will also make it easier to support non-opaque image
attach/detach.

Bug: 22356918
Bug: 19962027
Change-Id: I4fb865b0ea3deb6650afc64c32a5906f30e8ccbd
2016-03-08 13:21:36 -08:00
John Reck
308dba5d92 Add basic LsaVector tests
Change-Id: I57600271a4efcb63b1c24b582ead48d51f002c2e
2016-03-08 13:20:06 -08:00
Felipe Leme
d06e5afd6f Merge "Minor improvements on BugreportProgressService:" into nyc-dev 2016-03-08 21:18:23 +00:00
Felipe Leme
c4259933d1 Merge "Call stopSelfWhenDone() *after* canceling the notification." into nyc-dev 2016-03-08 21:17:44 +00:00
Steve McKay
f346796b88 Suppress Rename tests that fail consistently...
on APCT.

Change-Id: I81e464855e16573e536828813b592f7ebc5b464f
2016-03-08 13:14:37 -08:00
Felipe Leme
4f663f6c25 Minor improvements on BugreportProgressService:
- Removed unnecessary ContextWrapper used to get files dir.
- Immproved logging.

BUG: 27548183
BUG: 27524556
Change-Id: Ia04c6b7640969e0013ae282efbb1142fc0fc5695
2016-03-08 13:13:26 -08:00
Maria Garcia Puyol
eff0a83a23 Merge "Fix bug in setText" into nyc-dev 2016-03-08 21:04:27 +00:00
George Mount
d1631dcd2e Merge "Add test for Transition clone." into nyc-dev 2016-03-08 21:03:36 +00:00
George Mount
193b821829 Merge "Fix propagation delay not working with minimum value = 0" into nyc-dev 2016-03-08 21:03:16 +00:00
Yang Ni
267fc8b361 Merge "Revert "Set flags in RS JNI calls for rsObj creation"" into nyc-dev 2016-03-08 21:00:54 +00:00
Yang Ni
3f3965ec13 Revert "Set flags in RS JNI calls for rsObj creation"
This reverts commit 972a409a3df6f105aa99a3d721e37111c70ef44c.

Change-Id: Icdac5cebf9944e7b237c91db05e5a7f47b6b67e8
2016-03-08 20:59:48 +00:00
George Mount
bf7c3b4fa6 Add test for Transition clone.
Change-Id: Ib95fa88a0951c680079bda5be19496be70ce75b1
2016-03-08 12:55:17 -08:00
Xiaohui Chen
92f3efa4e8 Merge "sysui: refactor scrim controller" into nyc-dev 2016-03-08 20:47:14 +00:00
Felipe Leme
0f2daaf2f7 Call stopSelfWhenDone() *after* canceling the notification.
When a bugreport is shared it's necessary to remove its system notification and
stop the service if there is no more pending bugreports. Since the
service will might be killed as a result, to call to cancel the
notification must be done prior to calling stopSelf().

BUG: 27524556
Change-Id: Iae9a263b6cee0e4a0a7df3e52621e56b50983fec
2016-03-08 12:44:22 -08:00
Winson Chung
c20c500b16 Merge "Fixing crash in Recents" into nyc-dev 2016-03-08 20:36:51 +00:00
Jason Monk
e7e4b3d8d6 Merge "Don't cache QS custom tiles across users" into nyc-dev 2016-03-08 20:34:07 +00:00
Winson
4cfea69511 Fixing crash in Recents
- The change to setTasks() was causing us to queue items to be loaded 
  before the activity had even started.  This change ensures that we
  don’t do this for the dummy-transition-only stack view, and only when
  setting stack tasks for real.

Bug: 27538945
Change-Id: I4ff0413cb2fb961a4dedcad42471293bab4f955a
2016-03-08 12:34:00 -08:00
Jason Monk
1ffa11b9b2 Don't cache QS custom tiles across users
Then it doesn't bind to the right user causing all sorts of badness
(10000).

Bug: 27527669
Change-Id: I28eff8b4bb0e0cfe56d041c6f0980282781af8aa
2016-03-08 15:19:14 -05:00
Ryan Bavetta
79655ebf7e Fix unsynchronized access to model hashmap
BUG:27529749
Change-Id: I5b7cd59d8b45858896e6014b8fe95c1cc3c77869
2016-03-08 20:14:04 +00:00
Jason Monk
95e412b4df Merge "Work on QS animation curves" into nyc-dev 2016-03-08 20:12:13 +00:00
Prathmesh Prabhu
fbcaea877c Merge "SettingsProvider: Add default value for SHOW_IME_WITH_HARD_KEYBOARD." into nyc-dev 2016-03-08 19:55:59 +00:00
mariagpuyol
3dc88c8f14 Fix bug in setText
Bug:27547655
Change-Id: Ia15facda59fab9a8fe9b30f74ddd085bc26871af
2016-03-08 11:45:39 -08:00
Jae Seo
c0e5873599 TIF: Drop the requirement for ID tuple for non-broadcast channels
This has been causing some confusion among streaming-based channel app
developers without having any clear benefit, hence drop the requirement.

Bug: 27536480
Change-Id: I51be65ccc402171a0ce34ae4640905ec48d39e37
2016-03-08 11:41:29 -08:00
Chong Zhang
984600566b Merge "Some fixes for black screen when pressing home button" into nyc-dev 2016-03-08 19:30:43 +00:00
Chong Zhang
d78ddb409a Some fixes for black screen when pressing home button
Pressing home button sometimes involves a rotation (eg. when app is
running in landscape mode but launch is fixed portrait mode). This will
trigger a screen freeze, which clears the transition. We still need to
add the opening app to the opening list even if transition is unset,
otherwise it doesn't wait for app to draw first frame.

Also during rotation, app, launcher and wallpaper all get relaunched.
The transition can't start until the first frame on the new launcher
window comes back. We can't start it based on the draw state of the old
window, because the old window could get removed and readded shortly
after we start the transition, and it shows up as a black frame.

bug: 27391256
bug: 27295820
Change-Id: I346685076657eef209d0fab68f272e218b55e011
2016-03-08 11:30:15 -08:00
Yi Kong
b80612e05b Merge "Track libcore change f121f31fd91c5a557225cd6a97418e716529eb2d (part 2)" into nyc-dev 2016-03-08 19:15:06 +00:00
Yi Kong
2f55bdf2e3 Track libcore change f121f31fd91c5a557225cd6a97418e716529eb2d (part 2)
Bug: 27427010
Change-Id: I5527f34ef6bf15aaa1a39b705e951122ae4b3d5a
2016-03-08 19:14:21 +00:00
John Reck
f76535cd4a Merge "Fix build breakage" into nyc-dev 2016-03-08 19:06:54 +00:00
John Reck
88737a05b3 Fix build breakage
Update for API change

Change-Id: I649778b5f104a5295c0c827cc832e6190137bd02
2016-03-08 11:03:35 -08:00
Jason Monk
57f4376d33 Merge "Fix QS translation on tablets" into nyc-dev 2016-03-08 19:00:42 +00:00
Dongwon Kang
e12d810e99 TIF: Unhide TvView.setZOrderMediaOverlay/setZOrderOnTop/tune/unblockContent
Bug: 25726685
Change-Id: If96d0b086488c931d20315ee1c29cf7374715d93
2016-03-08 10:53:09 -08:00
Jason Monk
5025f42203 Fix QS translation on tablets
Now that QS sits inside a density container, the density container
should be translated rather than the qs container.

Bug: 27474427
Change-Id: Ia516f1927362cdffe6f906fca1d7ce583542d002
2016-03-08 13:48:05 -05:00
Sami Tolvanen
525032754e Merge "Notify user when forced to boot into safe mode" into nyc-dev 2016-03-08 18:44:08 +00:00
Xiaohui Chen
4dab4b5048 sysui: refactor scrim controller
Allow show or hide scrim behind.  This toggles scrim behind to fully
transparent or not.

Bug: 27504706
Bug: 27348736

Change-Id: If9734587ad8dadb94bcf3357388a5ed19d0c1fb8
2016-03-08 18:41:12 +00:00