10036 Commits

Author SHA1 Message Date
Amith Yamasani
b0dd621ef3 am 6648994f: am 5884bca0: Decouple user limit from guest creation
* commit '6648994f02769f957a197deef011291d11a390b8':
  Decouple user limit from guest creation
2014-08-13 20:18:50 +00:00
Amith Yamasani
170ad7f32d am 5884bca0: Decouple user limit from guest creation
* commit '5884bca02326813ae809e80e5f3678cedde2a706':
  Decouple user limit from guest creation
2014-08-13 20:13:11 +00:00
Amith Yamasani
95ab784944 Decouple user limit from guest creation
Allow Guest to be created even if there are N users.
Allow N users to be created even if there are N-1 users
   and a Guest.
Limit number of guests and managed profiles that can
be added.

Added unit tests.

Bug: 15934700
Change-Id: I1a8f0fa38a91d71ef7b2980e05c974244dfc337a
2014-08-13 20:09:20 +00:00
Adrian Roos
7e8502fdf3 am 9244bd6d: am cf4d504e: Merge "QS UserSwitcher: Update exit guest string" into lmp-dev
* commit '9244bd6d100b25099f7d3c0e05755451b3fe3fe6':
  QS UserSwitcher: Update exit guest string
2014-08-13 19:48:56 +00:00
Adrian Roos
dcf2c2ddb1 am fa2dca7e: am 009cd491: Merge "Status bar header: Fix Settings shortcut content description" into lmp-dev
* commit 'fa2dca7ec0fa55dd78589bb20c7c62401dd83609':
  Status bar header: Fix Settings shortcut content description
2014-08-13 19:48:52 +00:00
Adrian Roos
15931b1d99 am cf4d504e: Merge "QS UserSwitcher: Update exit guest string" into lmp-dev
* commit 'cf4d504e708a18bf804191f88ef59c748993e1c7':
  QS UserSwitcher: Update exit guest string
2014-08-13 19:40:24 +00:00
Adrian Roos
7214a63250 am 009cd491: Merge "Status bar header: Fix Settings shortcut content description" into lmp-dev
* commit '009cd49180827302ff63c67a83efcbf20a8f424f':
  Status bar header: Fix Settings shortcut content description
2014-08-13 19:40:19 +00:00
Adrian Roos
a42bf4c31b am 38afacab: am 6b3fc443: Dismiss bouncer when onTrustInitiatedByUser fires
* commit '38afacabc5ee4fb29e6d1271643dc0f76fbae94b':
  Dismiss bouncer when onTrustInitiatedByUser fires
2014-08-13 17:33:13 +00:00
Adrian Roos
6bac42b3e1 am 259cac63: am 1ce3f5c0: QS Brightness Mirror: Also mirror setMax
* commit '259cac63a4e3824b7fe9299919417320242d72f8':
  QS Brightness Mirror: Also mirror setMax
2014-08-13 17:33:06 +00:00
Adrian Roos
68d7c72920 am 6b3fc443: Dismiss bouncer when onTrustInitiatedByUser fires
* commit '6b3fc443c31726ae316e1774181c11e097fb2ea1':
  Dismiss bouncer when onTrustInitiatedByUser fires
2014-08-13 17:28:49 +00:00
Adrian Roos
a9308d8f1e am 1ce3f5c0: QS Brightness Mirror: Also mirror setMax
* commit '1ce3f5c037b7ee03cd2e9aba27830b635430bd9e':
  QS Brightness Mirror: Also mirror setMax
2014-08-13 17:28:45 +00:00
Adrian Roos
2bb8bfd1e8 Dismiss bouncer when onTrustInitiatedByUser fires
Also modifies the SampleTrustAgent to allow testing of the feature
and adds the initiatedByUser flag to the dumpsys output.

Bug: 16840500
Change-Id: I4c08ddcdcbd0ab02c694a1873f73cb9a250f98d7
2014-08-13 17:24:36 +00:00
Adrian Roos
959409b86f QS Brightness Mirror: Also mirror setMax
Follow-up to Ic1f934f9ddbb582453b4b52a4b4402c71ac79654

Bug: 15408618
Change-Id: I3ea82f011f366fe34be2ff07546a7f46c1c3dc55
2014-08-13 17:23:19 +00:00
Jean-Michel Trivi
114e293143 am 94dc549b: am f181197f: Merge "Add support for AudioAttributes in android.media.Ringtone" into lmp-dev
* commit '94dc549b6fe45fd4bde0bedf035fb34eb4b797b8':
  Add support for AudioAttributes in android.media.Ringtone
2014-08-13 16:07:32 +00:00
Jean-Michel Trivi
9dfce1e648 am f181197f: Merge "Add support for AudioAttributes in android.media.Ringtone" into lmp-dev
* commit 'f181197f9729dbb629c1383efd5faa3f3e0e4558':
  Add support for AudioAttributes in android.media.Ringtone
2014-08-13 15:59:47 +00:00
Jorim Jaggi
728f39f578 am 119b3c40: am 36abea42: Merge "Lockscreen launch animations" into lmp-dev
* commit '119b3c40078d532dce4b1de56f4645b6ea587874':
  Lockscreen launch animations
2014-08-13 14:13:41 +00:00
Jorim Jaggi
bbc461f62a am 36abea42: Merge "Lockscreen launch animations" into lmp-dev
* commit '36abea426c76463185d2befa8e459a7cefe2bbc9':
  Lockscreen launch animations
2014-08-13 14:09:35 +00:00
Selim Cinek
49ef812f71 am 7ff730f7: am e2116c44: Merge "Reuse existing TouchHelpers on rotation" into lmp-dev
* commit '7ff730f770a510e2809f34075a8b88949133daa8':
  Reuse existing TouchHelpers on rotation
2014-08-13 14:07:22 +00:00
Selim Cinek
3a51f54ac2 am e2116c44: Merge "Reuse existing TouchHelpers on rotation" into lmp-dev
* commit 'e2116c44bd7f290698f889c356e49746c7677909':
  Reuse existing TouchHelpers on rotation
2014-08-13 14:01:55 +00:00
Selim Cinek
7f6e8cfe7f am 52f1b0d2: am 5aeb57d5: Merge "Reset the notification expanded states on screen off" into lmp-dev
* commit '52f1b0d2cf423d2e3612b50941a8ee7f0db1cbff':
  Reset the notification expanded states on screen off
2014-08-13 13:55:22 +00:00
Selim Cinek
bf65204d2d am 5aeb57d5: Merge "Reset the notification expanded states on screen off" into lmp-dev
* commit '5aeb57d5a568ab975d96cd29e24d18d38ff997f8':
  Reset the notification expanded states on screen off
2014-08-13 13:51:10 +00:00
Svet Ganov
0b1a992809 am f9372016: am b130ba2b: Fix some minor print UX bugs.
* commit 'f9372016209b125a3415014790ca48ad76da31fd':
  Fix some minor print UX bugs.
2014-08-13 05:21:13 +00:00
Dan Sandler
ea9c58a2b3 am 6eb58ce4: am 0f875bac: Large text support for notifications.
* commit '6eb58ce4d3646070baffa51ac30334e5a17cb518':
  Large text support for notifications.
2014-08-13 05:20:59 +00:00
Svet Ganov
da33c3b51d am b130ba2b: Fix some minor print UX bugs.
* commit 'b130ba2baf6af52c252a3daa58d1284cf2182c11':
  Fix some minor print UX bugs.
2014-08-13 04:31:25 +00:00
Dan Sandler
cd65a5fe04 am 0f875bac: Large text support for notifications.
* commit '0f875bacb5d2bc97192d4e4750a0125daa96db41':
  Large text support for notifications.
2014-08-13 04:31:14 +00:00
Svet Ganov
38781bd2c2 Fix some minor print UX bugs.
1. The last row of print options was not visible on a phone.

2. The preview page size on a phone in landscape unusably small.

3. Updated the Save to PDF icon.

bug:16966145

Change-Id: I25ce1572758c62f34344683af2452fb045bb857e
2014-08-13 04:07:21 +00:00
Dan Sandler
539aad4570 Large text support for notifications.
Bug: 7216066
Bug: 15437369
Change-Id: I01a07f04c18d374fc1656f0b1f439a7c33c9d80c
2014-08-13 04:02:23 +00:00
Winson Chung
5cb17705e2 am 74c349e2: am 81c8c7c6: Merge "Implementing Recents focus states. (Bug 16950262)" into lmp-dev
* commit '74c349e2401e6f9d37fd9f8f72ab5f764857afca':
  Implementing Recents focus states. (Bug 16950262)
2014-08-13 00:02:39 +00:00
Winson Chung
67d6e091cb am 81c8c7c6: Merge "Implementing Recents focus states. (Bug 16950262)" into lmp-dev
* commit '81c8c7c6cc24cefefec8a15ad40f6cca894e9cd8':
  Implementing Recents focus states. (Bug 16950262)
2014-08-12 23:58:04 +00:00
Selim Cinek
f7fc6f7582 Merge "Reuse existing TouchHelpers on rotation" into lmp-dev 2014-08-12 23:14:49 +00:00
Adrian Roos
9f2bcdb6e2 Merge "QS UserSwitcher: Update exit guest string" into lmp-dev 2014-08-12 23:14:48 +00:00
Adrian Roos
8d2a4e2bf6 QS UserSwitcher: Update exit guest string
Bug: 16511180
Change-Id: I2289b25350a46f0bfe1e5495a3c52ddf2aeabb3c
2014-08-13 19:33:51 +00:00
Adrian Roos
b88c884b97 Status bar header: Fix Settings shortcut content description
Bug: 15567494
Change-Id: Iff983d3590b6c84ded6cc32c6a611355678e24a1
2014-08-13 19:30:28 +00:00
Jorim Jaggi
72eb2ae21b Merge "Lockscreen launch animations" into lmp-dev 2014-08-12 23:14:48 +00:00
Selim Cinek
059a49f834 Merge "Reset the notification expanded states on screen off" into lmp-dev 2014-08-12 23:14:48 +00:00
Jean-Michel Trivi
ceb4d41846 Merge "Add support for AudioAttributes in android.media.Ringtone" into lmp-dev 2014-08-12 23:14:35 +00:00
Winson Chung
a0e88b5013 Implementing Recents focus states. (Bug 16950262)
- Fixed issue with focus going to send front most task when coming from Home
- Adding shortcut to dismiss a task
- Refactoring code to get secondary overlay and affiliation color
- Throttling alt-tab key presses
- Fixing issue with slivers of the task thumbnail being visible for affiliated tasks

Change-Id: Iaafe408318646a423fd58b51bbe93dbe0f2eed99
2014-08-12 23:18:34 +00:00
Jean-Michel Trivi
81f871e2b9 Add support for AudioAttributes in android.media.Ringtone
Deprecate use of stream types.
Map deprecated API to AudioAttributes.
Add new methods to specify AudioAttributes on a Ringtone instance.

Bug 16790748

Change-Id: Ifb3c2e838e1f119614459ad7d71d83a4d7c9ffdb
2014-08-12 15:53:15 -07:00
Jorim Jaggi
8de4311c51 Lockscreen launch animations
- Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was
  used for two different things: Dismiss keyguard from somewhere else
  (not really necessary anymore), wait to actually dismiss keyguard
  after the window behind is drawn. Instead, introduce
  keyguardWaitingForActivityDrawn(), and change the semantics where
  necessary.
- Make wallpaper_close_enter consistent with task_open_enter and the
  Keyguard launch animation.
- Close the panel even on lockscreen when launching a notification.
- Block notification shade updates during the collapsing motion so
  notification don't play the disappear animation immediately after
  having launched a notification.

Bug: 15991916

Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
2014-08-12 22:47:52 +00:00
Jeff Sharkey
51886f3125 am 840e9325: am 2013cb1f: Merge "Prevent system_server shutdown when trying to format external storage"
* commit '840e932584b4d03f39ba17da57b92b1d1878b21d':
  Prevent system_server shutdown when trying to format external storage
2014-08-12 22:21:09 +00:00
Adrian Roos
31879fd440 am 92b5e337: Implement final lock now affordance
* commit '92b5e3373aa2a78d6db2770db3d37a5ddf9ba129':
  Implement final lock now affordance
2014-08-12 22:08:13 +00:00
Adrian Roos
4ebcdfdd42 Implement final lock now affordance
Also removes the GlobalAction. Also fixes the animation not
being applied to the background of the affordance.

Bug: 15344542
Bug: 16952834

Change-Id: Ie790b40a5d1ba10fa42a793c8cfeaf6687d17c61
2014-08-12 22:03:19 +00:00
Adrian Roos
37b9d61368 am 9d41117a: Update brightness slider thumb and spacing
* commit '9d41117ad2679869fcdd94b0767a88b47d711c84':
  Update brightness slider thumb and spacing
2014-08-12 21:09:02 +00:00
Adrian Roos
cd542b8a98 Update brightness slider thumb and spacing
Also fixes a few errors in the measuring logic.

Bug: 15170399
Change-Id: I7ce7edef0a08dc00ef747988cd64e40a9fbae192
2014-08-12 21:04:26 +00:00
Jorim Jaggi
7aed532636 am f9205cbe: Preparations for lockscreen launch animations
* commit 'f9205cbebc20a81a033e074f398099d7ec136728':
  Preparations for lockscreen launch animations
2014-08-12 20:58:06 +00:00
Jorim Jaggi
76a1623afc Preparations for lockscreen launch animations
- Update unlock animations to new spec to make the consistent with
  lockscreen launch animations.
- Introduce disappearing motion for security views which runs before
  we actually dismiss Keyguard.
- If a window is running the un-force-hide animation, treat as it
  would have the wallpaper flag set so the wallpaper stays until
  the animation is completely done.
- Run an animation on the wallpaper if the wallpaper is going away.

Bug: 15991916
Bug: 16234603
Bug: 15326120
Change-Id: I063aa4f269ddcf75b9a705e90f0c3056b541b642
2014-08-12 20:52:26 +00:00
Jeff Sharkey
2013cb1f91 Merge "Prevent system_server shutdown when trying to format external storage" 2014-08-12 20:07:20 +00:00
Selim Cinek
1cf41c14aa Reuse existing TouchHelpers on rotation
Recreating them caused some bugs when touching during
the rotation. Currently there is no need to recreate them.

Bug: 15598792
Change-Id: I7255bd0102427e6847b63ce7f6346248aaa4054f
2014-08-12 20:06:19 +02:00
Adrian Roos
5615c8a9dc am 6f6ac3de: Merge "Hide panel while changing brightness" into lmp-dev
* commit '6f6ac3de3946a580122ea2e53a79d78813149446':
  Hide panel while changing brightness
2014-08-12 17:40:40 +00:00
Adrian Roos
27a0be9fde am 594bf0c8: Respect DPM flags for lockscreen notifications
* commit '594bf0c8ee1ad0464a04580186f4b1d28a5c5a3b':
  Respect DPM flags for lockscreen notifications
2014-08-12 17:40:35 +00:00