10060 Commits

Author SHA1 Message Date
Jose Lima
235510e672 Made AlarmClockInfo a nested class in AlarmManager
Bug: 16959028
Change-Id: I150eaaff765d1e214c3621c1bf50162ec0dac8ec
2014-08-14 02:10:41 +00:00
Yorke Lee
583a20247b Show InCallScreen when swiping phone affordance while in a call
Bug: 16344259

Change-Id: Ifd7975295d9c98af302b5ce769076152acf59939
2014-08-14 17:51:26 -07:00
Winson Chung
eb0cefa965 Merge "Adding scrim to task views. (Bug 15704955)" into lmp-dev 2014-08-12 23:14:48 +00:00
Winson Chung
60a729c8e9 Adding scrim to task views. (Bug 15704955)
- Fixing issue with focus animations not happening for new views

Change-Id: I3134f25becf06db343aa30ea80cb33514cd99d06
2014-08-13 15:55:15 -07:00
Adrian Roos
37f100ea51 Fix detail header padding
Bug: 17007279
Change-Id: If0d20f69306a7c0cee89cc0c9a1fb81e7d0bf3c0
2014-08-13 21:39:34 +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
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
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
Jean-Michel Trivi
ceb4d41846 Merge "Add support for AudioAttributes in android.media.Ringtone" into lmp-dev 2014-08-12 23:14:35 +00:00
Jorim Jaggi
72eb2ae21b Merge "Lockscreen launch animations" into lmp-dev 2014-08-12 23:14:48 +00:00
Selim Cinek
f7fc6f7582 Merge "Reuse existing TouchHelpers on rotation" into lmp-dev 2014-08-12 23:14:49 +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
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
Jorim Jaggi
fbc88e19cb Fix emergency call when in launch transition.
Bug: 16831662
Change-Id: I3411decc3053a7e5fc760ffce5e8b3c52a6e0c49
2014-08-14 21:44:26 +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
RoboErik
6d3e0c6d1a Merge "Remove REMOTE_STREAM_MUSIC references from AudioService" into lmp-dev 2014-08-12 23:14:33 +00:00
RoboErik
2811dd3372 Remove REMOTE_STREAM_MUSIC references from AudioService
This removes the fake stream from AudioService and cleans up
references to it. Also removes isLocalOrRemoteMusicActive.

bug:15884752
Change-Id: I1c2b57a2f8ba80061313737f254463f4c80ce8c3
2014-08-14 17:23:34 +00:00
Selim Cinek
1a8b72af90 Merge "Fixed a NPE during setup wizard" into lmp-dev 2014-08-12 23:14:49 +00:00
Selim Cinek
e34c6513bb Fixed a NPE during setup wizard
The heightChangedListener might not be set.

Bug: 17000238
Change-Id: I3e930d22eeaeea5984c089d3f76c91997e4a2b01
2014-08-14 09:26:04 +00:00
Jorim Jaggi
3afddce73e Hide icons on Keyguard when QS is open
Bug: 16794381
Change-Id: Ic8525bb5e8882bd37bf63d29be60d4cc8f40b26a
2014-08-14 21:05:11 +00:00
Jorim Jaggi
11c071a550 Fix QS expansion weirdness
- Fix that the clock/avatar could get too large.
- Fix QS collapsing when on Keyguard and scroll view is scrolled
- Fix that clock/avatar didn't grow after a layout when expanding
- Fix flicker in header when overexpanding the panel
- Fix flicker from QS panel when it changes size
- Fix that scroll view still was scrolled after collapsing QS

Bug: 16869692
Bug: 16894194
Change-Id: Ic0f89ab860979db4d0438007b4d0d044d3e8c4ae
2014-08-14 21:01:52 +00:00
Jorim Jaggi
fc69f78732 Fix scaling of text in quick settings header view
Bug: 16824061
Change-Id: Ic2b5d42f4485885f43448ab311972a886d6da6d6
2014-08-14 20:46:44 +00:00
Alan Viverette
780fcd9f1a Merge "Make sure we're obtaining themed drawables correctly" into lmp-dev 2014-08-12 23:14:33 +00:00
Alan Viverette
03d30a573b Make sure we're obtaining themed drawables correctly
Change-Id: I446a3492f7bf5a897c5d698e61327af4b7840d85
2014-08-14 19:59:50 +00:00
Jorim Jaggi
8599a33580 Fix listening states for two-finger and fast-double swipe
Bug: 16655660
Change-Id: I46d826edc901e08eb1513fe87de2f63228581617
2014-08-14 19:55:42 +00:00
Jason Monk
815e057b9b Switch exiting screen pinning to recents+back
When accessibility is on, still use just recents.

While here fix strings to be less wrong.  Still need finalization.

Bug: 16649417
Change-Id: I94debe9471d5132f1f662543cc98cbde638c758d
2014-08-14 20:06:41 +00:00
Jorim Jaggi
d7c1fae12e Don't scale notifications on Keyguard for devices < xxhdpi
Bug: 16824061
Change-Id: Iccccebcd17357764aef325df0cd220508fcf7403
2014-08-14 19:16:33 +00:00
Jorim Jaggi
0f623eb834 Merge "Disable DragDownHelper in QS" into lmp-dev 2014-08-12 23:14:49 +00:00
Jorim Jaggi
d692dd0d80 Disable DragDownHelper in QS
Leads to a weird state and doesn't really make sense.

Bug: 16824757
Change-Id: I8a213d8151b58027309e79e5c010ff11946b7ca1
2014-08-14 19:00:38 +00:00
Dan Sandler
b120ac5b69 No need for drawing caches on notifications.
They just chew up memory.

Bug: 10918599
Change-Id: I99761846e88b7ea25270d7a70d118963b1d72e5f
2014-08-14 18:52:30 +00:00
Adrian Roos
1de02ee3ea Label user switcher button for accessibility
Bug: 15692931
Change-Id: I4add4c21fd0ed95cc3a49e2841173589f37db08a
2014-08-14 18:39:15 +00:00
Winson Chung
72db690850 Merge "Anchoring the front most task to make the dismiss animation more stable. (Bug 16939699)" into lmp-dev 2014-08-12 23:14:35 +00:00
Winson Chung
78cc96af8c Anchoring the front most task to make the dismiss animation more stable. (Bug 16939699)
Change-Id: I49aa14bbc7fdb2fb0884a8255af385dbbbe656f8
2014-08-13 23:08:01 +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
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
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
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
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
Selim Cinek
ccd14fbcfe Reset the notification expanded states on screen off
To avoid having expanded notifications sticking around

Bug: 16005498
Change-Id: Ib5b184fa7eb67ada85305e7ca4afad68a1514327
2014-08-12 16:56:40 +00:00
Adrian Roos
1fbc124780 Merge "Hide panel while changing brightness" into lmp-dev 2014-08-11 18:40:10 +00:00
Adrian Roos
bd3409c137 Respect DPM flags for lockscreen notifications
Disables unredacted or all notifications based on device policy.

Bug: 15934116
Change-Id: Ia012e44da8fbf73c24e26950abb1df76af7001a9
2014-08-12 17:27:58 +00:00
Adrian Roos
5fd872e8ea Hide panel while changing brightness
Bug: 15408618
Change-Id: Ic1f934f9ddbb582453b4b52a4b4402c71ac79654
2014-08-12 17:27:41 +00:00
Baligh Uddin
dc77ea411a Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-11 18:20:32 +00:00
Baligh Uddin
10b363434b Import translations. DO NOT MERGE
Change-Id: I05a1dc49c04d92092723d84c7fdadf7e190b5476
Auto-generated-cl: translation import
2014-08-11 12:52:01 -07:00
Baligh Uddin
78f793f740 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-11 18:20:32 +00:00