OSDN Git Service

android-x86/frameworks-base.git
10 years agosearchKeyphrase* should not be in the SDK
Sandeep Siddhartha [Wed, 23 Jul 2014 21:33:02 +0000 (14:33 -0700)]
searchKeyphrase* should not be in the SDK

Bug: 16400889
Change-Id: Idedaefe378e330910301a8f0a88527376398d743

10 years agoCamera2: Fix callback operation
Eino-Ville Talvala [Tue, 15 Jul 2014 17:31:54 +0000 (10:31 -0700)]
Camera2: Fix callback operation

- Remove CloseableLock use; looks to be incompatible with invocations during callbacks
- Replace with basic interface lock to be thread-safe
- Add intermediate callback thread to legacy mode to match cross-process one-way Binder
  semantics

Change-Id: Iecd4ff6cf260c5a13bd11b850177ccea93e25933

10 years agoDisable back button goes to recents behavior
Craig Mautner [Wed, 23 Jul 2014 17:42:18 +0000 (10:42 -0700)]
Disable back button goes to recents behavior

Using a static final boolean to do this so if policy is changed it
can be enabled easily.

Also fix fetching task from wrong list. Was causing
ActivityNotFoundExceptions.

Fixes bug 16512561.

Change-Id: I9b47a86fd740d45104aa14712e71df830218c5a7

10 years agoBug 15564216: Report Bluetooth tx/rx/idle activity info and energy reporting
Prerepa Viswanadham [Wed, 23 Jul 2014 00:00:09 +0000 (17:00 -0700)]
Bug 15564216: Report Bluetooth tx/rx/idle activity info and energy reporting

Change-Id: I66fd83d8d59fbd93dec8886dfd313a81575e38a5

10 years agoMerge "Infer legacy network type for ConnectivityManager.requestNetwork" into lmp-dev
Ye Wen [Wed, 23 Jul 2014 18:53:02 +0000 (18:53 +0000)]
Merge "Infer legacy network type for ConnectivityManager.requestNetwork" into lmp-dev

10 years agoInfer legacy network type for ConnectivityManager.requestNetwork
Ye Wen [Mon, 21 Jul 2014 21:19:01 +0000 (14:19 -0700)]
Infer legacy network type for ConnectivityManager.requestNetwork

ConnectivityManager.requestNetwork pass TYPE_NONE to
sendRequestForNetwork which prevents it from being used with legacy API
requestRouteToHostAddress. This CL infers the legacy network type
automatically from the network capabilities.

b/16324360

Change-Id: I591d38f875f42f56e8cfc157db2069c9eee0ee26

10 years agoMerge "Make the 'locked' lock task not lock keyguard on exit" into lmp-dev
Jason Monk [Wed, 23 Jul 2014 18:44:53 +0000 (18:44 +0000)]
Merge "Make the 'locked' lock task not lock keyguard on exit" into lmp-dev

10 years agoMake the 'locked' lock task not lock keyguard on exit
Jason Monk [Wed, 23 Jul 2014 17:30:27 +0000 (13:30 -0400)]
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

10 years agoMerge "Fix parcel issues with empty service uuid. Added tests." into lmp-dev
Wei Wang [Wed, 23 Jul 2014 18:41:10 +0000 (18:41 +0000)]
Merge "Fix parcel issues with empty service uuid. Added tests." into lmp-dev

10 years agoFix parcel issues with empty service uuid. Added tests.
Wei Wang [Wed, 23 Jul 2014 07:33:44 +0000 (00:33 -0700)]
Fix parcel issues with empty service uuid. Added tests.

b/16490816

Change-Id: If26a4731f22e83df4f5ded2ad76901de6c49a010

10 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

10 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

10 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

10 years agoMerge "Ensure ripple mask gets updated in public constructor" into lmp-dev
Alan Viverette [Wed, 23 Jul 2014 18:27:19 +0000 (18:27 +0000)]
Merge "Ensure ripple mask gets updated in public constructor" into lmp-dev

10 years agoEnsure ripple mask gets updated in public constructor
Alan Viverette [Wed, 23 Jul 2014 18:25:28 +0000 (11:25 -0700)]
Ensure ripple mask gets updated in public constructor

Change-Id: I084ff0357c8e3cf08d3700d9c7dce42726b986f1

10 years agoImplement VpnService.setBlocking().
Jeff Davidson [Wed, 23 Jul 2014 17:14:53 +0000 (10:14 -0700)]
Implement VpnService.setBlocking().

Bug: 12879610
Change-Id: I3a0ad9eae5f7dd9c01f75b9da71810bad38f9fec

10 years agoAdd PICK_JOIN_CONTACT_ACTION action contact
Brian Attwell [Wed, 23 Jul 2014 03:53:59 +0000 (20:53 -0700)]
Add PICK_JOIN_CONTACT_ACTION action contact

This ContactsContract change is needed by ag/509090

Bug: 16190113
Change-Id: I0f96286bdf45015148d2e84f7fe7aac5b23e1ba2

10 years agoMerge "Build layer damage bounds for shadows" into lmp-dev
Chris Craik [Wed, 23 Jul 2014 18:10:49 +0000 (18:10 +0000)]
Merge "Build layer damage bounds for shadows" into lmp-dev

10 years agoBuild layer damage bounds for shadows
Chris Craik [Wed, 16 Jul 2014 17:15:56 +0000 (10:15 -0700)]
Build layer damage bounds for shadows

bug:15538815

Change-Id: I703afeb7e31c28002bd1aff9ce448ec8cdc4e70d

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.