137247 Commits

Author SHA1 Message Date
Craig Mautner
4021b3ba74 Merge "Force all windows to redraw before unblanking screen" into lmp-preview-dev 2014-06-04 00:21:01 +00:00
Craig Mautner
8a0da0184f Force all windows to redraw before unblanking screen
The screen turning on would show windows as they were when the screen
turned off. This fix forces all showing windows to redraw first and
only then allow the screen to turn on.

Fixes bug 15092354.

Change-Id: I52c3f47438176a5ac00ba9a4d5205b56a5aa48f9
2014-06-03 17:08:02 -07:00
Alan Viverette
bb938107b7 Merge "Temporary drawable for Quantum progress indicator" into lmp-preview-dev 2014-06-04 00:00:14 +00:00
Adam Powell
0b4da0c4f2 Merge "Support list navigation mode for toolbar action bars" into lmp-preview-dev 2014-06-03 23:56:43 +00:00
Adam Powell
6790b0502b Support list navigation mode for toolbar action bars
Add support for the list(spinner) navigation mode for ToolbarActionBar
and WindowDecorActionBar when a Toolbar is substituting for an
ActionBarView.

Bug 15332084

Change-Id: Ic618686f7767c4a14410ae359435d7c1b244e4fa
2014-06-03 16:51:25 -07:00
Winson Chung
56f4692a89 Fixing back regression in Recents.
Change-Id: I57f4fce3f2b455085b066dd7daa91cc68844b259
2014-06-03 16:49:00 -07:00
Ruben Brunk
3f6680ad48 Merge "DNG: Write out additional fields." into lmp-preview-dev 2014-06-03 23:38:57 +00:00
John Spurlock
856edebad7 Zen: Stateful condition panel.
When DND is on, expanded panel shows the current time
condition, or time remaining.  The last time bucket
selected is remembered as the default option for the
next time.

Move the server-side countdown helper into a proper
condition provider, but register it in-process as a
system provider.

Move common countdown condition parsing into ZenModeConfig
to reuse from system components.

Keep the manual exit condition around in zen mode config
and add plumbing for getting / listening to the
controller.

Keep the last QS detail panel around instead of
recreating it every time.

Fix the time condition's plus and minus button
enabling logic, and enhance the click handler to
deal properly with the next or previous bucket.

Bug:15344758
Change-Id: Ie7018a1c20e20f6d7e5f9e7874188374e6f8e2ab
2014-06-03 19:05:55 -04:00
Alan Viverette
3567140b04 Temporary drawable for Quantum progress indicator
Also cleans up unused 20dp spinner drawables.

Change-Id: I69aba84eca9f9e8d44a4237d894015caeb3d2308
2014-06-03 16:02:26 -07:00
Alan Viverette
a48e7b5500 Merge "Fix build, fix Drawable loop" into lmp-preview-dev 2014-06-03 22:49:33 +00:00
Alan Viverette
55a54e17df Merge "Update theme colors, fix EditText state transition" into lmp-preview-dev 2014-06-03 22:49:33 +00:00
Alan Viverette
bd4d1c31f3 Merge "Set starting value on ripple exit animation" into lmp-preview-dev 2014-06-03 22:49:33 +00:00
Alan Viverette
910a0b4d02 Fix build, fix Drawable loop
Change-Id: I524b7f40c700ebe601fdbe80644a46e90ab2bba0
2014-06-03 15:48:30 -07:00
Ruben Brunk
b8df8e07d6 DNG: Write out additional fields.
Bug: 15112503

Change-Id: Ib06d9a5e70e6e3d5063a95a7109538ef64f03334
2014-06-03 15:07:50 -07:00
Igor Murashkin
0b27d3453d camera2: Implement most of CameraCaptureSession
Bug: 14964443
Change-Id: I8203842c77a94a3a6e5f89494fce658b00a4160d
2014-06-03 14:55:52 -07:00
Craig Mautner
3ad30bf6d8 Merge "Layout keyguard according to flags." into lmp-preview-dev 2014-06-03 21:49:31 +00:00
Alan Viverette
dcf7b59f84 Update theme colors, fix EditText state transition
BUG: 11218747
BUG: 15200201
Change-Id: I94368897ea9466ae971b25fc80d6ca43433aadd5
2014-06-03 14:43:38 -07:00
Alan Viverette
c213c7a152 Merge "Quantum tab indicators, clean up text appearances" into lmp-preview-dev 2014-06-03 21:39:04 +00:00
Craig Mautner
beac1064f1 Layout keyguard according to flags.
Keyguard layout was being skipped because the previous policy does
not layout the status bar. This change lays out the status bar when
it is serving as the keyguard. This change then allows the keyguard
insets to be resized to make room for the IME when password security
is selected.

Fixes bug 14548156.

Change-Id: Ice4f1072b463a22ec763a0cde69f342206bdd15a
2014-06-03 14:38:57 -07:00
Jorim Jaggi
6539a83f77 Go back to keyguard when in SHADE_LOCKED with single tap.
Bug: 15188946
Change-Id: Iee9f1572bd25a5fc9f1ad7e182746a6f09a49f6d
2014-06-03 23:33:09 +02:00
Alan Viverette
560ad617cb Merge "Fix drawable cache, add quantum assets to preload list" into lmp-preview-dev 2014-06-03 21:11:27 +00:00
Jorim Jaggi
e42c72e1b2 Merge "Move owner info to main lockscreen." into lmp-preview-dev 2014-06-03 20:46:39 +00:00
Jorim Jaggi
959ab56ba2 Merge "Fix invalid Keyguard state with encrypted devices." into lmp-preview-dev 2014-06-03 20:42:19 +00:00
Jorim Jaggi
b9d6079120 Fix invalid Keyguard state with encrypted devices.
Bug: 15389720
Change-Id: I0a18e78043e5c08f40cf3288abc07f75ea6261a0
2014-06-03 22:35:57 +02:00
Chris Wren
aaa58d1c4a Handle Zen Mode computations correctly for updated notifications.
Updates to intercepted notifications come in through addNotificatiom
instead of updateNotification, because the intercepted notifications
are not in mNotificationData.

If an update causes a notification to surface, we need to notice and
remove it from the synthetic notification.  However, addNotification
is called from within InterceptedNotifications inside loops over
mIntercepted, and we cannot remove items from mIntercepted while
looping, so we split addNotification into two parts, one part is only
used by InterceptedNotifications to unconditionally surface previously
intercepted notifications.

Bug: 15389069
Change-Id: I7b0952a337f15d4009e3e61360344012345eac95
2014-06-03 15:56:28 -04:00
Chris Wren
c936ea393f Merge "Apply Zen Mode later, after we've found the old record." into lmp-preview-dev 2014-06-03 19:54:09 +00:00
Alan Viverette
b6f9152b70 Fix drawable cache, add quantum assets to preload list
BUG: 15409352
Change-Id: Idb18fd99dc4229aace9082d6e26c88faf81d15bf
2014-06-03 12:52:25 -07:00
Jorim Jaggi
a52c68772d Merge "Animate unlock icon while unlocking." into lmp-preview-dev 2014-06-03 19:25:56 +00:00
Chris Wren
52eba54eca Apply Zen Mode later, after we've found the old record.
Copy the extracted signales from the previous record to the new
record.  Do this before the signal extractors are called so that code
can decide what to do with the information.

Bug: 15383769
Change-Id: Ifa24fa0e4380f08979c2126b63d29794aa50a787
2014-06-03 14:58:51 -04:00
Jorim Jaggi
93afa1dba6 Move owner info to main lockscreen.
Bug: 14307636
Bug: 15283575
Change-Id: I8cba9c0e78f825920aca1468d965e8da9b402da8
2014-06-03 20:57:35 +02:00
Jorim Jaggi
4327e2fbcd Merge "Fix fake status bar not visible in SHADE_LOCKED state." into lmp-preview-dev 2014-06-03 18:22:05 +00:00
Jorim Jaggi
a1b1c7a44a Fix fake status bar not visible in SHADE_LOCKED state.
Bug: 15393127
Change-Id: I535b275acd3070121c03425bd8d7c768f0a995f2
2014-06-03 20:19:38 +02:00
Alan Viverette
40646c5c6a Merge "Fix NPE when ripples are canceled due to visibility change" into lmp-preview-dev 2014-06-03 18:05:05 +00:00
Alan Viverette
7a98f74438 Fix NPE when ripples are canceled due to visibility change
BUG: 15406248
Change-Id: I63ce42fef8e1614372ee4a82e45eb15e8bbe1fe3
2014-06-03 10:13:22 -07:00
Winson Chung
6b264f6e7b Merge "Fixing crash, ensuring that we get the post-animation callback, adding nav bar scrim (Bug. 15157307)" into lmp-preview-dev 2014-06-03 16:19:58 +00:00
Jorim Jaggi
8dd95e03f8 Animate unlock icon while unlocking.
When the user reaches the threshold such that the gesture is accepted
as an unlock, the icon scales a bit and gets fully opaque. When the
user flings, it gets even larger and fades out.

Bug: 15163546
Change-Id: Icd963aa8f7268712f239b204cdfa61ebc2baf4d0
2014-06-03 16:21:40 +02:00
Robert Greenwalt
32aa65a112 Fix Legacy NetworkInfo API
Make the connectivity changed broadcasts send correct NetworkInfos.
Also update the results of getNetwork.

bug:15290306
bug:15191336
bug:14993207
Change-Id: Ie99ad25f3ebb90d18348e7013761b139e7481866
(cherry picked from commit 16fe1c18289de200d2249e51db8c0986619f487b)
2014-06-03 14:00:56 +00:00
Adrian Roos
18ea893a23 Ensure trust agents are only provided by platform packages
Prevents the TrustManagerService from binding to any non-platform
trust agents and updates the SampleTrustAgent to use the new
permission.

Bug: 15287044
Change-Id: I38c3deebd5ad359075e68f52d19417bab5ab43db
2014-06-03 15:49:19 +02:00
Jorim Jaggi
93a2bb2063 Improve hint animations.
Show the hint text longer so that users have enough time to read it,
also "highlight" the corresponding icon by making it fully opaque
during the gesture.

Bug: 15189049
Change-Id: Ie0429752b63bae41bb6992778ebb3bd5678f9676
2014-06-03 15:31:47 +02:00
Jorim Jaggi
b3f0a2ff00 Hint for phone and camera.
Bug: 15189049
Bug: 15126962
Change-Id: Ie28fc8202ace4af56542201d168572ef6ad78d19
2014-06-03 15:31:19 +02:00
Jorim Jaggi
282a615263 Hide phone/camera affordance when unlocking.
Bug: 15163546
Change-Id: If9f3e270bb3f5473abd687061a0c3f6faf2bf3b0
2014-06-03 14:59:41 +02:00
Adrian Roos
af12d0aff0 Merge "Disable now defunct touch analysis facility - DO NOT MERGE" into lmp-preview-dev 2014-06-03 10:45:15 +00:00
Jungshik Jang
c3e9b45da0 Merge "DO NOT MERGE: Added missing entries in the cec device array" into lmp-preview-dev 2014-06-03 04:14:49 +00:00
Evan Charlton
faa3ff9ba8 Merge "Revert sendEnvelope changes [DO NOT MERGE]" into lmp-preview-dev 2014-06-03 03:47:06 +00:00
Wei Wang
6510d43d07 Merge "Add device capability config for new BLE features(MA, scan filter).(1/3) Fixes b/15387925." into lmp-preview-dev 2014-06-03 03:03:04 +00:00
Robert Greenwalt
1062171090 Merge "Refactor NetworkFactory." into lmp-preview-dev 2014-06-03 02:59:22 +00:00
Dongwon Kang
7b2ae34b97 Merge "Add onAudioStreamChanged and onClosedCaptionStreamChanged callbacks from TIS to application." into lmp-preview-dev 2014-06-03 02:31:28 +00:00
Eric Laurent
b4e0909fc4 AudioManager: fix AudioPort gain query
Fix bug causing AudioPort.gain(int) to always return null.

Also removed debug log from AudioManager.

Bug: 14815883.
Change-Id: Ie65bab233ec8b4d974061e11ec5b8f0de18275d9
2014-06-02 19:22:48 -07:00
vandwalle
0aa5420504 handle removal of self added configurations
Change-Id: Ib2891ac38a4a876b0cd4f198cf26198b9fc12909
(cherry picked from commit 23fea6a042073e3cb1b0e74be5b0d096916ab6b8)
2014-06-03 01:31:50 +00:00
Robert Greenwalt
55691b8cc7 Refactor NetworkFactory.
Make NetworkFactory a concrete class and divide responsibilites between it and NetworkAgent.
Factory will track requests and by default give a single connect/disconnect api for ease
of use.  Then NetworkAgent is created and destroyed as needed with very simple logic.

Change-Id: I401c14a6e5466f2fc63b04219b97ff85bb9af291
(cherry picked from commit 9a17b9c5a256cb4bb14821c5ee89b03b99c045e8)
2014-06-03 01:26:48 +00:00