OSDN Git Service

android-x86/frameworks-base.git
10 years agoDO NOT MERGE. Port "respond via SMS message" feature to new Telecomm. (1/4)
Ihab Awad [Tue, 10 Jun 2014 20:29:47 +0000 (13:29 -0700)]
DO NOT MERGE. Port "respond via SMS message" feature to new Telecomm. (1/4)

Bug: 15275904
Bug: 15196474
Change-Id: If9aeae519047b221aa2c178d8d2903c4e2054a6d

10 years agoMerge "Change ripple tint to color, remove tintMode" into lmp-preview-dev
Alan Viverette [Tue, 10 Jun 2014 20:14:30 +0000 (20:14 +0000)]
Merge "Change ripple tint to color, remove tintMode" into lmp-preview-dev

10 years agoMerge "Do not override mColor with default color if none set" into lmp-preview-dev
Jorim Jaggi [Tue, 10 Jun 2014 20:03:23 +0000 (20:03 +0000)]
Merge "Do not override mColor with default color if none set" into lmp-preview-dev

10 years agoMerge "Fix black background for auto-redacted legacy notifications" into lmp-preview-dev
Jorim Jaggi [Tue, 10 Jun 2014 19:01:32 +0000 (19:01 +0000)]
Merge "Fix black background for auto-redacted legacy notifications" into lmp-preview-dev

10 years agoDo not override mColor with default color if none set
Jorim Jaggi [Tue, 10 Jun 2014 18:57:21 +0000 (20:57 +0200)]
Do not override mColor with default color if none set

Bug: 15163105
Change-Id: Ibb9507b24aeaae7a571d42eb411aff25449d48fe

10 years agoMerge "Fix broken tablet layout of QS on lockscreen" into lmp-preview-dev
Adrian Roos [Tue, 10 Jun 2014 18:32:20 +0000 (18:32 +0000)]
Merge "Fix broken tablet layout of QS on lockscreen" into lmp-preview-dev

10 years agoChange ripple tint to color, remove tintMode
Alan Viverette [Tue, 10 Jun 2014 02:31:20 +0000 (19:31 -0700)]
Change ripple tint to color, remove tintMode

Also fixes double ripple on list preferences, missing ripple on up
button, and adds the Toolbar style to public. Further improves
ripple performance.

BUG: 15523923
BUG: 15473856
Change-Id: I5e8bf417368b60fcc33c80852e12f27b8c580774

10 years agoFix broken tablet layout of QS on lockscreen
Adrian Roos [Tue, 10 Jun 2014 17:42:47 +0000 (19:42 +0200)]
Fix broken tablet layout of QS on lockscreen

Bug: 15536406
Change-Id: I6c075d0875cf78dff1938b5cfd49e6b1924bcc99

10 years agoMerge "hide RECOVERY permission from L preview -- DO NOT MERGE" into lmp-preview-dev
Doug Zongker [Tue, 10 Jun 2014 17:38:19 +0000 (17:38 +0000)]
Merge "hide RECOVERY permission from L preview -- DO NOT MERGE" into lmp-preview-dev

10 years agoMerge "Fixed several bugs with redaction." into lmp-preview-dev
Selim Cinek [Tue, 10 Jun 2014 17:33:44 +0000 (17:33 +0000)]
Merge "Fixed several bugs with redaction." into lmp-preview-dev

10 years agoMerge "Fixed an issue where holes in the notification shade could appear." into lmp...
Selim Cinek [Tue, 10 Jun 2014 17:33:20 +0000 (17:33 +0000)]
Merge "Fixed an issue where holes in the notification shade could appear." into lmp-preview-dev

10 years agoFix black background for auto-redacted legacy notifications
Jorim Jaggi [Tue, 10 Jun 2014 15:24:20 +0000 (17:24 +0200)]
Fix black background for auto-redacted legacy notifications

Also removes the wrongly implemented Froyo compatibility mode, as now
all the notifications are light and the background is provided by us,
it's again like in Froyo-world! :-)

Bug: 15295371
Bug: 14105711
Change-Id: Icbae15e690494465b0e63935d81d59edfa05e76e

10 years agoMerge "Add different resolutions of afw icons" into lmp-preview-dev
Jessica Hummel [Tue, 10 Jun 2014 16:56:41 +0000 (16:56 +0000)]
Merge "Add different resolutions of afw icons" into lmp-preview-dev

10 years agoMerge "Updating the pictures and labels for cross-profile intents." into lmp-preview-dev
Jessica Hummel [Tue, 10 Jun 2014 16:56:26 +0000 (16:56 +0000)]
Merge "Updating the pictures and labels for cross-profile intents." into lmp-preview-dev

10 years agoMerge "Delayed the highlighting of the statusbar header on drag down." into lmp-previ...
Selim Cinek [Tue, 10 Jun 2014 16:44:39 +0000 (16:44 +0000)]
Merge "Delayed the highlighting of the statusbar header on drag down." into lmp-preview-dev

10 years agoMerge "Added card elevation when card is clicked on the lockscreen" into lmp-preview-dev
Selim Cinek [Tue, 10 Jun 2014 16:41:02 +0000 (16:41 +0000)]
Merge "Added card elevation when card is clicked on the lockscreen" into lmp-preview-dev

10 years agoAdd different resolutions of afw icons
Jessica Hummel [Tue, 10 Jun 2014 10:58:20 +0000 (11:58 +0100)]
Add different resolutions of afw icons

Also update the name of the icon so that it is consistent with other namings in the framework and in managed provisioning.

bug: 15538051
Change-Id: I9e8e680eb1c654d9f5d94ce27775687b3dc92a22

10 years agoUpdating the pictures and labels for cross-profile intents.
Nicolas Prevot [Mon, 2 Jun 2014 11:06:40 +0000 (12:06 +0100)]
Updating the pictures and labels for cross-profile intents.

bug:15538051
Change-Id: Ib95e36acd31d08fed04927be90e8322e806286ab
(cherry picked from commit c4752a313e137630a8cb84581767bb96d3010376)

10 years agoMerge "Remove SyncRequest.setPriority from public API" into lmp-preview-dev
Matthew Williams [Tue, 10 Jun 2014 15:50:11 +0000 (15:50 +0000)]
Merge "Remove SyncRequest.setPriority from public API" into lmp-preview-dev

10 years agoFixed several bugs with redaction.
Selim Cinek [Tue, 10 Jun 2014 15:40:42 +0000 (17:40 +0200)]
Fixed several bugs with redaction.

The Notification row was in most cases directly referring to
the private layout which lead to numerous bugs.

Bug: 15107339
Bug: 15536865
Bug: 15181880
Change-Id: Id1021eb853d67db168c9471d7dacbe5265c4ba2f

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-preview-dev
Baligh Uddin [Tue, 10 Jun 2014 15:37:56 +0000 (15:37 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-preview-dev

10 years agoMerge "Support conference calling. (1/4) [DO NOT MERGE]" into lmp-preview-dev
Santos Cordon [Tue, 10 Jun 2014 15:34:29 +0000 (15:34 +0000)]
Merge "Support conference calling. (1/4) [DO NOT MERGE]" into lmp-preview-dev

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-preview-dev
Baligh Uddin [Tue, 10 Jun 2014 15:28:27 +0000 (15:28 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-preview-dev

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-preview-dev
Baligh Uddin [Tue, 10 Jun 2014 15:28:25 +0000 (15:28 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-preview-dev

10 years agoFixed an issue where holes in the notification shade could appear.
Selim Cinek [Tue, 10 Jun 2014 13:51:59 +0000 (15:51 +0200)]
Fixed an issue where holes in the notification shade could appear.

When redaction was turned on, holes could appear.

Bug: 15107339
Change-Id: I8c2830caaa78f03c8ccada1a7160f73c906365d7

10 years agoDelayed the highlighting of the statusbar header on drag down.
Selim Cinek [Tue, 10 Jun 2014 11:21:15 +0000 (13:21 +0200)]
Delayed the highlighting of the statusbar header on drag down.

Also delayed the highlighing of buttons inside notifications.

Bug: 15184882
Change-Id: Ic3af7ec7c41232ac7f8ecfa4700659b1ca293894

10 years agoDO NOT MERGE : Allow system process to call getApplicationBlockedAsUser
Adam Connors [Thu, 5 Jun 2014 09:36:01 +0000 (10:36 +0100)]
DO NOT MERGE : Allow system process to call getApplicationBlockedAsUser

MDMs in the managed profile needs to be able to call
DPM.isApplicationBlocked without the INTERACT_ACROSS_USERS
permission. DevicePolicyManager checks for appropriate
PROFILE_OWNER permission and then removes callerId, so this
change is needed to prevent a spurious security exception.

Bug: 14400206
Change-Id: Idd1bda6bb234f6cb7cb78a885ae2d7cc5cca4890
(cherry picked from commit c11c67b3e117b4fec3245f87b6d510461c1f8323)

10 years agoDO NOT MERGE : Api review: Make ACTION_MANAGED_PROFILE_REMOVED registered only.
Adam Connors [Mon, 9 Jun 2014 12:55:47 +0000 (13:55 +0100)]
DO NOT MERGE : Api review: Make ACTION_MANAGED_PROFILE_REMOVED registered only.

And update the javadoc to explain use-case.

Bug: 15025562
Change-Id: I8eb2666c8480f873e042687223b1a1f82e7919c9

10 years agoAdded card elevation when card is clicked on the lockscreen
Selim Cinek [Tue, 10 Jun 2014 08:47:05 +0000 (10:47 +0200)]
Added card elevation when card is clicked on the lockscreen

Bug: 15381356
Bug: 15181880
Change-Id: I2dd08b80d2c6b7710d2772c8880b32ab23ec42f9

10 years agoMerge "Tessellate on worker threads" into lmp-preview-dev
Chris Craik [Tue, 10 Jun 2014 04:52:12 +0000 (04:52 +0000)]
Merge "Tessellate on worker threads" into lmp-preview-dev

10 years agoMerge "camera2: Fix session-related CTS test failures" into lmp-preview-dev
Igor Murashkin [Tue, 10 Jun 2014 04:02:28 +0000 (04:02 +0000)]
Merge "camera2: Fix session-related CTS test failures" into lmp-preview-dev

10 years agoRemove SyncRequest.setPriority from public API
Matthew Williams [Tue, 10 Jun 2014 03:06:03 +0000 (20:06 -0700)]
Remove SyncRequest.setPriority from public API

Bug: 15517262
Change-Id: If62b6f3bf339011dd504889aa24c71a22cb08ed8

10 years agoDO NOT MERGE - Creating an empty package should be succesfull
Adam Lesinski [Tue, 10 Jun 2014 00:10:29 +0000 (17:10 -0700)]
DO NOT MERGE - Creating an empty package should be succesfull

Bug: 15473436
Change-Id: I788deb21a1298281c508429bab635aa713803984
(cherry picked from commit 807efa884ba01e0213667000a21908bfb04e8624)

10 years agoTessellate on worker threads
Chris Craik [Mon, 2 Jun 2014 23:27:04 +0000 (16:27 -0700)]
Tessellate on worker threads

Tessellate and cache (where possible) shadow and round rect
tessellation tasks.

Change-Id: I2cfda8e11d83d51ea74af871235cf26e8f831d40

10 years ago@hide ACCESS_INPUT_FLINGER permission.
Jeff Brown [Tue, 10 Jun 2014 01:34:20 +0000 (18:34 -0700)]
@hide ACCESS_INPUT_FLINGER permission.

Bug: 15516225
Change-Id: Ief70650d956a7161153e283c24f553fcfa7996b1

10 years agoMerge "Redefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK" into lmp-preview-dev
Craig Mautner [Tue, 10 Jun 2014 01:29:43 +0000 (01:29 +0000)]
Merge "Redefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK" into lmp-preview-dev

10 years agoRedefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK
Craig Mautner [Mon, 9 Jun 2014 16:23:27 +0000 (09:23 -0700)]
Redefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK

Change definition of FLAG_ACTIVITY_NEW_DOCUMENT from
FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET to
FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET alone.

Also add new documentLaunchMode of "never" to allow activity
writers to keep their activity from being launched in document mode.

Fixes bug 15468528.

Change-Id: Ied11adf97e85c5d3f99f4c0bbbb4a2905dcfb24e

10 years agoMerge "Switch framework to using new scheduled-work API" into lmp-preview-dev
Christopher Tate [Tue, 10 Jun 2014 01:03:51 +0000 (01:03 +0000)]
Merge "Switch framework to using new scheduled-work API" into lmp-preview-dev

10 years agoMerge "Fix bug #14258811 Permissions icons are not visible in App info" into lmp...
Fabrice Di Meglio [Tue, 10 Jun 2014 01:00:45 +0000 (01:00 +0000)]
Merge "Fix bug #14258811 Permissions icons are not visible in App info" into lmp-preview-dev

10 years agoFix bug #14258811 Permissions icons are not visible in App info
Fabrice Di Meglio [Mon, 9 Jun 2014 23:07:26 +0000 (16:07 -0700)]
Fix bug #14258811 Permissions icons are not visible in App info

- add updated assets for Material Theme

Change-Id: Iaa1e5787e5245fa5cffe5a07eb612b62ce9573f7

10 years agocamera2: Fix session-related CTS test failures
Igor Murashkin [Tue, 10 Jun 2014 00:51:24 +0000 (17:51 -0700)]
camera2: Fix session-related CTS test failures

Bug: 15474402
Change-Id: I4ae86166b5ce99a854c754c8ac6d6c23c683b14a

10 years agoSwitch framework to using new scheduled-work API
Christopher Tate [Sat, 7 Jun 2014 02:06:26 +0000 (19:06 -0700)]
Switch framework to using new scheduled-work API

Also add the intended permission-use enforcement to said API.

Bug 14994893
Bug 14993295

Change-Id: I5a3ffd32d0702c68f4ef6da68f7fa6e9de674380

10 years agoMerge "Add OnNetworkActive to TaskManager and simplify locking." into lmp-preview-dev
Matthew Williams [Tue, 10 Jun 2014 00:24:04 +0000 (00:24 +0000)]
Merge "Add OnNetworkActive to TaskManager and simplify locking." into lmp-preview-dev

10 years agoAdd OnNetworkActive to TaskManager and simplify locking.
Matthew Williams [Fri, 6 Jun 2014 03:56:40 +0000 (20:56 -0700)]
Add OnNetworkActive to TaskManager and simplify locking.

Bug: 14993295
Hooks up a ConnectivityManager.NetworkActiveListener.
    
Previously was using 3 locks where 1 would suffice,
negligible to no performance issues b/c most of the previous locks
were nested.

Added OnNetworkActiveListener so that the ConnectivityController can kick of
tasks when it knows that the network is active.

Fixed some bugs that stopped timecontroller from executing tasks.

Requesting a retry will not add a deadline to that task. However backed-off
tasks are run as soon as they are ready, subject to their constraints.

Added receiver to listen for package removal and user removal, which will
delete any outstanding jobs for that uid.

Change-Id: I4c4523af558b927f19b8a215878fcc7198abb93f

10 years agoMerge "Tag HdmiControlService API classes with @hide/@SystemApi" into lmp-preview-dev
Jinsuk Kim [Tue, 10 Jun 2014 00:11:19 +0000 (00:11 +0000)]
Merge "Tag HdmiControlService API classes with @hide/@SystemApi" into lmp-preview-dev

10 years agoMerge "Refactor directory API to "opening document tree."" into lmp-preview-dev
Jeff Sharkey [Tue, 10 Jun 2014 00:10:27 +0000 (00:10 +0000)]
Merge "Refactor directory API to "opening document tree."" into lmp-preview-dev

10 years agoMerge "Add constants to Android TV On Device Search. Change-Id: I7b5780f8c4c0367d1986...
Xiaolei Wang [Tue, 10 Jun 2014 00:09:37 +0000 (00:09 +0000)]
Merge "Add constants to Android TV On Device Search. Change-Id: I7b5780f8c4c0367d198607ad2780cf6ec6a96d3a" into lmp-preview-dev

10 years agoRefactor directory API to "opening document tree."
Jeff Sharkey [Wed, 4 Jun 2014 23:42:47 +0000 (16:42 -0700)]
Refactor directory API to "opening document tree."

Cleans up API so it consistently refers to opening or working with a
subtree of documents.  Also separates isChildDocument() support from
the concept of directory tree selection.

Bug: 15429194
Change-Id: Ice66a751ff4bd0cc4d34c44c5da13a0dc4186dc9

10 years agoTag HdmiControlService API classes with @hide/@SystemApi
Jinsuk Kim [Fri, 6 Jun 2014 07:12:18 +0000 (16:12 +0900)]
Tag HdmiControlService API classes with @hide/@SystemApi

Bug: 15516329, Bug: 15516710
Change-Id: Ie814513a642660b6c5fdc9e891ad1eec1b2d689b

10 years agoMerge "Optimize use of layers in ripple, update dialog styling" into lmp-preview-dev
Alan Viverette [Mon, 9 Jun 2014 23:32:35 +0000 (23:32 +0000)]
Merge "Optimize use of layers in ripple, update dialog styling" into lmp-preview-dev

10 years agoMerge "Use a weak reference to the ObjectAnimator target" into lmp-preview-dev
Alan Viverette [Mon, 9 Jun 2014 22:58:13 +0000 (22:58 +0000)]
Merge "Use a weak reference to the ObjectAnimator target" into lmp-preview-dev

10 years agoAdd constants to Android TV On Device Search.
Xiaolei Wang [Wed, 28 May 2014 22:18:15 +0000 (15:18 -0700)]
Add constants to Android TV On Device Search.
Change-Id: I7b5780f8c4c0367d198607ad2780cf6ec6a96d3a

10 years agohide RECOVERY permission from L preview -- DO NOT MERGE
Doug Zongker [Mon, 9 Jun 2014 22:00:10 +0000 (15:00 -0700)]
hide RECOVERY permission from L preview -- DO NOT MERGE

Bug: 15516323
Change-Id: I16a6355f631523919607bd111e5ebfe16fa4506e

10 years agoAdd @SystemApi annotation to internal permissions. (DO NOT MERGE)
Jeff Brown [Sat, 7 Jun 2014 02:46:26 +0000 (19:46 -0700)]
Add @SystemApi annotation to internal permissions. (DO NOT MERGE)

This is a first pass at annotating permissions that should not be
granted or used by to third-party apps but that may be required by
privileged system applications.  For this patch, the annotation was
only added to permissions that have a protection level of at least
system.  Signature-only permissions were left alone since they only
need to be visible to built-in components.

Change-Id: I189472028274c133793ad8e4068585c536dd7f38

10 years agoAdd support for @SystemApi annotation to aapt. (DO NOT MERGE)
Jeff Brown [Sat, 7 Jun 2014 02:43:42 +0000 (19:43 -0700)]
Add support for @SystemApi annotation to aapt. (DO NOT MERGE)

When aapt sees @SystemApi in the XML comment associated with a resource,
it will now remove this tag from the comment (since is it not meaningful as
a Javadoc tag) and instead add an @android.annotation.SystemApi annotation
to the declared type or member.  This enables easy downstream processing of
this annotation from generated code.

Change-Id: If984908477648c0c90be52fdc955fbb891d99b28

10 years agoRename PrivateApi annotation to SystemApi. (DO NOT MERGE)
Jeff Brown [Fri, 6 Jun 2014 00:14:39 +0000 (17:14 -0700)]
Rename PrivateApi annotation to SystemApi. (DO NOT MERGE)

Change-Id: I97b473884f81ad375d0733e4766afe091dfdd854

10 years agoMerge "Pack PointerCoords with BitSet. DO NOT MERGE" into lmp-preview-dev
Michael Wright [Mon, 9 Jun 2014 20:53:55 +0000 (20:53 +0000)]
Merge "Pack PointerCoords with BitSet. DO NOT MERGE" into lmp-preview-dev

10 years agoPack PointerCoords with BitSet. DO NOT MERGE
Michael Wright [Mon, 19 May 2014 22:42:01 +0000 (15:42 -0700)]
Pack PointerCoords with BitSet. DO NOT MERGE

The converstion from Java PointerCoords to native and then back again
was inconsistent. Using a BitSet for all of these operations keeps it
in sync.

Bug: 15000382
Change-Id: Id3a4558dae3ba3df7c4a9b3cb9d5580b957db8d5

10 years agoMerge "Add test app for JobScheduler" into lmp-preview-dev
Matthew Williams [Mon, 9 Jun 2014 20:23:10 +0000 (20:23 +0000)]
Merge "Add test app for JobScheduler" into lmp-preview-dev

10 years agoMerge "Adds listeners for changes to the list of active sessions" into lmp-preview-dev
RoboErik [Mon, 9 Jun 2014 19:07:48 +0000 (19:07 +0000)]
Merge "Adds listeners for changes to the list of active sessions" into lmp-preview-dev

10 years agoMerge "b/15388389 Add volume handling support to MediaRouter" into lmp-preview-dev
RoboErik [Mon, 9 Jun 2014 19:07:34 +0000 (19:07 +0000)]
Merge "b/15388389 Add volume handling support to MediaRouter" into lmp-preview-dev

10 years agoMerge "Add a way to get the package/pid of the session" into lmp-preview-dev
RoboErik [Mon, 9 Jun 2014 19:07:20 +0000 (19:07 +0000)]
Merge "Add a way to get the package/pid of the session" into lmp-preview-dev

10 years agoMerge "b/15452153 Send 0 delta volume requests" into lmp-preview-dev
RoboErik [Mon, 9 Jun 2014 19:07:09 +0000 (19:07 +0000)]
Merge "b/15452153 Send 0 delta volume requests" into lmp-preview-dev

10 years agoMerge "Fix a typo in TvContract" into lmp-preview-dev
Jae Seo [Mon, 9 Jun 2014 18:43:27 +0000 (18:43 +0000)]
Merge "Fix a typo in TvContract" into lmp-preview-dev

10 years agoMerge "Using Manufacturer and not brand for device name" into lmp-preview-dev
Jerome Poichet [Mon, 9 Jun 2014 18:42:20 +0000 (18:42 +0000)]
Merge "Using Manufacturer and not brand for device name" into lmp-preview-dev

10 years agoMerge "TIF: Address the feedback from the API review - 3/3" into lmp-preview-dev
Jae Seo [Mon, 9 Jun 2014 18:38:42 +0000 (18:38 +0000)]
Merge "TIF: Address the feedback from the API review - 3/3" into lmp-preview-dev

10 years agoOptimize use of layers in ripple, update dialog styling
Alan Viverette [Mon, 9 Jun 2014 17:57:41 +0000 (10:57 -0700)]
Optimize use of layers in ripple, update dialog styling

BUG: 15474733
BUG: 15473856
Change-Id: I7c17865c7b2d4aad0fc3660ffac90e9f7ce8fda9

10 years agoFix a typo in TvContract
Jae Seo [Mon, 9 Jun 2014 17:47:15 +0000 (10:47 -0700)]
Fix a typo in TvContract

Assigned a new value to TYPE_ATSC_M_H so that it differs from TYPE_ATSC_C.

Change-Id: I65494fdf625a3b4840c9e8cfa4b728214d63e6df

10 years agoFix mangled XML.
Dan Sandler [Mon, 9 Jun 2014 17:00:41 +0000 (13:00 -0400)]
Fix mangled XML.

Bug: 14588447
Change-Id: I95b46952dcba65cb71d8d28635f92554a1a128b7

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 9 Jun 2014 16:57:07 +0000 (09:57 -0700)]
Import translations. DO NOT MERGE

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

10 years agoPour one out for the old notification ticker.
Dan Sandler [Mon, 9 Jun 2014 15:26:16 +0000 (11:26 -0400)]
Pour one out for the old notification ticker.

Heads-up notifications are what it always wanted to be,
anyway.

Bug: 14588447
Change-Id: I64aa1ed85fb162d8577468019e68df9de183a992

10 years agoMove CATEGORY_NOTIFICATION_PREFERENCES to Notification.
Daniel Sandler [Mon, 9 Jun 2014 14:54:01 +0000 (10:54 -0400)]
Move CATEGORY_NOTIFICATION_PREFERENCES to Notification.

It sprouts an additional INTENT_ prefix to distinguish it
from the Notification.category constants in the same file.

Bug: 15022240
Change-Id: Icbc09bfc5ce78964272def66934fe4a7c848e12b

10 years agoSupport conference calling. (1/4) [DO NOT MERGE]
Santos Cordon [Thu, 5 Jun 2014 03:20:58 +0000 (20:20 -0700)]
Support conference calling. (1/4) [DO NOT MERGE]

Bug: 15006702
Change-Id: I2764ea242f783ba478c9eae86618dd33e9fc792a

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 9 Jun 2014 16:23:28 +0000 (09:23 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 9 Jun 2014 16:15:49 +0000 (09:15 -0700)]
Import translations. DO NOT MERGE

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

10 years agoAPI Review: rename FEATURE_MANAGEDPROFILES
Adam Connors [Thu, 5 Jun 2014 11:13:03 +0000 (12:13 +0100)]
API Review: rename FEATURE_MANAGEDPROFILES

To be FEATURE_MANAGED_PROFILES

Bug: 15025371
Change-Id: I2f818b4d8488fe7943fe5ff6051d6b1f84ca9e8c
(cherry picked from commit 687efd6f5c05dc1e4a9c284bf3edae901af45942)

10 years agoMerge "Set mBound only when bind succeeds" into lmp-preview-dev
Ji-Hwan Lee [Mon, 9 Jun 2014 08:16:07 +0000 (08:16 +0000)]
Merge "Set mBound only when bind succeeds" into lmp-preview-dev

10 years agoSet mBound only when bind succeeds
Ji-Hwan Lee [Mon, 9 Jun 2014 06:22:59 +0000 (15:22 +0900)]
Set mBound only when bind succeeds

Fixes an issue that TV input is disabled forever after package upgrade,
when it's upgraded while in use.  The root cause is as below:

- Package is killed while upgrade.
- Service disconnects, and tries to rebind for reconnecting, but bind fails
  because service is not available temporarily.  Still ServiceState.mBound is
  set to true.
- Should rebind next when callback is registered or new session is created,
  but doesn't because ServiceState is already marked bound.

Bug: 14981201
Change-Id: Ia5b0acb33f1247064213024438f114bc40238648

10 years agoMerge "Make TvInputs aware of whether it's hardware-based or not" into lmp-preview-dev
Wonsik Kim [Mon, 9 Jun 2014 06:07:20 +0000 (06:07 +0000)]
Merge "Make TvInputs aware of whether it's hardware-based or not" into lmp-preview-dev

10 years agoUsing Manufacturer and not brand for device name
Jerome Poichet [Mon, 9 Jun 2014 04:50:05 +0000 (21:50 -0700)]
Using Manufacturer and not brand for device name

We are aware that there will be some devices out there using brand but
we are OK with this.

b/15478133 Build.MANUFACTURER is all lower case

Change-Id: Iecf8bc8777f21341abfaad1623c9da93ee159520

10 years agoMerge "Remove HdmiCecService" into lmp-preview-dev
Jinsuk Kim [Mon, 9 Jun 2014 01:13:29 +0000 (01:13 +0000)]
Merge "Remove HdmiCecService" into lmp-preview-dev

10 years agoMerge "Make TvView keep the volume value and set later once the connecation is made...
Dongwon Kang [Sun, 8 Jun 2014 23:40:18 +0000 (23:40 +0000)]
Merge "Make TvView keep the volume value and set later once the connecation is made." into lmp-preview-dev

10 years agoRemove HdmiCecService
Jinsuk Kim [Fri, 6 Jun 2014 06:52:07 +0000 (15:52 +0900)]
Remove HdmiCecService

The service is replaced with HdmiControlService. Removing all the related
classes and the initialization of the service.

Change-Id: Ic7baaddffb9873613ddd1096e874f226da983939

10 years agoAdd a way to get the package/pid of the session
RoboErik [Sun, 8 Jun 2014 18:15:01 +0000 (11:15 -0700)]
Add a way to get the package/pid of the session

We need a package/pid to connect a session to a notification. This
adds a way to get those from the controller of a session.

Change-Id: I7700a341beebd46116dfb7dc82f1a667c718e728

10 years agob/15452153 Send 0 delta volume requests
RoboErik [Sun, 8 Jun 2014 17:52:32 +0000 (10:52 -0700)]
b/15452153 Send 0 delta volume requests

The new code was dropping volume requests with a delta of 0. These
are used to trigger a beep at the end of a volume adjustment.

Change-Id: Idd85cfeaffe78f9aaafb8e6989e240cb70409c1e

10 years agoAdds listeners for changes to the list of active sessions
RoboErik [Wed, 4 Jun 2014 23:53:45 +0000 (16:53 -0700)]
Adds listeners for changes to the list of active sessions

The listeners get notified when sessions are added, removed, or
reprioritized.

Change-Id: I7f3bfc84049719c3b9c19016c6bac92e1a5c3179

10 years agob/15388389 Add volume handling support to MediaRouter
RoboErik [Tue, 3 Jun 2014 23:49:49 +0000 (16:49 -0700)]
b/15388389 Add volume handling support to MediaRouter

This makes MediaRouter work with sessions to handle volume
requests. Should work with all existing custom volume handling.

Change-Id: I5dfde26a6203a1072b7fc700978b4ca852ebe7d0

10 years agoMerge "Fix issue preventing aapt from stripping all unwanted densities" into lmp...
Bryan Mawhinney [Sun, 8 Jun 2014 17:03:02 +0000 (17:03 +0000)]
Merge "Fix issue preventing aapt from stripping all unwanted densities" into lmp-preview-dev

10 years agoTIF: Address the feedback from the API review - 3/3
Jae Seo [Wed, 4 Jun 2014 06:58:49 +0000 (23:58 -0700)]
TIF: Address the feedback from the API review - 3/3

- Change TvView to be a generic ViewGroup with a single SurfaceView child

Bug: 15345342
Change-Id: I86ed94b7020aabb6e093e391ab9477c1f801919a

10 years agoMake TvView keep the volume value and set later once the connecation is made.
Dongwon Kang [Sun, 8 Jun 2014 09:20:55 +0000 (18:20 +0900)]
Make TvView keep the volume value and set later once the connecation is made.

Bug: 15483740
Change-Id: Id4272bffb556587707b641ec8296bc5a9e57807e

10 years agoAdd test app for JobScheduler
Matthew Williams [Sat, 7 Jun 2014 02:05:44 +0000 (19:05 -0700)]
Add test app for JobScheduler

Schedule either a delay/deadline task, or a task with
connectivity constraints
Change-Id: Ie7ea731d0f6673b680cef79f894cb609a61b795d

10 years agoMerge "Build LayoutLib with Java 6" into lmp-preview-dev
Deepanshu Gupta [Sat, 7 Jun 2014 23:32:10 +0000 (23:32 +0000)]
Merge "Build LayoutLib with Java 6" into lmp-preview-dev

10 years agoBuild LayoutLib with Java 6
Deepanshu Gupta [Sat, 7 Jun 2014 18:19:03 +0000 (11:19 -0700)]
Build LayoutLib with Java 6

Add source and target flags to LayoutLib Bridge to enable compatibility
with Java 6.

Change-Id: I81266af758bb57df037541d6e82600e5020a3c0d

10 years agoMerge "[system transitions] + merge all transition work into new branch for commiting...
Dianne Hackborn [Sat, 7 Jun 2014 17:33:18 +0000 (17:33 +0000)]
Merge "[system transitions] + merge all transition work into new branch for commiting to master + new task switching animations to support doc-centric recents + new default activity transitions + new app -> home (wallpaper close) + updated fragment close" into lmp-preview-dev

10 years agoMake TvInputs aware of whether it's hardware-based or not
Wonsik Kim [Thu, 29 May 2014 17:22:15 +0000 (02:22 +0900)]
Make TvInputs aware of whether it's hardware-based or not

Bug: 15326724
Change-Id: I1f418150ba29ee50afc50a811198115fdc6f9c42

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-preview-dev
Baligh Uddin [Sat, 7 Jun 2014 03:10:45 +0000 (03:10 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-preview-dev

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-preview-dev
Baligh Uddin [Sat, 7 Jun 2014 03:10:36 +0000 (03:10 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-preview-dev

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-preview-dev
Baligh Uddin [Sat, 7 Jun 2014 03:10:23 +0000 (03:10 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-preview-dev

10 years ago[system transitions]
Ari Sachter-Zeltzer [Sat, 7 Jun 2014 01:31:18 +0000 (18:31 -0700)]
[system transitions]
+ merge all transition work into new branch for commiting to master
+ new task switching animations to support doc-centric recents
+ new default activity transitions
+ new app -> home (wallpaper close)
+ updated fragment close

Change-Id: If055e454e7e7bf11c7d54c8cacad8f7ec52d12d1

10 years agoMerge "util: Make Rational a Number/Comparable; add Range#inRange" into lmp-preview-dev
Igor Murashkin [Sat, 7 Jun 2014 00:35:36 +0000 (00:35 +0000)]
Merge "util: Make Rational a Number/Comparable; add Range#inRange" into lmp-preview-dev