5527 Commits

Author SHA1 Message Date
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
Baligh Uddin
7e75d21c65 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-24 15:35:58 +00:00
John Spurlock
747a69965e Merge "Volume: force-dismiss panel when the screen turns off." into lmp-dev 2014-07-24 15:36:51 +00:00
John Spurlock
8c79d2eedd Volume: force-dismiss panel when the screen turns off.
Bug:16492823
Change-Id: Ifc069ef936dc5f29d11f6b11dcc7131f440c7f0b
2014-07-24 15:15:25 -04:00
John Spurlock
8d9e9614dd Merge "QS: Fix clipped battery icon when expanded." into lmp-dev 2014-07-24 15:36:51 +00:00
John Spurlock
2eec8fe5eb QS: Fix clipped battery icon when expanded.
Change-Id: If5ad46b9f25e70af0e13654ce1137955eb87eec2
2014-07-24 12:16:14 -04:00
Kenny Guy
4dcb0dc453 Load package information from correct user.
Handle case where a package is only installed
for secondary user.

Bug: 15983201
Change-Id: I6733011c59e6d08d275dc761660d38b709051d79
2014-07-24 15:49:18 +00:00
Adrian Roos
723632ea1a Update KeyguardUserSwitcher to use UserSwitcherController
Also wires up the button to expand the keyguard user switcher.
Also respects the EDU simple switcher setting.

Bug: 16043126
Change-Id: I58871ec3323b2cafcacbc747fec5f20c56172969
2014-07-24 15:32:32 +00:00
Selim Cinek
baa2327459 Implemented new camera affordance
Also fixed a bug in the touch logic where you could close the shade / hint
after going to the camera / phone.

Bug: 15126905
Change-Id: Iadfde56cb68f4048868eedec6bd3456f55823cd9
2014-07-24 15:28:10 +00:00
Baligh Uddin
834ecc777d Import translations. DO NOT MERGE
Change-Id: I87b29540fb7b62fe887fba886a2326aa06e78442
Auto-generated-cl: translation import
2014-07-23 20:54:38 -07:00
Winson Chung
1907cd4782 Adding fallback transition for animating in/out of affiliate groups. 2014-07-24 01:21:03 +00:00
Winson Chung
df8f55948a Merge "Fixing issue with the lock-to-app setting not being refreshed when entering recents." into lmp-dev 2014-07-23 18:44:51 +00:00
Winson Chung
480dd72daf Fixing issue with the lock-to-app setting not being refreshed when entering recents.
Change-Id: I8236aebc18a0d7194bfe50fe2c61659caa39b04c
2014-07-23 14:49:38 -07:00
John Spurlock
ed69bd661f Doze: Manage screen state + brightness when teasing.
Bug:15863249
Change-Id: I2e9574afd58594d1895777024529e90815c66913
2014-07-23 17:15:15 -04:00
Alan Viverette
f84bc66b21 Merge "Use activity for brightness dialog" into lmp-dev 2014-07-23 18:50:38 +00:00
Sander Alewijnse
d2a1eec400 Add Device Policy API to disable screen capture.
WindowManager will set secure flag on SurfaceControl for
all windows of a flagged user to prevent screen capture.
API is consistent with the camera disable API.

Change-Id: Ib180f67f1ad827b6f4aca2af615274256cce58f4
2014-07-23 13:44:28 +00:00
John Spurlock
312b792421 Shade: Don't clip header icons pre-expand.
Bug:16496619
Change-Id: I1d3a391b2203b172bd525396719b671fe5cc3784
2014-07-22 22:28:13 -04:00
Alan Viverette
ed8e09b664 Remove dialog icons
BUG: 16493564
Change-Id: Ica59abb70a924cccd705172d323a535ef9b75cf1
2014-07-22 18:41:37 -07:00
Winson Chung
d6c3db5e5a Fixing animation when dismissing certain tasks. 2014-07-23 00:05:36 +00:00
John Spurlock
0323bf7553 Merge "BatterySaver: Make the bars orange." into lmp-dev 2014-07-22 22:02:55 +00:00
John Spurlock
0ff62e0911 BatterySaver: Make the bars orange.
Bug:16203820
Change-Id: I85f700d30a90212202626fc10fb289aca7f2b688
2014-07-22 18:53:08 -04:00
Winson Chung
dcfa7976fa Intermediate refactoring to move towards in-app view transitions.
- Fixing bug where we weren't toggling to the right task when using affiliations
- Refactoring task rect calculation to allow full screen task view to be laid out for transitions
- Refactoring the view bounds animations into a separate class
- Refactoring the footer view (for lock-to-task) out of TaskView
- Refactoring some transform code out of TaskView
- Removing fullscreen overlay view
- Fixing case where extra invalidations and layouts were still happening in FixedSizeImageView
- Adding debug overlay to replace specific debug drawing code

Change-Id: Ibf98b6a0782a68cd84582203c807cece1ff3379f
2014-07-22 22:25:33 +00:00
Winson Chung
7ea62ba97b Always enable HW layers on task views. (Bug 15986310)
- Use color filter to apply dim to the task view layer
- Fixing bug where you would see a flash of the task view when animating out of Recents.
2014-07-22 23:33:06 +00:00
Adrian Roos
1e1d6ac541 Kill flashlight when launching the camera from lockscreen
Bug: 16357300
Change-Id: I6838ac405bb30047b076c8acb98bd124e8d00fd6
2014-07-22 22:01:29 +00:00
Adrian Roos
930aaa717e QS: Hide flashlight tile if camera is busy
Currently behind a flag because the camera API for this not working
correctly yet.

Bug: 16357300
Change-Id: Ib10a2eafb1323fd611f38db03a2e0b4d7aa67db0
2014-07-22 22:00:14 +00:00
Jason Monk
464cb8fdc2 Merge "Implement hotspot tile" into lmp-dev 2014-07-20 04:41:30 +00:00
Jason Monk
51e4dc0a15 Implement hotspot tile
This tile enables/disables hotspot and will show up for 30 days
after hotspot is used.

Bug: 16234190
Change-Id: Iceb4842e021c27c2c4c18651bccdb12957055c3d
2014-07-22 15:35:04 -04:00
Craig Mautner
dc00cbe2c1 Create API for launching from recents
Relaunch apps from recents using the same uid and package as was used
in the original launch.

Fixes bug 16358208.

Change-Id: I340800bfee79926b197929360d69f1d570bbf1eb
2014-07-22 18:13:34 +00:00
Baligh Uddin
4979926830 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-18 22:16:50 +00:00
Baligh Uddin
fc68e86e0c Import translations. DO NOT MERGE
Change-Id: I2093c5d8b426d447e97a99b98bd67338eab4fcc0
Auto-generated-cl: translation import
2014-07-22 16:42:41 +00:00
John Spurlock
657c62c31e QS: Hide Location, Cast tiles when showing secure keyguard.
Bug:15725186
Bug:15725223
Change-Id: I7c23d8c764f5712ee31d248f4d8fc6d35d0add97
2014-07-22 12:24:37 -04:00
Adrian Roos
70441467f4 Guest: Switch back to previous user when exiting
Adds code to track the last non-guest that was switched
to. Previously, it would always switch back to the owner.

Bug: 15759636
Change-Id: I31415206010f0ab22eedd48eb551cc7ce9b5570f
2014-07-22 15:19:25 +00:00
John Spurlock
bfd2929d5d Merge "QS: Move flashlight tile before location tile." into lmp-dev 2014-07-17 19:26:18 +00:00
John Spurlock
00e004e653 QS: Move flashlight tile before location tile.
Bug:16464515
Change-Id: Id1f790a56935cd10ea268153842654b29cca24d5
2014-07-22 09:48:03 -04:00
Selim Cinek
3107cfacd3 Fixed a bug with low priotity notification coloring
When there where only low priority notifications, the topmost
notification was not colored correctly.

Bug: 16197778
Change-Id: I9fe8da79cfa78a3b94a3107c9e1af83b859a093e
2014-07-22 15:28:54 +02:00
Dan Sandler
7dea0eeb06 Old habits die hard.
Bug: 16458225
Change-Id: Ie5edebbb406412ed5643fda65ab94e92a86b217e
2014-07-21 21:07:15 -04:00
Adrian Roos
5005244f10 More user switching goodness
- Confirmation when exiting guest
- Dialog when resuming existing guest session (will be HUNed in follow-up CL)
- Properly center user name in QS user switcher

Bug: 15759638
Bug: 16378966
Change-Id: I63a1dd524975408618c10d90a18052f15deec756
2014-07-21 15:54:03 +00:00
John Spurlock
ad494bc0e4 Volume: Remove silent mode icon.
Instead of changing the slider icon and state in silent mode,
maintain the previous state, but disable.

Add VolumePanel to sysui dumpstate.

Bug:16209908
Change-Id: If9730b51ae9190e1ace5888d92a6ab5ce241f8f2
2014-07-20 17:39:44 -04:00
Baligh Uddin
7226b9b62d Import translations. DO NOT MERGE
Change-Id: Iad977cd9e130e353572188f6cac5c004268fc28d
Auto-generated-cl: translation import
2014-07-20 20:43:58 +00:00
John Spurlock
8b4f091b49 Merge "Volume: haptic feedback entering vibrate using touch." into lmp-dev 2014-07-17 19:26:18 +00:00
John Spurlock
ac9ab5b4e7 Volume: haptic feedback entering vibrate using touch.
Bug:15386667
Change-Id: Ia575c171f59f435afe669c2b7fd9c22155865b20
2014-07-20 13:09:44 -04:00
John Spurlock
eb2727bb2f Volume: new coat of paint.
- Two sections (lighter header, darker detail) like QS.
- Fewer text variants.
- Remove backgrounds for segmented buttons.
- Remove alarm warning background.
- Fix slider-only style.
- Ensure all touch-targets are 48dp.

Bug:16419191

Change-Id: I220f3a736eba3dd7a1b9ff58a8fe4bf3d21db61a
2014-07-20 02:50:34 -04:00
John Spurlock
4f558f7301 Volume: Design followup.
Fix button height so header matches QS, use same elevation between
layers.

Bug:16419191
Change-Id: I56d9c69fe72e926261a32579a0b142d2fac18871
2014-07-20 11:50:35 -04:00
Baligh Uddin
802603572c Merge "Remove deprecated locales - DO NOT MERGE" into lmp-dev 2014-07-17 19:13:40 +00:00