143480 Commits

Author SHA1 Message Date
Jason Monk
8ed4d5ac66 Merge "Make the 'locked' lock task not lock keyguard on exit" into lmp-dev 2014-07-23 18:38:23 +00:00
Jason Monk
2961ce599e Make the 'locked' lock task not lock keyguard on exit
While here also fix mIsLockTaskLocked to actually be set to a value
so that it can be used.

Bug: 16347391
Change-Id: I27416f4787b28d19d84f895889eea1d3202c1759
2014-07-23 17:33:13 +00:00
Wei Wang
3e2bbda757 Merge "Fix parcel issues with empty service uuid. Added tests." into lmp-dev 2014-07-22 16:29:55 +00:00
Wei Wang
03259472b1 Fix parcel issues with empty service uuid. Added tests.
b/16490816

Change-Id: If26a4731f22e83df4f5ded2ad76901de6c49a010
2014-07-23 10:23:10 -07:00
Alan Viverette
52ff21d841 Merge "Remove dialog icons" into lmp-dev 2014-07-22 21:50:21 +00:00
Alan Viverette
ed8e09b664 Remove dialog icons
BUG: 16493564
Change-Id: Ica59abb70a924cccd705172d323a535ef9b75cf1
2014-07-22 18:41:37 -07:00
Craig Mautner
368c5adaf7 Refactor window manager screenshot
For readability, and add rotation compensation.

Fixes bug 16142514.

Change-Id: I1156ec2e0f052f6dec56457d56efe95368f60d91
2014-07-23 00:45:58 +00:00
Alan Viverette
ec9c4126a5 Merge "Ensure ripple mask gets updated in public constructor" into lmp-dev 2014-07-22 16:29:55 +00:00
Alan Viverette
ade9ef236c Ensure ripple mask gets updated in public constructor
Change-Id: I084ff0357c8e3cf08d3700d9c7dce42726b986f1
2014-07-23 11:25:28 -07:00
Jeff Davidson
6bbf39cf6b Implement VpnService.setBlocking().
Bug: 12879610
Change-Id: I3a0ad9eae5f7dd9c01f75b9da71810bad38f9fec
2014-07-23 11:18:57 -07:00
Brian Attwell
e98a95c156 Add PICK_JOIN_CONTACT_ACTION action contact
This ContactsContract change is needed by ag/509090

Bug: 16190113
Change-Id: I0f96286bdf45015148d2e84f7fe7aac5b23e1ba2
2014-07-23 18:11:13 +00:00
Chris Craik
5eac9e114e Merge "Build layer damage bounds for shadows" into lmp-dev 2014-07-22 16:29:55 +00:00
Chris Craik
c93e45cf04 Build layer damage bounds for shadows
bug:15538815

Change-Id: I703afeb7e31c28002bd1aff9ce448ec8cdc4e70d
2014-07-23 11:04:53 -07:00
Dianne Hackborn
551caf64a0 Merge "Further fix on issue #16013164" into lmp-dev 2014-07-22 16:21:19 +00:00
Dianne Hackborn
b64afe1706 Further fix on issue #16013164
Dumb dumb dumb copy/paste error when moving the
uid checking up out of the function.

Change-Id: I01513ccd80750b724dbfa8d9d7d171819c6b959b
2014-07-22 18:26:29 -07:00
Dianne Hackborn
e39e5bff29 Merge "Finish toast app op." into lmp-dev 2014-07-22 16:29:55 +00:00
Dianne Hackborn
4eee3cb1df Finish toast app op.
It was half-done, the window manager would check it
when the window was added, but was not monitoring for changes
to its state like it does for the system alert op.

Change-Id: I0279c4ac6160062cd219372af4bd9d7e4e687460
2014-07-22 18:27:26 -07:00
Carlos Valdivia
75111d83e6 Merge "Allow authenticators to rename accounts." into lmp-dev 2014-07-22 16:21:19 +00:00
Chris Craik
c403a39089 Merge "Make setter methods on Outline call setEmpty() based on params" into lmp-dev 2014-07-22 22:02:55 +00:00
Chris Craik
0645128b80 Make setter methods on Outline call setEmpty() based on params
bug:16142564

Additionally, better define behavior around null outline providers:

A view with an empty outline, and setClipToOutline=true will not be
rendered, though one with a null outline provider
(and thus no outline) will be.

Change-Id: Ic9549841b107b2eb51b417c66058a0cd69dd89eb
2014-07-22 15:15:11 -07:00
Sandeep Siddhartha
0edc8cea2b Merge "Make hotword availability a callback" into lmp-dev 2014-07-22 20:44:55 +00:00
Alan Viverette
77e5037d81 Update spinner asset, fix default popup context and elevation
BUG: 15985882
Change-Id: Ica8c2597c35bd3012da11e315a93bbd1df2f3f38
2014-07-23 00:18:07 +00:00
Sandeep Siddhartha
f63bc523ea Make hotword availability a callback
This helps us make the list sound models operation an async one, it also helps us
with the case where a detector is invalidated, so the client doesn't have to keep checking the
state.

Synchronize DatabaseHelper methods on its instance so that other VoiceInteractionManagerService
calls aren't blocked on db writes/reads.
It's still possible for the list operation to be blocked on update and vice-versa

Change-Id: Ib8ec4ac5056b62d443038560ce31d0641b4627b0
2014-07-22 17:11:52 -07:00
Yao Chen
10e62cb2f2 Merge "Add thumbnail related api." into lmp-dev 2014-07-22 16:21:19 +00:00
Winson Chung
d6c3db5e5a Fixing animation when dismissing certain tasks. 2014-07-23 00:05:36 +00:00
Yao Chen
319f9a979c Add thumbnail related api.
Change-Id: Ifcb06bbaf8f37df367f130124cbcef065fa25766
2014-07-22 17:05:04 -07:00
Chong Zhang
f3d00e4e0a update battery stats for audio/video
Bug: 12979595

Change-Id: I581376cb88a2d14dc4bad77d454b9bba73d0eb9b
2014-07-23 00:01:46 +00:00
Sreeram Ramachandran
71f6ad31cf Merge "Cleanup: Delete dead code." into lmp-dev 2014-07-22 16:21:19 +00:00
Sreeram Ramachandran
03666c705d Cleanup: Delete dead code.
Bug: 15413389
Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc
2014-07-22 15:46:34 -07:00
Andrew Lee
921ec8056a Merge "Revert "Don't throw RemoteException in public RemoteCallVideoClient APIs."" into lmp-dev 2014-07-22 16:29:55 +00:00
Andrew Lee
1995a6b58b Revert "Don't throw RemoteException in public RemoteCallVideoClient APIs."
This reverts commit 080b1f58eb877e1ac375768c6f951cc61a3cdbae.

Change-Id: I0dc963b3f4efe1479a7a94b8d851b89d15480d17
2014-07-22 22:42:10 +00:00
Andrew Lee
a93e06bd64 Don't throw RemoteException in public RemoteCallVideoClient APIs.
- Hide constructor.
- No longer implements IBinder.DeathRecipient.
- Catch RemoteExceptions instead of throwing RemoteExceptions.

Change-Id: Id666818b868c61f17b0701e4590d4e36f12c7b01
2014-07-22 12:09:38 -07:00
Christopher Tate
dcb7a9511c Merge "Always check restore against the latest backend metadata" into lmp-dev 2014-07-22 16:29:55 +00: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
Christopher Tate
f7cbb1fc25 Always check restore against the latest backend metadata
Bug 16484934

Change-Id: I472a7db89a94b9804f6ea94c25da206dd111a497
2014-07-22 15:12:02 -07:00
Alex Klyubin
fcd8b20e09 Align PSKKeyManager with framework API style.
This CL adjusts android.net.PSKKeyManager as follows:
* Renamed to PskKeyManager to follow naming conventions.
* Changed from interface to abstract class with default
  implementations for all methods.

Bug: 16403305
Bug: 15073623
Change-Id: Iefce26b394d4a753412315dad554b5342f3f0b44
2014-07-22 19:51:34 +00:00
Christopher Tate
403f095c92 Merge "Handle single-package restores properly" into lmp-dev 2014-07-22 16:21:19 +00:00
Christopher Tate
a4e4d68f08 Handle single-package restores properly
Bug 16346405

Change-Id: I69e3288f5a9d68d818fad6a2cd4b27ad45c1007e
2014-07-22 23:42:48 +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
Andrew Lee
8a01b05062 Merge "Don't throw RemoteException in public RemoteCallVideoClient APIs." into lmp-dev 2014-07-22 16:21:19 +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
RoboErik
b7c014c291 Move return out of debug conditional
Accidentally put the return for not sending volume changes into
the debug conditional.

bug:16379124
Change-Id: I473f6fdf7577ca26559ab9b02f4dc0613ef702e3
2014-07-22 23:00:14 +00:00
Andrew Lee
8a57efb7eb Don't throw RemoteException in public RemoteCallVideoClient APIs.
- Hide constructor.
- No longer implements IBinder.DeathRecipient.
- Catch RemoteExceptions instead of throwing RemoteExceptions.

Change-Id: Iaa049cab9e24120d3ea732e1ede78cc6fcd0ad71
2014-07-22 15:47:56 -07: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
RoboErik
9db9bf7034 Switch Session APIs over to AudioAttributes
The session apis were using audioStream in several places. This
updates them to use AudioAttributes instead.

bug:16403289
Change-Id: Ic4da9ca5fbea2536e80c71503bd9a9bf7f346997
2014-07-23 17:08:32 +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
Dianne Hackborn
4bd39ec448 Merge "Fix issue #16467284: Make noteStartVideo and noteStartAudio nesting" into lmp-dev 2014-07-22 16:29:55 +00:00
Dianne Hackborn
10eaa8574b Fix issue #16467284: Make noteStartVideo and noteStartAudio nesting
Also add new methods to clear these states, so we can avoid any
nesting issues from getting the tracking state stuck.

Change-Id: Iba0eaba2a9a186355c24d392f16118982c5331ed
2014-07-23 17:05:04 +00:00
Sander Alewijnse
0c1dcfd161 Merge "Add Device Policy API to disable screen capture." into lmp-dev 2014-07-23 05:48:23 +00:00