5868 Commits

Author SHA1 Message Date
Christoph Studer
22f2ee567d SysUI: Reset background treatment when re-using Entries
Bug: 16220667
Change-Id: I8fd2770fa5ea554728eb8cd70ce4a6171e28ece5
2014-07-30 11:40:24 +00:00
Guang Zhu
2649f6b22a disable flashlight for monkey tests
Change-Id: I81f459d41a780712f4c02e7ac7c0b51312e404be
2014-07-30 00:52:58 -07:00
Jorim Jaggi
5ad92c5278 Optimize alpha handling for stack scroller
Use a layer when an alpha is set. Currently, this breaks shadows
when alpha != 1f, however, b/15860114 will fix this.

Change-Id: I094d5896a5433ba9a0ecc17549ef2944f6b7881e
2014-07-29 22:07:21 +00:00
Jorim Jaggi
c503896a4d Fix crash in ExpandHelper
Bug: 16645584
Change-Id: Ifbcd8c88cda0a390061c162aa43d8615d1311f19
2014-07-29 18:06:55 +00:00
Christoph Studer
4600f9b607 Strip RemoteViews from Notifications, re-create them in SysUI
Bug: 16329721
Change-Id: Ic0bea763ffaec4c5644ca78705007211ac6b4b88
2014-07-30 20:17:12 +02:00
Winson Chung
b1b191ad66 Merge "Updating lock-to-app look." into lmp-dev 2014-07-25 21:16:23 +00:00
Winson Chung
2915b9d148 Updating lock-to-app look.
- Adding seek bars for tweaking values when in debug mode

Change-Id: I92ae7b431ee170f5d8b31f34349d51a6b7f9ddef
2014-07-28 22:26:36 +00:00
Baligh Uddin
df84404d58 Import translations. DO NOT MERGE
Change-Id: I1fcd1e840d7fbcc47d41e1dc997b685b6c4b9205
Auto-generated-cl: translation import
2014-07-28 23:12:31 +00:00
Jorim Jaggi
ab71126576 Fix QS overscroll flickering
Change-Id: I7f514285ec8de185e6f443d6943f0bd711dcac26
2014-07-28 20:38:32 +00:00
Jorim Jaggi
02609c1d48 Update alarm icon in status bar.
Now that we have new icons on Keyguard and QS, update it to the same
icon in status bar as well.

Change-Id: I87831a18b51719bb2b90b2198597ae20f61f8bb5
2014-07-28 20:01:10 +00:00
Jorim Jaggi
4b04a3a164 Clear all notifications improvements
- Fix a bug with visibility.
- Improve fling behavior such that the shade open animation still
  looks like that we are decelerating towards the last card.

Change-Id: I1ad167ce0001ff6850f49e819bab944943fa529d
2014-07-28 19:13:35 +00:00
RoboErik
e0b8c378b7 Merge changes I87f551a7,Icb8dc76c,I66fbf585,I0c9506e7 into lmp-dev
* changes:
  Add context to MediaController constructor
  Add getPackageName to MediaController
  Expose a way to set a PendingIntent for restarting playback
  Finish plumbing for launch intents in sessions
2014-07-25 21:16:23 +00:00
RoboErik
031149cd5f Add context to MediaController constructor
This also adds a convenience method to MediaSession to allow getting
a controller instead of having to create and cache your own.

bug:16561220
Change-Id: I87f551a7474e71f1cf2f07e0e541c3a4515cd977
2014-07-28 11:02:15 -07:00
RoboErik
aa4e23bbb3 Add getPackageName to MediaController
This removes the MediaSessionInfo class and adds a method on the
controller to get the package name. This also converts code that
depended on the session's UUID to use the token for comparison or
the Tag in the case of test code that needs a string identifier.

Change-Id: Icb8dc76c70e23e897da8fd07651c524b96372bf9
2014-07-25 16:22:59 -07:00
John Spurlock
e2efefe19d QS: Allow hotspot tile on secure keyguard.
Bug:16234190
Change-Id: I82a724e46f0a6ddd5c719742ef9c4f86feb791dc
2014-07-28 11:20:29 -04:00
Winson Chung
c37e129539 Fixing issue with Recents not triggering correctly for secondary users. (Bug 15689540) 2014-07-25 22:47:33 +00:00
Winson Chung
2b92253021 Announcing when a task is dismissed (for accessibility). (Bug 9181212) 2014-07-25 21:58:26 +00:00
John Spurlock
543650bb10 Merge "Volume: Show safe media warning in settings." into lmp-dev 2014-07-24 23:36:47 +00:00
John Spurlock
351346092a Volume: Show safe media warning in settings.
If the safe media warning is enabled, make sure
we display it from the new inline slider preference in
Settings (without showing the volume dialog itself).

Also:
 - Update the warning dialog to the new sysui theme.
 - Separate the warning sentences with an additional line.
 - Fix the auto-dismiss timeout.
 - Add a system property to additionally enable the safe
   media warning for testing
 - Add more information to audio service dumpsys.

Bug:15434662
Change-Id: I95fec12c9049bbfdb7ebdf246160e4b12c0c5be3
2014-07-25 11:27:51 -04:00
Dan Sandler
13b8159e90 Do not colorize bare notification icons in the overflow.
Change-Id: I3377a7d6024e495172a5ccefde1beaa46ec88283
2014-07-25 13:36:37 +00:00
Adrian Roos
2daf7a056d Merge "Remove brightness dialog timeout" into lmp-dev 2014-07-24 15:36:05 +00:00
Jorim Jaggi
4e0880e395 Synchronize album fade away with Keyguard dismissal
Change-Id: I7aaa6213f6070f0db14131a248a62b317309a3bf
2014-07-25 13:09:37 +00:00
Adrian Roos
5a46f8c98a Remove brightness dialog timeout
Required to make the dialog accessible.

Bug: 14116737
Change-Id: Ib126068672cdafccd4470de47e11e2b1efd90e72
2014-07-25 15:03:26 +02:00
John Spurlock
09890b3a90 Merge "QS: Handle all camera api exceptions during init." into lmp-dev 2014-07-24 15:36:51 +00:00
John Spurlock
553b48b50a QS: Handle all camera api exceptions during init.
Temporary workaround to unblock certain devices.

Bug:16547333
Change-Id: I80d8ec609e5c32b9db290576c5ec791ad915c45c
2014-07-24 18:12:58 -04:00
Dan Sandler
99137c5e8d Merge "Notification inspector." into lmp-dev 2014-07-24 15:36:02 +00:00
Winson Chung
a4cc966050 Adding content description for task view buttons. 2014-07-25 19:12:28 +00:00
Dan Sandler
4247a5c162 Notification inspector.
When longpressing a notification, instead of popping up a
menu we now replace the notification's view with an
inspector showing the app name and icon inline, along with a
proper app info button.

Bug: 15892646
Change-Id: I905e2fd5c9ea5cbbaccabd633f4b8257227a10bc
2014-07-25 15:10:36 -04:00
Jorim Jaggi
bc976e3f4c Fix ordering of notifications, user switcher and QS panel
Also closes the user switcher when opening QS on Keyguard because
touch logic would interleave with QS.

Change-Id: I391dc9bcba7f9e2e99c0854d34ed0ec6efbb2f44
2014-07-25 19:03:47 +00:00
Dan Sandler
eceda3d838 Reintroduced the clear all button
A new text button is added to the bottom of the notification list
enabling the user to clear all notifications.

Bug: 14826666
Change-Id: I34dcccb59346798cca321bc1a19252b00e7c5689
2014-07-25 19:25:46 +02:00
Jorim Jaggi
48bc36af05 Handle cases for going to SHADE_LOCKED
- When the user drags down in the empty (not on a notification), we
  scale up the clock in the interaction.
- If there are no notifications at all, we stay in KEYGUARD and let
  the clock spring back.
- Rubberbanding is different for the case when there are no
  notifications or only low-priority notifications, to indicate what
  the user can expect when they lift his finger.

Bug: 16216907
Change-Id: I69d6552c96ef9e3d0d0b526bbd232d68bef47960
2014-07-28 15:46:49 +02:00
Jorim Jaggi
87d84d4d95 Make user avatar bigger on lockscreen when it is tappable
Also fix some other paddings there.

Change-Id: I6c54b070cde96e7fd21ff3533ee6a4b58547028c
2014-07-28 15:35:09 +02:00
Jorim Jaggi
c7dea6ee9b Implement next alarm info in expanded QS.
Also make the representation of alarm on lockscreen consistent with
QS. In addition, fix a bug where pending app transition was overriden
to make the alarm click interaction look nice.

Bug: 15392951
Bug: 15856205
Change-Id: Iacdf6a38c5c1a7484b4b328c9a3fa4d25e071c64
2014-07-28 15:34:59 +02:00
Jorim Jaggi
0d266899da Fix status icon reappearing for legacy activities
When closing the shade, and underneath was an activity without
colored status bars, the animation for letting the status icons
reappear was strange and the icons faded from 0% alpha. The cause was
possibly that we set hasOverlappingRendering on the whole group but
but inner views used layers for setting the alpha value which
violated the contract in the documentation of
hasOverlappingRendering: "The current implementation of the saveLayer
and saveLayerAlpha methods in Canvas necessitates that a View return
true if it uses the methods internally without passing the
CLIP_TO_LAYER_SAVE_FLAG."

Change-Id: I4b0accc8ec3fb8cb553c6860eb7dba8a12d04364
2014-07-28 15:05:15 +02:00
Jorim Jaggi
629718fdc4 am 1698281b: am 91755f3f: am 54815675: Preview layouts for phone/camera affordance.
* commit '1698281bd8eabfc866655277283d446601cc4891':
  Preview layouts for phone/camera affordance.
2014-07-28 12:20:20 +00:00
Jorim Jaggi
8d51a477b5 am 91755f3f: am 54815675: Preview layouts for phone/camera affordance.
* commit '91755f3fbf96da62ad747526e8c0994c27aa1817':
  Preview layouts for phone/camera affordance.
2014-07-28 12:15:43 +00:00
Jorim Jaggi
3e0808d1d5 am 54815675: Preview layouts for phone/camera affordance.
* commit '54815675290855c41303478c5c9fc34323f23221':
  Preview layouts for phone/camera affordance.
2014-07-28 12:11:26 +00:00
Jorim Jaggi
b6cdcbc66b Preview layouts for phone/camera affordance.
Bug: 15126905
Change-Id: I72cbb90718e6add22a7c579a647f9f405793961a
2014-07-28 12:06:24 +00:00
John Spurlock
92a7512f40 am 892d84c7: am fec13d8e: am 416c134e: QS: Cellular tile icon state tweaks.
* commit '892d84c718d608a6fc6b4e26712133f0e4621b71':
  QS: Cellular tile icon state tweaks.
2014-07-27 16:10:50 +00:00
John Spurlock
13755c958c am fec13d8e: am 416c134e: QS: Cellular tile icon state tweaks.
* commit 'fec13d8e1d557d0f7adae99ddf7c78c8bc4b9930':
  QS: Cellular tile icon state tweaks.
2014-07-27 16:07:15 +00:00
John Spurlock
05810e2c5a am 416c134e: QS: Cellular tile icon state tweaks.
* commit '416c134e8909bfd5a72463ea89e6ca1c135f9514':
  QS: Cellular tile icon state tweaks.
2014-07-27 16:02:43 +00:00
John Spurlock
d5cd2fd15b QS: Cellular tile icon state tweaks.
Bug:16371677
Bug:15586604
Change-Id: Id66fc8fc0353221aa3ed4f6ebd09b499ccba6b98
2014-07-27 11:55:10 -04:00
Wink Saville
41ea01ff24 am f46fca60: am 2337a859: am cb2871b3: Fix hasService and use it in updateTelephonySignalStrength.
* commit 'f46fca60eb31fc8318c8f5571d93cf090f63a63f':
  Fix hasService and use it in updateTelephonySignalStrength.
2014-07-27 00:57:25 +00:00
Wink Saville
c192e95573 am 2337a859: am cb2871b3: Fix hasService and use it in updateTelephonySignalStrength.
* commit '2337a8594ab5ae79d17e7d06c26acba51ed33ae0':
  Fix hasService and use it in updateTelephonySignalStrength.
2014-07-27 00:53:12 +00:00
Wink Saville
22a2419c7c am cb2871b3: Fix hasService and use it in updateTelephonySignalStrength.
* commit 'cb2871b3d215dba73042c8730e69c5ad873ff755':
  Fix hasService and use it in updateTelephonySignalStrength.
2014-07-27 00:50:19 +00:00
Wink Saville
d32e1b42c4 Fix hasService and use it in updateTelephonySignalStrength.
I introduced the bug in hasService in
change Ia463997eac7b062653b3cef00570d3fffc115ad3 which added
debug and a quick and dirty hack for 16148026.

Change-Id: I9d5fa36a8cdab2ca28487a94a9f2ecd0d0af6a4b
2014-07-27 00:46:59 +00:00
Jeff Brown
2da6665002 am 8bfbd2f6: am 7798e931: am 108f9dc2: Merge "Remove DozeHardware since it will not be used." into lmp-dev
* commit '8bfbd2f61ffb8cc9e167b45ae0306f05af54d10d':
  Remove DozeHardware since it will not be used.
2014-07-26 22:56:17 +00:00
Jeff Brown
8090ac3eaa am 7798e931: am 108f9dc2: Merge "Remove DozeHardware since it will not be used." into lmp-dev
* commit '7798e9313106abfcc39808108b35edc2493ebc6a':
  Remove DozeHardware since it will not be used.
2014-07-26 22:52:04 +00:00
Jeff Brown
981838a45d am 108f9dc2: Merge "Remove DozeHardware since it will not be used." into lmp-dev
* commit '108f9dc260c703544054c44aa32048ff8556a7e0':
  Remove DozeHardware since it will not be used.
2014-07-26 22:48:23 +00:00
John Spurlock
fa8fccf6c7 am 382300fd: am 8ebe80a3: am c9dfaff7: Merge "Doze: Update tease signal to buzz-beep-blink from NoMan." into lmp-dev
* commit '382300fd23cda23040c97f2255edb5d6d351b019':
  Doze: Update tease signal to buzz-beep-blink from NoMan.
2014-07-26 21:28:12 +00:00