9017 Commits

Author SHA1 Message Date
Baligh Uddin
2300d06a2e Import translations. DO NOT MERGE
Change-Id: I66faac7461c003000096bc838fbf166b6fbff2c8
Auto-generated-cl: translation import
2014-06-30 14:35:00 +00:00
Baligh Uddin
700c8ad6c8 Import translations. DO NOT MERGE
Change-Id: I19ba0a7849975b5f1674a9b04ec1d1bf08c25a9f
Auto-generated-cl: translation import
2014-06-30 14:34:43 +00:00
Baligh Uddin
f8c5b40b6c Import translations. DO NOT MERGE
Change-Id: I1ce049ca89479b5d669f813661ce097d97e36629
Auto-generated-cl: translation import
2014-06-30 14:34:23 +00:00
Baligh Uddin
28b91300c4 Import translations. DO NOT MERGE
Change-Id: I8ac7188f10753e0f89761851b6f68c71d58866ed
Auto-generated-cl: translation import
2014-06-30 14:34:10 +00:00
John Spurlock
92d9b19e1b QS: Add a caret to the dual tile labels.
Also tweak some of the vertical spacing between the tiles
to get closer to the redlines.

Bug:15852139
Change-Id: I251fde261a74335c16b37ba07ab554f6db05d367
2014-06-29 17:45:24 -04:00
John Spurlock
6612727c18 Doze: allow devices to opt-out of sigmotion trigger.
For devices with unreliable significant motion sensors, allow
the tease signal to be disabled via device config.

Also add doze state to dream service dumpsys.

Bug:15863249
Change-Id: I23eeec09c69cc3bd43b187e49555391ac0a99d9f
2014-06-28 11:31:44 -04:00
Jim Miller
f41fc9664f Add fingerprint detection support to Keyguard.
Tested:
- power-on with fingerprint sensor
- dismiss bouncer with fingerprint
- fingerprint to enter trusted state

Change-Id: I6aab7591d370412a143fe219a1575b2719a4de96
2014-06-28 01:11:20 +00:00
Baligh Uddin
755fc64c6d Merge "Import translations. DO NOT MERGE" 2014-06-26 18:07:29 +00:00
Baligh Uddin
870897e4d3 Merge "Import translations. DO NOT MERGE" 2014-06-27 15:56:14 +00:00
Baligh Uddin
eadcf2b25b Merge "Import translations. DO NOT MERGE" 2014-06-27 16:52:20 +00:00
Baligh Uddin
2cbab6c907 Import translations. DO NOT MERGE
Change-Id: I69929680cab4ea18219ae4b6890812578c9dd8ca
Auto-generated-cl: translation import
2014-06-26 11:50:05 -07:00
Baligh Uddin
a3f8dc880b Merge "Import translations. DO NOT MERGE" 2014-06-26 18:07:29 +00:00
John Spurlock
eb8d1be6ac Add a BIND_DREAM_SERVICE signature-level permission.
Starting in api 21, will be required to bind to a
declared dream or doze service.

Also added to aapt dump badging output.

Bug:15862654
Change-Id: Ifa0a594eeecf21e6146176c7810a847e1d08fe3b
2014-06-27 18:33:42 -04:00
Baligh Uddin
035ef683a1 Import translations. DO NOT MERGE
Change-Id: Ide25c1a618ebed66da3ad87834761ddbf23ff08c
Auto-generated-cl: translation import
2014-06-26 11:40:39 -07:00
John Spurlock
d42f495849 QS: Tile text to 70% white.
Change-Id: I4dcad126b1b2467b780192ae220493c301cdb5bb
2014-06-27 15:33:21 -04:00
Winson Chung
d7b2cb12ac Continuing refactor of TaskStackView.
- Extracting stack and filtering logic.

Change-Id: Id794cb2e36238baa49e614bc436bf07de6680804
2014-06-27 11:30:23 -07:00
Baligh Uddin
5fe3f9a6dd Import translations. DO NOT MERGE
Change-Id: I39e8d1f33e311ccc7004a45aacbc45b5f5316058
Auto-generated-cl: translation import
2014-06-26 11:07:23 -07:00
Baligh Uddin
ae40bcbe61 Import translations. DO NOT MERGE
Change-Id: I14733d99735d38e73451e9df11da28e78d1ac973
Auto-generated-cl: translation import
2014-06-26 11:02:03 -07:00
Christoph Studer
65fa0a923c Avoid upranking battery level/saver notifications
Bug: 15884933
Change-Id: Ia1a61c8b3d3f70feaa0a68702c1a8902b0c15bb7
2014-06-27 12:56:35 +02:00
Robin Lee
6507f2e03a Badge document activities in Recents
The activity icon provided by the app should not be used directly as
icons from activities in other profiles need to be badged.

@bug 15689369

Change-Id: Iee34d296eacc8aeba58f671e3f6b681bc9826425
2014-06-26 14:21:15 +01:00
Winson Chung
aa7e529b47 Merge "Fixing bug where search bar is not updated when search package is first installed." 2014-06-25 17:34:02 +00:00
Winson Chung
8eaeb7dc93 Fixing bug where search bar is not updated when search package is first installed.
- Fixing issue where we weren't disabling HW layers when you don't finish a swipe-to-dismiss
- Preventing tapping on a task that is currently being dismissed
- Adding a debug trigger for internal testing
- Minor refactoring

Change-Id: Id7dcc8a4b5a080402c2761cd555b8a882498ad29
2014-06-25 17:46:00 -07:00
Winson Chung
f1fbd77cf0 Use Task last active time to ensure we don't reload items for the cache.
Change-Id: I29206de0453f5d7d1370b27a27ef6d3594eff8e7
2014-06-24 18:09:00 -07:00
Winson Chung
8e548f7025 Refactoring Recents layout into an xml.
- Hiding the search bar when entering filtering mode

Change-Id: Ifce8429d6f331406e9688c96cd978f6900879c96
2014-06-24 15:42:33 -07:00
Winson Chung
cdbbb7e330 Refactoring RecentsActivity and TaskStackViewTouchHandler.
- Pulling out logic related to system bar scrims, and touch handlers to their own classes
- Pulling out shadow reflection code out of RecentsActivity
- Ensuring that we poke the doze trigger when scrolling
2014-06-24 12:18:34 -07:00
Winson Chung
c286444f14 Merge "Use Task last active time to ensure we don't reload items for the cache." 2014-06-25 17:34:05 +00:00
RoboErik
19c9518f6a b/15729204 Pipe sessions through to VolumePanel
When remote volume is changed via volume buttons we need to notify
the system UI so it can show the slider. This also passes it the
controller to use so adjustments to the slider are sent back to
the correct session.

Change-Id: If5847bcd5db16c56e0e9904b88c94e5b28954c41
2014-06-25 14:36:51 -07:00
John Spurlock
1f75d030ab Merge "SystemUI garbage collection." 2014-06-24 07:59:36 +00:00
John Spurlock
0557c3f0e0 SystemUI garbage collection.
Remove obsolete pieces from PhoneStatusBar + NotificationPanelView

Change-Id: Ib6b2d6f1a4e7c4aeaab775f928a74abdfe2b4168
2014-06-25 14:57:32 -04:00
John Spurlock
25b3b8e537 Merge "Create a basic doze dream in SystemUI." 2014-06-24 08:05:46 +00:00
John Spurlock
bf37099250 Create a basic doze dream in SystemUI.
The doze dream is not configured by default.

When configured, the doze dream does not show anything by default.
It teases a dark version of the keyguard (showing only the time
and notifications) when a notification arrives or significant motion
is detected.

Bug:15863249
Change-Id: Icfceb054d35d6fd4d9178eda7480e2464873ca4b
2014-06-25 13:33:09 -04:00
Baligh Uddin
03b6c9aa30 Import translations. DO NOT MERGE
Change-Id: Ie973b84c6d4a628cc077b4d493c15de9f7ab3cd6
Auto-generated-cl: translation import
2014-06-25 02:35:44 +00:00
Baligh Uddin
02a91e6b96 Merge "Import translations. DO NOT MERGE" 2014-06-25 01:41:07 +00:00
Baligh Uddin
d1c9f47663 Import translations. DO NOT MERGE
Change-Id: Ieb89a90f2d4829e6d555d717fd6295e9537fd67f
Auto-generated-cl: translation import
2014-06-25 02:32:50 +00:00
Baligh Uddin
18f51dddd9 Import translations. DO NOT MERGE
Change-Id: I3e3a10ece8f548783744aaec1c0c705e207701a4
Auto-generated-cl: translation import
2014-06-25 02:32:33 +00:00
Jorim Jaggi
dbbf45e79a Attempt to fix infinite recursion.
When collapsing a panel without animating, it might be that an
overscroll animating was still running, and thus expandedHeight != 0
even if we set expandedFraction manually to 0, which sets the state
to STATE_OPEN again and tries to close it in an infinite loop.

Bug: 15721600
Change-Id: I14e0ee43fb4a47286d618cc97581d4e4a98fb2a2
2014-06-25 22:00:07 +02:00
Christoph Studer
775a159e80 Merge "Remove suppression of ZEN'd notifications" 2014-06-23 21:44:43 +00:00
Christoph Studer
6cb9e0f1f9 Remove suppression of ZEN'd notifications
Bug: 15286335
Change-Id: I3114d7bcd8f05ca3a58f3598b95fdb507f6c646c
2014-06-24 17:18:20 +02:00
Christoph Studer
e71fefcc8b Remove notification APIs from StatusBar service
Bug: 15324972
Bug: 15436573
Change-Id: I838370a23fb07cb876e08c41ef11653f2658719e
2014-06-24 16:47:56 +02:00
Christoph Studer
9e58b3c61c Merge "Remove notification APIs from StatusBar service" 2014-06-24 06:38:28 +00:00
Winson Chung
d543c1bea4 Ensuring that we fire the right intent when going home from Recents.
- Refactoring RecentsAppWidgetHost
- Removing some references to the RecentsActivity from the RecentsPackageMonitor
- Fixing the memory leak related to long references to activities
- Working around blank screen when going home from Recents

Change-Id: I7b0ad219b8da197795864a3b90fd02f3a3c1a4ef
2014-06-24 01:59:55 +00:00
Jorim Jaggi
1129883011 Fade notification contents when expanding/contracting
Bug: 15284460
Change-Id: If0f18e0b8fc9e7410cc6ef2a7976bcec49a6eb6e
2014-06-23 17:36:07 +00:00
Winson Chung
653b0d6a59 Ensuring that we unload all resources after a transition.
- Fixed case where we weren't deleting task data after it was removed via a package event
- Reducing time for dismiss button to appear
- Working around animation issue where we appear to see frames before the animation starts (perhaps it is posted now?)

Change-Id: I1dc0e203485f517e7384b0f7ee08979bfd286013
2014-06-20 19:03:16 -07:00
Jason Monk
858aef2942 Merge "Add lock-to-app mode" 2014-06-20 00:24:32 +00:00
Jason Monk
62515beee6 Add lock-to-app mode
Added a dialog that shows when app has not been authorized by
DevicePolicyManager.isLockTaskAuthorized.  This allows any app
to trigger lock-to-app mode.  This same dialog is used when
startLockTaskOnCurrent is triggered by the recents long-press.

Can exit the mode by long-pressing recents again.

Keyguard is disabled when lock-to-app is active.

This CL also prevents apps from finishing when they are the root
task in a lock task TaskRecord.

Change-Id: Ib54d858e570cccf6bfd986958868e15f49bcef75
2014-06-20 16:17:38 -04:00
RoboErik
60c958cd9f Merge "Remove dead code from keyguard" 2014-06-20 02:09:17 +00:00
Andreas Gampe
b325ce8203 Add a null check to UserAvatarView.setBitmap
Adds a null check for the bitmap to set. Resets the paint's shader
in case of a null bitmap to release any previous image.

Change-Id: I1adf3c8ef44522a593fe3f25726b6c83120d7556
2014-06-19 23:51:12 -07:00
Selim Cinek
f99d000764 Improve unlock motion further.
Bug: 15244051
Change-Id: I6f567ff327695ec6ece56748cd300b8103715811
2014-06-20 01:19:40 +00:00
Jorim Jaggi
a800167e57 Merge "Hide status bar in bouncer" 2014-06-20 00:06:01 +00:00
Jorim Jaggi
44cf91960d Hide status bar in bouncer
Also, it gets faded in synchronously with the other unlock
animations.

Bug: 15407838
Change-Id: Ie161dfe970a2b4035a2d4cc7bb847285160cf691
2014-06-20 00:47:56 +00:00