8995 Commits

Author SHA1 Message Date
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
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
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
Selim Cinek
89faff1dac Closing the QS when tapping on the notifications now.
Bug: 15394230
Change-Id: Ib9f750db69529afc0d56685fb88a13d183b0d3d5
2014-06-20 00:27:37 +00:00
Selim Cinek
00a78899af Merge "Scrimming the notifications when QS is open." 2014-06-20 00:11:43 +00:00
Selim Cinek
f54090e9bb Scrimming the notifications when QS is open.
Bug: 15394230
Change-Id: I4234bde0259ef296db73a43f69a765dbde5ddacd
2014-06-19 17:20:44 -07:00
RoboErik
939f04f971 Remove dead code from keyguard
This only removes the pieces that are directly dependent on
IRemoteControlDisplay. There is still code for the transport controls
UI that could be removed.

Change-Id: I0ee4921fcba9aee8d8efcd16e2198a2000147416
2014-06-19 23:02:57 +00:00
Adrian Roos
cdf74c2881 Merge "Implement keyguard user switcher" 2014-06-19 20:37:59 +00:00
Adrian Roos
8ddb2da875 Implement keyguard user switcher
Bug: 15545213
Change-Id: I2d18cc3c83d76991fe11fc4bff7e8eecc25df4b5
2014-06-19 15:47:46 -07:00
Winson Chung
47d1206fb8 Merge "Toggling Recents from home should actually toggle Recents instead of launching the first task." 2014-06-19 00:17:11 +00:00
Winson Chung
1f76132d4d Toggling Recents from home should actually toggle Recents instead of launching the first task.
Change-Id: Id60c54839c9f13299ec8d514e73e37c10735f30c
2014-06-18 18:21:42 -07:00
Winson Chung
7ab650cb43 Adding start delay to the task view transforms.
- Adding slight delay to task bar buttons to allow touch feedback to show

Change-Id: I9f31ca378541fc34c7b741840c7f038340684b13
2014-06-18 14:30:32 -07:00
Baligh Uddin
9211f148a4 Merge "Import translations. DO NOT MERGE" 2014-06-18 18:28:24 +00:00
Baligh Uddin
de978fe283 Merge "Import translations. DO NOT MERGE" 2014-06-18 22:47:18 +00:00
Baligh Uddin
cb70d53859 Merge "Import translations. DO NOT MERGE" 2014-06-19 00:17:11 +00:00
Baligh Uddin
e1f7f2a78a Merge "Import translations. DO NOT MERGE" 2014-06-18 18:28:24 +00:00
RoboErik
d3c8642dae Remove some more old code and fix Media command
Removes some more hidden apis from AudioService/Manager. This also
fixes up Media.java to support commands for the new service to help
with debugging. Also fixes a couple bugs that were found while fixing
up Media.

Change-Id: I68e4aa80a4de430b98236aafc883664b9432c62b
2014-06-19 10:37:00 -07:00
Baligh Uddin
16d24bf417 Import translations. DO NOT MERGE
Change-Id: Ib613546e110970b008f942f4291f6ccb8283847c
Auto-generated-cl: translation import
2014-06-18 10:25:37 -07:00
Baligh Uddin
7835f79b54 Import translations. DO NOT MERGE
Change-Id: I7e78e5e9d8a5517ce9c6587869b82c0be2f59e4f
Auto-generated-cl: translation import
2014-06-18 10:15:41 -07:00
Baligh Uddin
b8b4998e71 Import translations. DO NOT MERGE
Change-Id: I7f81acd62d7f32ba75bfa2e4a963d5de438f26f9
Auto-generated-cl: translation import
2014-06-18 09:41:46 -07:00
Baligh Uddin
e52ee5688d Import translations. DO NOT MERGE
Change-Id: I78454917ebab5e086504ea688c5b6b05991bb27d
Auto-generated-cl: translation import
2014-06-18 09:37:07 -07:00
Winson Chung
c4de2caaaf Merge "Adding start delay to the task view transforms." 2014-06-18 18:28:24 +00:00
Jeff Sharkey
275e085d5a Stronger PackageParser contract, more split work.
Require that method callers always provide relevant paths, instead of
relying on constructor.  Move DisplayMetrics to be an overall parser
parameter, and move PARSE_TRUSTED_OVERLAY to flags.

Parse split APKs and apply deterministic ordering based on split
names.  Assert consistent package name and version code across all
split APKs in a package, and enforce unique split names and required
base APK.

Collect certificates for split APKs, enforcing they're all signed
consistently.  Better flow control and resource cleanup when
collecting certs.  Refactor validation code so it's easier to reason
about.  Cleaner maintenance of read buffer when draining stream
contents.

Change-Id: I8bc8c62095fbb933227b9e76ad8771f4b1246fe8
2014-06-18 16:04:13 -07:00
John Spurlock
a0388bb6ff Battery saver notifications should be public.
Bug:15713445
Change-Id: I2ed0e47bcc3120baf85c8529b7ef15756e215ea7
2014-06-18 09:40:00 -04:00
Winson Chung
1275842377 Merge "Re-enabling task based filtering in Recents using package name." 2014-06-17 20:49:29 +00:00