9414 Commits

Author SHA1 Message Date
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
Adrian Roos
c3d5ead837 Merge "Restart trust agents when updated or when they are dead" into lmp-dev 2014-07-24 15:36:04 +00:00
Adrian Roos
c5f95cea26 Restart trust agents when updated or when they are dead
ActivityManager restarts the trust agent service for us
when it gets killed automatically. This does not apply
when its process crashes too often or when its package
gets updated however.
To catch the update case, the trust agent connection
is removed as soon as the package disappears, and then
readded when the new package appears.
To catch the repeated crashing case, the connection is
reset if it hasn't successfully connected for several minutes.

Also adds a button to SampleTrustAgent to simulate a crash.

Bug: 16137258
Change-Id: I1b18fc7a3025e23e25ca1623b6af658d5430a94b
2014-07-24 21:44:02 +02: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
Svetoslav
b59555ca74 Print to PDF putting a pring job in a wrong state.
When printing to a PDF file we get a Uri from the storage APIs
and write the content. Once the file is written to storage the
print job is completed and there is print service involved. Th
spooler was wrongly putting the job in a failed state instead
of a complete state.

bug:16522267

Change-Id: I4741c9b9eb763e118e7dfb2c7c502bd7fc13f7a1
2014-07-24 17:17:07 +00: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
Svetoslav
5ef522bc19 Handle wrong file format when printing.
PDF is the only format suppored for printing but a buggy app
can write content in another format which was crashing the
print spooler. Now we are generating an error instead of
crashing.

bug:16487161

Change-Id: Ic59d2ac6d57213f4e8f364659d8dc7df2140e61d
2014-07-24 03:18:47 +00:00
Winson Chung
475f15fb9e Merge "Adding fallback transition for animating in/out of affiliate groups." into lmp-dev 2014-07-23 18:44:51 +00:00
Svetoslav
f8ffa567b5 Updating the save to PDF button icon.
Change-Id: Ie62a22d6e16d15426f10afa0512b0083c52ff507
2014-07-24 01:23:16 +00: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
Svet Ganov
5320b04fe7 Merge "Adding shell commands for grant/revoke of bind app widget permisison." into lmp-dev 2014-07-22 16:13:36 +00:00
Svet Ganov
be19c3a91a Adding shell commands for grant/revoke of bind app widget permisison.
Testing the app widget APIs requires binding of widgets which is guarded
by a system signature permission or white listing. Since CTS tests can
not be signed with the platform certificate, they should be able to
temporariliy white list their package. This command adds the ability to
grant and revoke the provilege to bind app widgets to a given package.

Change-Id: I6de1bbf27ac684ec47e61157f19ec6d29e2db979
2014-07-23 02:25:25 +00:00
Alan Viverette
ed8e09b664 Remove dialog icons
BUG: 16493564
Change-Id: Ica59abb70a924cccd705172d323a535ef9b75cf1
2014-07-22 18:41:37 -07: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
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
caf26263a7 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-17 21:15:46 +00:00
Baligh Uddin
5a4bdf8144 Import translations. DO NOT MERGE
Change-Id: I5f9b029d8be54fb3ed6ce28b5e64640ab3d676ea
Auto-generated-cl: translation import
2014-07-22 16:39:28 +00: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
Baligh Uddin
85c9ecc126 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-18 22:16:50 +00:00
Baligh Uddin
9666f97dff Import translations. DO NOT MERGE
Change-Id: I2808fa9de557f81f25e19b14b8db854516c759a4
Auto-generated-cl: translation import
2014-07-22 16:39:54 +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
John Spurlock
bfd2929d5d Merge "QS: Move flashlight tile before location tile." into lmp-dev 2014-07-17 19:26:18 +00:00