OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Adding shell commands for grant/revoke of bind app widget permisison." into...
Svet Ganov [Wed, 23 Jul 2014 17:11:53 +0000 (17:11 +0000)]
Merge "Adding shell commands for grant/revoke of bind app widget permisison." into lmp-dev

9 years agoSwitch Session APIs over to AudioAttributes
RoboErik [Mon, 21 Jul 2014 19:44:53 +0000 (12:44 -0700)]
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

9 years agoAdding shell commands for grant/revoke of bind app widget permisison.
Svet Ganov [Tue, 22 Jul 2014 06:46:05 +0000 (23:46 -0700)]
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

9 years agoMerge "Remove dialog icons" into lmp-dev
Alan Viverette [Wed, 23 Jul 2014 01:42:11 +0000 (01:42 +0000)]
Merge "Remove dialog icons" into lmp-dev

9 years agoRemove dialog icons
Alan Viverette [Wed, 23 Jul 2014 01:41:37 +0000 (18:41 -0700)]
Remove dialog icons

BUG: 16493564
Change-Id: Ica59abb70a924cccd705172d323a535ef9b75cf1

9 years agoRefactor window manager screenshot
Craig Mautner [Tue, 22 Jul 2014 23:47:26 +0000 (16:47 -0700)]
Refactor window manager screenshot

For readability, and add rotation compensation.

Fixes bug 16142514.

Change-Id: I1156ec2e0f052f6dec56457d56efe95368f60d91

9 years agoMerge "Fix issue #16467284: Make noteStartVideo and noteStartAudio nesting" into...
Dianne Hackborn [Wed, 23 Jul 2014 17:05:15 +0000 (17:05 +0000)]
Merge "Fix issue #16467284: Make noteStartVideo and noteStartAudio nesting" into lmp-dev

9 years agoFix issue #16467284: Make noteStartVideo and noteStartAudio nesting
Dianne Hackborn [Wed, 23 Jul 2014 05:54:55 +0000 (22:54 -0700)]
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

9 years agoMerge "Add Device Policy API to disable screen capture." into lmp-dev
Sander Alewijnse [Wed, 23 Jul 2014 16:59:08 +0000 (16:59 +0000)]
Merge "Add Device Policy API to disable screen capture." into lmp-dev

9 years agoAdd Device Policy API to disable screen capture.
Sander Alewijnse [Wed, 9 Jul 2014 11:57:05 +0000 (12:57 +0100)]
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

9 years agoMerge "Revert "Honor the sort and group keys for notification ranking."" into lmp-dev
Chris Wren [Wed, 23 Jul 2014 12:41:50 +0000 (12:41 +0000)]
Merge "Revert "Honor the sort and group keys for notification ranking."" into lmp-dev

9 years agoRevert "Honor the sort and group keys for notification ranking."
Chris Wren [Wed, 23 Jul 2014 12:41:37 +0000 (12:41 +0000)]
Revert "Honor the sort and group keys for notification ranking."

This reverts commit df09d4c348f9f2aea10391b27d157d8b71a9e189.

Change-Id: Idbc9ed5c5c83cd0cad5a71872bcc203321a11e9e

9 years agoHonor the sort and group keys for notification ranking.
Chris Wren [Thu, 17 Jul 2014 21:08:53 +0000 (17:08 -0400)]
Honor the sort and group keys for notification ranking.

Sort notifications naturally, then move group childen to be next their proxy.
The group proxy is the summary, or if no summary exists, the lowest-ranked
member of the group is chosen as the proxy.

Notifications with a sortKey but no group and placed into a synthetic
group that consists of all notifications from that package and user in
the same priority bucket that also have sortKeys.

Bug: 15190903
Change-Id: I377ed65b9592079446da4a4189f5ab49d28630ec

9 years agoMerge "Add an internal API to get all asset locales." into lmp-dev
Narayan Kamath [Wed, 23 Jul 2014 10:24:50 +0000 (10:24 +0000)]
Merge "Add an internal API to get all asset locales." into lmp-dev

9 years agoAdd an internal API to get all asset locales.
Narayan Kamath [Mon, 14 Jul 2014 15:28:24 +0000 (16:28 +0100)]
Add an internal API to get all asset locales.

This will allow us to not copy paste this code verbatim into
bundled apps.

bug: 10090157

(cherry picked from commit 9e6d9d4c812d01ac07180c5d6ab64c36fb9b2aa7)

Change-Id: I34690a2b6dad51f1592f37d3c2a8c81345632c2f

9 years agoRemove copy of Locale.adjustLanguageCode.
Narayan Kamath [Fri, 18 Jul 2014 15:09:36 +0000 (16:09 +0100)]
Remove copy of Locale.adjustLanguageCode.

(cherry picked from commit 1d31a5f8243fd6befb14d8a2ba25d28e006511f8)

Change-Id: I7b30a153a44dc1f99a9ddfe256b770d7305a74b7

9 years agoFixing cross-user content.
Nicolas Prevot [Mon, 21 Jul 2014 15:28:21 +0000 (16:28 +0100)]
Fixing cross-user content.

Change-Id: I1f1beb514950f808ed9113357c3172bddcb06d9e

9 years agoAdd startTimerRecording api to IHdmiControlService.
Jungshik Jang [Tue, 22 Jul 2014 07:56:52 +0000 (16:56 +0900)]
Add startTimerRecording api to IHdmiControlService.

In order to support timer recording we need separate API,
startTimerRecording. Also added HdmiTimerRecordingSources
which is used to help creating timer recording information
such as timing information and program information.

Besides, in order to distinguish one touch record
and timer recording, rename startRecord with startOneTouchRecording.

Bug: 16160962
Change-Id: I8c3d4034665a2f84ddf07135aee73e17ac17cd82

9 years agoMerge "Remove copy of Locale.adjustLanguageCode." into lmp-dev
Narayan Kamath [Wed, 23 Jul 2014 10:24:47 +0000 (10:24 +0000)]
Merge "Remove copy of Locale.adjustLanguageCode." into lmp-dev

9 years agoStore actions passed to MediaStyle.setShowActionsInCompactView in extras
Bryan Mawhinney [Tue, 22 Jul 2014 11:50:09 +0000 (12:50 +0100)]
Store actions passed to MediaStyle.setShowActionsInCompactView in extras

So that they can be bridged appropriately by Android Wear

Change-Id: I3a21a74991c8067ece1a04fbd0b92dd21438e0fd

9 years agoBlock logging watched histories for passthrough inputs
Youngsang Cho [Wed, 23 Jul 2014 04:29:47 +0000 (21:29 -0700)]
Block logging watched histories for passthrough inputs

Added a system API TvContract.isChannelUriForPassthroughTvInput

Change-Id: I933482831ae2a8b4d6000c4d16520387b5b6a13f

9 years agoEnable customization of TvInputInfo icon/label
Youngsang Cho [Mon, 21 Jul 2014 18:32:00 +0000 (11:32 -0700)]
Enable customization of TvInputInfo icon/label

TODO: Apply builder pattern to create instances of TvInputInfo

Bug: 16166859
Change-Id: I37ef35e7e463a5ff6612f822fd784b7f299039c9

9 years agoMediaFormat: add KEY_TEMPORAL_LAYERING
Lajos Molnar [Wed, 23 Jul 2014 03:20:12 +0000 (20:20 -0700)]
MediaFormat: add KEY_TEMPORAL_LAYERING

Bug: 14562236
Change-Id: I343d2859e48552d7372fec3b77aea868ff1bfc33

9 years agoShade: Don't clip header icons pre-expand.
John Spurlock [Wed, 23 Jul 2014 02:23:42 +0000 (22:23 -0400)]
Shade: Don't clip header icons pre-expand.

Bug:16496619
Change-Id: I1d3a391b2203b172bd525396719b671fe5cc3784

9 years agoMerge "Change display Strings to CharSequence (1/3)" into lmp-dev
Santos Cordon [Wed, 23 Jul 2014 10:41:03 +0000 (10:41 +0000)]
Merge "Change display Strings to CharSequence (1/3)" into lmp-dev

9 years agoMerge "Expose NETWORK_SCORE_SERVICE as @SystemApi." into lmp-dev
Jeff Davidson [Wed, 23 Jul 2014 16:41:58 +0000 (16:41 +0000)]
Merge "Expose NETWORK_SCORE_SERVICE as @SystemApi." into lmp-dev

9 years agoExpose NETWORK_SCORE_SERVICE as @SystemApi.
Jeff Davidson [Mon, 21 Jul 2014 20:55:42 +0000 (13:55 -0700)]
Expose NETWORK_SCORE_SERVICE as @SystemApi.

Bug: 15833200
Change-Id: Ide17bf0065ca7f5ab13e913dd6078b6c62741243

9 years agoDelete most network scorer tests from coretests.
Jeff Davidson [Mon, 21 Jul 2014 20:57:18 +0000 (13:57 -0700)]
Delete most network scorer tests from coretests.

Anything which tests public API functionality will be moved to a
compatibility test suite.

The only remaining test is NetworkScorerAppManagerTest, which contains
unit tests for an internal helper class that is not (and should not
be) exposed via @SystemApi or otherwise.

Bug: 16355542
Change-Id: I478da97d3a4d09407992af37e45466dc484fa8cf

9 years agoMerge "Further fix on issue #16013164" into lmp-dev
Dianne Hackborn [Wed, 23 Jul 2014 01:29:06 +0000 (01:29 +0000)]
Merge "Further fix on issue #16013164" into lmp-dev

9 years agoFurther fix on issue #16013164
Dianne Hackborn [Tue, 22 Jul 2014 23:29:04 +0000 (16:29 -0700)]
Further fix on issue #16013164

Dumb dumb dumb copy/paste error when moving the
uid checking up out of the function.

Change-Id: I01513ccd80750b724dbfa8d9d7d171819c6b959b

9 years agoMerge "Finish toast app op." into lmp-dev
Dianne Hackborn [Wed, 23 Jul 2014 01:28:54 +0000 (01:28 +0000)]
Merge "Finish toast app op." into lmp-dev

9 years agoFinish toast app op.
Dianne Hackborn [Tue, 22 Jul 2014 23:22:37 +0000 (16:22 -0700)]
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

9 years agoMerge "Allow authenticators to rename accounts." into lmp-dev
Carlos Valdivia [Wed, 23 Jul 2014 00:33:51 +0000 (00:33 +0000)]
Merge "Allow authenticators to rename accounts." into lmp-dev

9 years agoMerge "Make setter methods on Outline call setEmpty() based on params" into lmp-dev
Chris Craik [Wed, 23 Jul 2014 00:25:21 +0000 (00:25 +0000)]
Merge "Make setter methods on Outline call setEmpty() based on params" into lmp-dev

9 years agoMake setter methods on Outline call setEmpty() based on params
Chris Craik [Mon, 21 Jul 2014 17:25:54 +0000 (10:25 -0700)]
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

9 years agoMerge "Make hotword availability a callback" into lmp-dev
Sandeep Siddhartha [Wed, 23 Jul 2014 00:24:44 +0000 (00:24 +0000)]
Merge "Make hotword availability a callback" into lmp-dev

9 years agoUpdate spinner asset, fix default popup context and elevation
Alan Viverette [Wed, 23 Jul 2014 00:12:56 +0000 (17:12 -0700)]
Update spinner asset, fix default popup context and elevation

BUG: 15985882
Change-Id: Ica8c2597c35bd3012da11e315a93bbd1df2f3f38

9 years agoMake hotword availability a callback
Sandeep Siddhartha [Tue, 22 Jul 2014 16:49:49 +0000 (09:49 -0700)]
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

9 years agoMerge "TIF: Use @SystemApi for APIs that we intend to open to OEMs" into lmp-dev
Jae Seo [Wed, 23 Jul 2014 16:35:44 +0000 (16:35 +0000)]
Merge "TIF: Use @SystemApi for APIs that we intend to open to OEMs" into lmp-dev

9 years agoTIF: Use @SystemApi for APIs that we intend to open to OEMs
Jae Seo [Mon, 21 Jul 2014 02:28:08 +0000 (19:28 -0700)]
TIF: Use @SystemApi for APIs that we intend to open to OEMs

Bug: 16374058
Change-Id: Ifdf8188d3791e7e8ab6cc0a30696bde24b16ac5c

9 years agoMerge "Fix unknown tag @throw" into lmp-dev
Jungshik Jang [Wed, 23 Jul 2014 14:31:32 +0000 (14:31 +0000)]
Merge "Fix unknown tag @throw" into lmp-dev

9 years agoFix unknown tag @throw
Jungshik Jang [Wed, 23 Jul 2014 14:30:00 +0000 (23:30 +0900)]
Fix unknown tag @throw

Change-Id: I8c017a83175c447d02d8eb28f571e31921ae77c6

9 years agoHonor the sort and group keys for notification ranking.
Chris Wren [Wed, 23 Jul 2014 13:11:45 +0000 (13:11 +0000)]
Honor the sort and group keys for notification ranking.

Sort notifications naturally, then move group childen to be next their proxy.
The group proxy is the summary, or if no summary exists, the lowest-ranked
member of the group is chosen as the proxy.

Notifications with a sortKey but no group and placed into a synthetic
group that consists of all notifications from that package and user in
the same priority bucket that also have sortKeys.

Expose a new API for listeners to get the group key for the notificaiton.

Bug: 15190903
Change-Id: I324ba0c394affdabb3588ca2ebafa7cf0acad2af

9 years agoMerge "Add thumbnail related api." into lmp-dev
Yao Chen [Wed, 23 Jul 2014 00:06:05 +0000 (00:06 +0000)]
Merge "Add thumbnail related api." into lmp-dev

9 years agoFixing animation when dismissing certain tasks.
Winson Chung [Wed, 23 Jul 2014 00:02:16 +0000 (17:02 -0700)]
Fixing animation when dismissing certain tasks.

9 years agoAdd thumbnail related api.
Yao Chen [Tue, 22 Jul 2014 06:36:24 +0000 (23:36 -0700)]
Add thumbnail related api.

Change-Id: Ifcb06bbaf8f37df367f130124cbcef065fa25766

9 years agoupdate battery stats for audio/video
Chong Zhang [Tue, 22 Jul 2014 16:12:36 +0000 (09:12 -0700)]
update battery stats for audio/video

Bug: 12979595

Change-Id: I581376cb88a2d14dc4bad77d454b9bba73d0eb9b

9 years agoMerge "Cleanup: Delete dead code." into lmp-dev
Sreeram Ramachandran [Tue, 22 Jul 2014 23:45:05 +0000 (23:45 +0000)]
Merge "Cleanup: Delete dead code." into lmp-dev

9 years agoCleanup: Delete dead code.
Sreeram Ramachandran [Sun, 20 Jul 2014 06:21:46 +0000 (23:21 -0700)]
Cleanup: Delete dead code.

Bug: 15413389
Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc

9 years agoMerge "Revert "Don't throw RemoteException in public RemoteCallVideoClient APIs....
Andrew Lee [Tue, 22 Jul 2014 22:42:35 +0000 (22:42 +0000)]
Merge "Revert "Don't throw RemoteException in public RemoteCallVideoClient APIs."" into lmp-dev

9 years agoRevert "Don't throw RemoteException in public RemoteCallVideoClient APIs."
Andrew Lee [Tue, 22 Jul 2014 22:42:10 +0000 (22:42 +0000)]
Revert "Don't throw RemoteException in public RemoteCallVideoClient APIs."

This reverts commit 080b1f58eb877e1ac375768c6f951cc61a3cdbae.

Change-Id: I0dc963b3f4efe1479a7a94b8d851b89d15480d17

9 years agoDon't throw RemoteException in public RemoteCallVideoClient APIs.
Andrew Lee [Tue, 22 Jul 2014 19:09:38 +0000 (12:09 -0700)]
Don't throw RemoteException in public RemoteCallVideoClient APIs.

- Hide constructor.
- No longer implements IBinder.DeathRecipient.
- Catch RemoteExceptions instead of throwing RemoteExceptions.

Change-Id: Id666818b868c61f17b0701e4590d4e36f12c7b01

9 years agoMerge "Always check restore against the latest backend metadata" into lmp-dev
Christopher Tate [Tue, 22 Jul 2014 22:39:04 +0000 (22:39 +0000)]
Merge "Always check restore against the latest backend metadata" into lmp-dev

9 years agoIntermediate refactoring to move towards in-app view transitions.
Winson Chung [Tue, 22 Jul 2014 19:27:13 +0000 (12:27 -0700)]
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

9 years agoAlways check restore against the latest backend metadata
Christopher Tate [Tue, 22 Jul 2014 19:54:52 +0000 (12:54 -0700)]
Always check restore against the latest backend metadata

Bug 16484934

Change-Id: I472a7db89a94b9804f6ea94c25da206dd111a497

9 years agoAlign PSKKeyManager with framework API style.
Alex Klyubin [Mon, 21 Jul 2014 17:09:58 +0000 (10:09 -0700)]
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

9 years agoMerge "Handle single-package restores properly" into lmp-dev
Christopher Tate [Tue, 22 Jul 2014 23:44:04 +0000 (23:44 +0000)]
Merge "Handle single-package restores properly" into lmp-dev

9 years agoHandle single-package restores properly
Christopher Tate [Tue, 22 Jul 2014 23:24:28 +0000 (16:24 -0700)]
Handle single-package restores properly

Bug 16346405

Change-Id: I69e3288f5a9d68d818fad6a2cd4b27ad45c1007e

9 years agoMerge "BatterySaver: Make the bars orange." into lmp-dev
John Spurlock [Tue, 22 Jul 2014 23:39:58 +0000 (23:39 +0000)]
Merge "BatterySaver: Make the bars orange." into lmp-dev

9 years agoBatterySaver: Make the bars orange.
John Spurlock [Tue, 22 Jul 2014 20:15:08 +0000 (16:15 -0400)]
BatterySaver: Make the bars orange.

Bug:16203820
Change-Id: I85f700d30a90212202626fc10fb289aca7f2b688

9 years agoMerge "Don't throw RemoteException in public RemoteCallVideoClient APIs." into lmp-dev
Andrew Lee [Tue, 22 Jul 2014 23:34:03 +0000 (23:34 +0000)]
Merge "Don't throw RemoteException in public RemoteCallVideoClient APIs." into lmp-dev

9 years agoAlways enable HW layers on task views. (Bug 15986310)
Winson Chung [Tue, 22 Jul 2014 23:30:37 +0000 (16:30 -0700)]
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.

9 years agoMove return out of debug conditional
RoboErik [Tue, 22 Jul 2014 22:58:22 +0000 (15:58 -0700)]
Move return out of debug conditional

Accidentally put the return for not sending volume changes into
the debug conditional.

bug:16379124
Change-Id: I473f6fdf7577ca26559ab9b02f4dc0613ef702e3

9 years agoDon't throw RemoteException in public RemoteCallVideoClient APIs.
Andrew Lee [Tue, 22 Jul 2014 19:09:38 +0000 (12:09 -0700)]
Don't throw RemoteException in public RemoteCallVideoClient APIs.

- Hide constructor.
- No longer implements IBinder.DeathRecipient.
- Catch RemoteExceptions instead of throwing RemoteExceptions.

Change-Id: Iaa049cab9e24120d3ea732e1ede78cc6fcd0ad71

9 years agoMerge "Use foreground broadcast to get device admin msg." into lmp-dev
Dianne Hackborn [Wed, 23 Jul 2014 01:28:48 +0000 (01:28 +0000)]
Merge "Use foreground broadcast to get device admin msg." into lmp-dev

9 years agoUse foreground broadcast to get device admin msg.
Dianne Hackborn [Tue, 22 Jul 2014 23:12:59 +0000 (16:12 -0700)]
Use foreground broadcast to get device admin msg.

Using a background broadcast is bad, it can take a long
time to get the message back, either accidentally (backed up
behind other broadcasts) or from a deliberately malicious
admin.

Change-Id: Ib7491f8e27dacdc002562aef027ee4664e78e97b

9 years agoMerge "Add test UsageStats App" into lmp-dev
Adam Lesinski [Wed, 23 Jul 2014 01:24:28 +0000 (01:24 +0000)]
Merge "Add test UsageStats App" into lmp-dev

9 years agoAdd test UsageStats App
Adam Lesinski [Tue, 22 Jul 2014 22:55:50 +0000 (15:55 -0700)]
Add test UsageStats App

Also fixed UsageStatsService to do the right thing
when AppOps returns MODE_DEFAULT.

Change-Id: I0bdb28350fb2528daf2859cdcbbf9ca48d96dde9

9 years agoMerge "Wire up CATEGORY_ALARM and CATEGORY_EVENT." into lmp-dev
John Spurlock [Wed, 23 Jul 2014 01:11:41 +0000 (01:11 +0000)]
Merge "Wire up CATEGORY_ALARM and CATEGORY_EVENT." into lmp-dev

9 years agoWire up CATEGORY_ALARM and CATEGORY_EVENT.
John Spurlock [Wed, 23 Jul 2014 00:39:58 +0000 (20:39 -0400)]
Wire up CATEGORY_ALARM and CATEGORY_EVENT.

And remove the alarm package whitelist now that deskclock
uses a category.

Bug:16406214
Change-Id: I6ca400376a9df7646889e394e53e4d491c56a46c

9 years agoMerge "Don't throw RemoteException in public RemoteCallVideoClient APIs." into lmp-dev
Andrew Lee [Tue, 22 Jul 2014 22:05:16 +0000 (22:05 +0000)]
Merge "Don't throw RemoteException in public RemoteCallVideoClient APIs." into lmp-dev

9 years agoMerge "Switched Holo to Material for account chooser activities." into lmp-dev
Jason Long [Tue, 22 Jul 2014 22:03:54 +0000 (22:03 +0000)]
Merge "Switched Holo to Material for account chooser activities." into lmp-dev

9 years agoKill flashlight when launching the camera from lockscreen
Adrian Roos [Tue, 22 Jul 2014 15:18:55 +0000 (17:18 +0200)]
Kill flashlight when launching the camera from lockscreen

Bug: 16357300
Change-Id: I6838ac405bb30047b076c8acb98bd124e8d00fd6

9 years agoQS: Hide flashlight tile if camera is busy
Adrian Roos [Tue, 22 Jul 2014 13:40:59 +0000 (15:40 +0200)]
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

9 years agoSwitched Holo to Material for account chooser activities.
Jason Long [Tue, 10 Jun 2014 03:02:15 +0000 (20:02 -0700)]
Switched Holo to Material for account chooser activities.

Change-Id: I6a44fb174eb4e981c37fca0836b103d7ee3f5ffe

9 years agoStop double-loading device admins
Robin Lee [Tue, 22 Jul 2014 15:47:40 +0000 (16:47 +0100)]
Stop double-loading device admins

loadSettingsLocked() was being called twice for USER_OWNER at
systemReady(), doubling the number of admin entries at every boot.

Also guards against double-adding admins which appear twice in the
same XML file, favouring more recently-refreshed entries for
backward compatibility.

Previously an application calling in with 'refreshing = true' would
double-insert whatever admin was being refreshed into its user's list
of device admins. This is fixed too.

@bug 16416936

Change-Id: Idd147aa130e6bce7bcc40532f0a7fb07117b3151

9 years agoAdds ScrollBounds to the Transition framework
Paul Soulos [Tue, 22 Jul 2014 21:10:16 +0000 (14:10 -0700)]
Adds ScrollBounds to the Transition framework

Change-Id: If22ab5162737f2d109e5eaf407a735523a146b7f

9 years agoMake toolbarStyle public
Alan Viverette [Tue, 22 Jul 2014 20:09:32 +0000 (13:09 -0700)]
Make toolbarStyle public

BUG: 16486273
Change-Id: I2a9f3dbac536307cdd87ea0c50801c80ae96cd94

9 years agoam c12d7e3a: am ff428e08: am c57c0829: Merge "Doc change: add reminder for developers...
Robert Ly [Tue, 22 Jul 2014 21:00:07 +0000 (21:00 +0000)]
am c12d7e3a: am ff428e08: am c57c0829: Merge "Doc change: add reminder for developers on using ad id." into klp-modular-docs

* commit 'c12d7e3a3dc7b3f8df06f59d7fbeb2da84a1a493':
  Doc change: add reminder for developers on using ad id.

9 years agoam 42dbe809: am af001f94: am 170b0953: Merge "Added an "In This Document" nav list...
David Friedman [Tue, 22 Jul 2014 20:55:55 +0000 (20:55 +0000)]
am 42dbe809: am af001f94: am 170b0953: Merge "Added an "In This Document" nav list at top-right of page, and deleted corresponding text from body." into klp-modular-docs

* commit '42dbe80914b67841c2a8fe93fef8b80e58155684':
  Added an "In This Document" nav list at top-right of page, and deleted corresponding text from body.

9 years agoam ff428e08: am c57c0829: Merge "Doc change: add reminder for developers on using...
Robert Ly [Tue, 22 Jul 2014 20:53:20 +0000 (20:53 +0000)]
am ff428e08: am c57c0829: Merge "Doc change: add reminder for developers on using ad id." into klp-modular-docs

* commit 'ff428e08a5350153c5f9476551930b0eefdfcd06':
  Doc change: add reminder for developers on using ad id.

9 years agoam af001f94: am 170b0953: Merge "Added an "In This Document" nav list at top-right...
David Friedman [Tue, 22 Jul 2014 20:49:09 +0000 (20:49 +0000)]
am af001f94: am 170b0953: Merge "Added an "In This Document" nav list at top-right of page, and deleted corresponding text from body." into klp-modular-docs

* commit 'af001f9410bf0a45282b2f0ab7c4c3bf77645697':
  Added an "In This Document" nav list at top-right of page, and deleted corresponding text from body.

9 years agoam c57c0829: Merge "Doc change: add reminder for developers on using ad id." into...
Robert Ly [Tue, 22 Jul 2014 20:49:05 +0000 (20:49 +0000)]
am c57c0829: Merge "Doc change: add reminder for developers on using ad id." into klp-modular-docs

* commit 'c57c08298364e93ca4399d184bdba2657f72b11c':
  Doc change: add reminder for developers on using ad id.

9 years agoam 170b0953: Merge "Added an "In This Document" nav list at top-right of page, and...
David Friedman [Tue, 22 Jul 2014 20:45:11 +0000 (20:45 +0000)]
am 170b0953: Merge "Added an "In This Document" nav list at top-right of page, and deleted corresponding text from body." into klp-modular-docs

* commit '170b09535d21c7c50051e391b8f7a61678872c2b':
  Added an "In This Document" nav list at top-right of page, and deleted corresponding text from body.

9 years agoam 2a922cb4: am 40b5d8a0: Merge "cherrypick from klp-docs docs: b/14524668 remove...
Scott Rowe [Tue, 22 Jul 2014 20:08:02 +0000 (20:08 +0000)]
am 2a922cb4: am 40b5d8a0: Merge "cherrypick from klp-docs docs: b/14524668 remove ANDROID_ID Change-Id: I83d4389bb8322c2dbca10042e666fc9b75ea8a12" into klp-modular-docs

* commit '2a922cb45a0cb33ef575e39ac8ca4dc8500e03ba':
  cherrypick from klp-docs docs: b/14524668 remove ANDROID_ID Change-Id: I83d4389bb8322c2dbca10042e666fc9b75ea8a12

9 years agoam 40b5d8a0: Merge "cherrypick from klp-docs docs: b/14524668 remove ANDROID_ID Chang...
Scott Rowe [Tue, 22 Jul 2014 20:03:19 +0000 (20:03 +0000)]
am 40b5d8a0: Merge "cherrypick from klp-docs docs: b/14524668 remove ANDROID_ID Change-Id: I83d4389bb8322c2dbca10042e666fc9b75ea8a12" into klp-modular-docs

* commit '40b5d8a0e5aad92c07420541fd186f9f96495845':
  cherrypick from klp-docs docs: b/14524668 remove ANDROID_ID Change-Id: I83d4389bb8322c2dbca10042e666fc9b75ea8a12

9 years agoam 3968ae0f: am eb69126c: (-s ours) Merge "DO NOT MERGE" into klp-modular-docs
Andrew Solovay [Tue, 22 Jul 2014 19:08:45 +0000 (19:08 +0000)]
am 3968ae0f: am eb69126c: (-s ours) Merge "DO NOT MERGE" into klp-modular-docs

* commit '3968ae0f70b01592c40c3e0cd31ca5ead953faa0':
  DO NOT MERGE

9 years agoam eb69126c: (-s ours) Merge "DO NOT MERGE" into klp-modular-docs
Andrew Solovay [Tue, 22 Jul 2014 19:02:58 +0000 (19:02 +0000)]
am eb69126c: (-s ours) Merge "DO NOT MERGE" into klp-modular-docs

* commit 'eb69126c613dfd476fa516df6ae1c2d78e445f0b':
  DO NOT MERGE

9 years agoam a2beba70: am 170556f8: Merge "docs: Removed reference to a sample notepad app...
Andrew Solovay [Tue, 22 Jul 2014 18:47:26 +0000 (18:47 +0000)]
am a2beba70: am 170556f8: Merge "docs: Removed reference to a sample notepad app." into klp-modular-docs

* commit 'a2beba70b947a948c2a12513c8bdda4d403c2fd6':
  docs: Removed reference to a sample notepad app.

9 years agoam 170556f8: Merge "docs: Removed reference to a sample notepad app." into klp-modula...
Andrew Solovay [Tue, 22 Jul 2014 18:41:21 +0000 (18:41 +0000)]
am 170556f8: Merge "docs: Removed reference to a sample notepad app." into klp-modular-docs

* commit '170556f82bd009cf5a74a53d7ba61221d74d36e9':
  docs: Removed reference to a sample notepad app.

9 years agoam fb8e254a: am 1c723ea8: Merge "docs: update links and add new wear design materials...
Robert Ly [Tue, 22 Jul 2014 17:18:52 +0000 (17:18 +0000)]
am fb8e254a: am 1c723ea8: Merge "docs: update links and add new wear design materials" into klp-modular-docs

* commit 'fb8e254a1a66fc707a1c52d4cced699339f15685':
  docs: update links and add new wear design materials

9 years agoam c9cf4521: am 0b5f9c2f: docs: remove android translation plugin doc
Robert Ly [Tue, 22 Jul 2014 17:18:47 +0000 (17:18 +0000)]
am c9cf4521: am 0b5f9c2f: docs: remove android translation plugin doc

* commit 'c9cf452179ed6c413712607fd60ba2eaa910d95b':
  docs: remove android translation plugin doc

9 years agoam 1c723ea8: Merge "docs: update links and add new wear design materials" into klp...
Robert Ly [Tue, 22 Jul 2014 17:12:14 +0000 (17:12 +0000)]
am 1c723ea8: Merge "docs: update links and add new wear design materials" into klp-modular-docs

* commit '1c723ea84ee4299fa07687cb2881e3695bd14d3c':
  docs: update links and add new wear design materials

9 years agoam 0b5f9c2f: docs: remove android translation plugin doc
Robert Ly [Tue, 22 Jul 2014 17:12:10 +0000 (17:12 +0000)]
am 0b5f9c2f: docs: remove android translation plugin doc

* commit '0b5f9c2f6890ed8aa16d1cb630aa415bf7c908c0':
  docs: remove android translation plugin doc

9 years agodocs: remove android translation plugin doc
Robert Ly [Tue, 22 Jul 2014 15:05:33 +0000 (08:05 -0700)]
docs: remove android translation plugin doc

Change-Id: Ia21049e3250e98a419f5249693b218c1d5e58fd1

9 years agoam 43f783fd: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Tue, 22 Jul 2014 16:48:12 +0000 (16:48 +0000)]
am 43f783fd: (-s ours) Import translations. DO NOT MERGE

* commit '43f783fd7efd3b3d985a58bc3aa3e6136f976a14':
  Import translations. DO NOT MERGE

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 21 Jul 2014 17:05:50 +0000 (10:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ief6127337c9c4fdbbf15a6214a463822dc39b92c
Auto-generated-cl: translation import

9 years agoam a63272b4: Merge "Revert "Wait for all windows to draw before turning screen on...
Justin Koh [Tue, 22 Jul 2014 16:31:06 +0000 (16:31 +0000)]
am a63272b4: Merge "Revert "Wait for all windows to draw before turning screen on"" into klp-modular-dev

* commit 'a63272b4b5eff16f4d6fae4730b8a7087563181c':
  Revert "Wait for all windows to draw before turning screen on"

9 years agoMerge "[Bitmap] Add null pointer protection in Bitmap_sameAs()" into lmp-dev
Chris Craik [Tue, 22 Jul 2014 20:52:25 +0000 (20:52 +0000)]
Merge "[Bitmap] Add null pointer protection in Bitmap_sameAs()" into lmp-dev

9 years ago[Bitmap] Add null pointer protection in Bitmap_sameAs()
henry.uh_chen [Thu, 3 Jul 2014 12:40:22 +0000 (20:40 +0800)]
[Bitmap] Add null pointer protection in Bitmap_sameAs()

Symptom: SkBitmap::getAddr(int, int) may return NULL due to unrecognized config
(ex: kRLE_Index8_Config). This will cause memcmp method to crash. Since bm0 and
bm1 both have pixel data() (have passed NULL == getPixels() check), those 2
bitmaps should be valid (only unrecognized), we return JNI_FALSE to warn user
those 2 unrecognized config bitmaps may be different.

Cherry-pick of 3a1bffa835f279628e50385af3c85789bc737f64 from AOSP

Change-Id: I6970c27de412110a3035d0a783112c4cd3ebc35b