138551 Commits

Author SHA1 Message Date
Mike Lockwood
2471e02c19 UsbDebuggingManager: remove log spam when disconnecting USB
Bug: 15112047
Change-Id: Ia07895ee166fa87c88d0443f0745bc9384dac10c
2014-06-05 08:24:16 -07:00
Yorke Lee
b68bf447f6 am d6138017: Merge "API changes per API review for contacts" into lmp-preview-dev
* commit 'd6138017d9d435b176dff424ff75c8e8ea298d06':
  API changes per API review for contacts
2014-06-05 15:21:22 +00:00
Yohei Yukawa
bd12056154 Merge "Trivial method renaming for notifyTextCommitted" 2014-06-05 15:20:53 +00:00
Eric Laurent
a335e14b6b Merge "remove debug log in AudioPortEventHandler." into lmp-preview-dev 2014-06-05 15:18:35 +00:00
Robin Lee
6959133d84 Add Environment call: get config dir for some user
This returns a read-only directory accessible to any app running as the
same user, containing various configuration files written by the system.

Change-Id: I635de184fc285b8fef166b782bbc1ac79f8f0687
2014-06-05 14:34:23 +00:00
Kenny Guy
d0969135aa Merge "Badge notification from managed profiles." 2014-06-05 14:20:35 +00:00
Adam Connors
78b245bfea Merge "Fix build break (include current.txt)" 2014-06-05 14:10:25 +00:00
Adam Connors
f9c98a7008 Fix build break (include current.txt)
I forgot to commit this... sorry.

Change-Id: I5efca4d9447f1792a095dd64210a124c29e6a917
2014-06-05 15:07:53 +01:00
Yohei Yukawa
0297051162 Trivial method renaming for notifyTextCommitted
This CL does not change existing behavior but only renames
notifyTextCommitted with notifyUserAction so that we can use
not only text commit but also other actions such as just typing
a character will be used as a trigger to update the IME
rotation order for better IME switching experience.

BUG: 7043015
Change-Id: I7f3e13a7226ef0dceee82b67e8a0d8536f7e9807
2014-06-05 23:07:05 +09:00
Selim Cinek
d467c9e543 am 995006df: Merge "Changed the default success color of the lockpatternview to white." into lmp-preview-dev
* commit '995006dfe6e41c8d986c7c7af5bb02ff23e4429a':
  Changed the default success color of the lockpatternview to white.
2014-06-05 13:45:59 +00:00
Ihab Awad
8c43a55929 am 4c0c5cf9: (-s ours) Merge "DO NOT MERGE. Implement connection error dialogs (1/4)" into lmp-preview-dev
* commit '4c0c5cf919dac4708f631a29d7e7537b316e970f':
  DO NOT MERGE. Implement connection error dialogs (1/4)
2014-06-05 13:45:59 +00:00
Selim Cinek
63c8b6c325 am 71ea5814: Merge "Changed the LockPatternView assets to quantum" into lmp-preview-dev
* commit '71ea5814716a191b3ab2bc9045007865cbad3e34':
  Changed the LockPatternView assets to quantum
2014-06-05 13:45:58 +00:00
Yorke Lee
8089ce7cbc Merge "API changes per API review for contacts" into lmp-preview-dev 2014-06-05 13:43:35 +00:00
Adam Skory
0212c563c8 Squash unreachable catch
The compiler warning distracts me often.

Change-Id: Ia96e6c82ce1c0f1ae58f7faadbf8769b36d1f810
2014-06-05 14:38:30 +01:00
Adam Connors
7283f963d3 Merge "API Review: rename FEATURE_MANAGEDPROFILES" 2014-06-05 13:07:12 +00:00
Adam Connors
d5259c8ea5 Merge "Allow system process to call getApplicationBlockedAsUser" 2014-06-05 11:20:16 +00:00
Adam Connors
551c0789bc API Review: rename FEATURE_MANAGEDPROFILES
To be FEATURE_MANAGED_PROFILES

Bug: 15025371
Change-Id: I2f818b4d8488fe7943fe5ff6051d6b1f84ca9e8c
2014-06-05 12:13:03 +01:00
Adam Connors
1a910ef2b4 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.

Change-Id: Idd1bda6bb234f6cb7cb78a885ae2d7cc5cca4890
2014-06-05 12:02:04 +01:00
Jae Seo
782f734547 TIF: Address the feedback from the API review - 1/3
This change addresses the following comments from the council:
- Change TvView.setVolume() --> setStreamVolume()
- Surface only TvInputInfo.getServiceInfo() instead of the separate
  getPackage/getService/getComponent calls.  However, keep loadLabel()
  at the top level.
- @hide register/unregisterListener() for the preview, since it binds
  out to each service.
- TvInputService should document which permission it should protect
  itself with.
- Remove TvInputService.setAvailable() for third-party developers.
- Change class name TvInputSessionImpl --> Session
- Change callback name to onSetStreamVolume() to match earlier change

Bug: 15345342
Change-Id: I3ce5cba7dad2622b78d16c408f81c4b0eba837a4
2014-06-05 19:22:18 +09:00
Alexandra Gherghina
22745f4c9a Clean up deleted users in DevicePolicyManagerService
Bug: 15405715
Change-Id: Icd958fe9378deb92f25622b341e0502d865b742f
2014-06-05 11:19:29 +01:00
Dan Sandler
138a7aea27 am 8c2079c2: Merge "Platlogo: The icon now matches the activity." into lmp-preview-dev
* commit '8c2079c2ce89bb7311f6db08f5f0d09e262d650f':
  Platlogo: The icon now matches the activity.
2014-06-05 09:47:47 +00:00
Dan Sandler
4b22bdfa84 Don't show private notifications if a secure lockscreen is merely occluded.
Bug: 15430088
Change-Id: I27187216462b5bb7d52c3f85b9444348138fd9ea
2014-06-05 03:04:34 -04:00
Selim Cinek
7256a852ce Merge "Changed the default success color of the lockpatternview to white." into lmp-preview-dev 2014-06-05 05:36:22 +00:00
Selim Cinek
bd8deb0e3b Changed the default success color of the lockpatternview to white.
Since it was distracting when unlocking

Bug: 13735707
Change-Id: I6b9c5baa22dc5c102f36bdf9a99390c5dd1690ba
2014-06-05 07:25:01 +02:00
Ihab Awad
f73b23e7a1 Merge "DO NOT MERGE. Implement connection error dialogs (1/4)" into lmp-preview-dev 2014-06-05 05:24:38 +00:00
Selim Cinek
35066c385f Merge "Changed the LockPatternView assets to quantum" into lmp-preview-dev 2014-06-05 05:03:11 +00:00
Selim Cinek
2cb687e7b9 Changed the LockPatternView assets to quantum
Bug: 13735707
Change-Id: Id999adbd8a4aeb3ca91fcb9957ec38ec75ff91b0
2014-06-05 06:59:08 +02:00
Justin Koh
2dbd36fc7f Add check to allow notification listener packages to post >50 notifications
Bug: 13433398
Change-Id: I77abf19982add240e1bbe8196fbe148d32884f68
2014-06-04 21:14:26 -07:00
Craig Mautner
b6011c1c2a Merge commit '21483b9f' into manualmerge
Change-Id: If9261cc1625f9f492697fe16c21d2b71c0cc0e11
2014-06-04 20:59:13 -07:00
Craig Mautner
21483b9f0b am e34fcf8f: Merge "Add callback when ActivityView activities complete" into klp-modular-dev
* commit 'e34fcf8ff9a023641505a8decdeb1b77232d8a16':
  Add callback when ActivityView activities complete
2014-06-05 03:31:06 +00:00
Craig Mautner
e34fcf8ff9 Merge "Add callback when ActivityView activities complete" into klp-modular-dev 2014-06-05 03:28:21 +00:00
Eric Laurent
e94379beba remove debug log in AudioPortEventHandler.
Bug: 14815883.
Change-Id: Ib5076fcfe8a36d1dd772b072fdf3400e57acc61c
2014-06-04 20:09:13 -07:00
Eino-Ville Talvala
85e5f85f2e am 4b1b33ef: Merge "Camera2: Invoke onError callbacks for failure to open" into lmp-preview-dev
* commit '4b1b33eff0eabd17f1078d55188b40e9a27d047a':
  Camera2: Invoke onError callbacks for failure to open
2014-06-05 02:30:08 +00:00
Dan Sandler
c03f429b9f Merge "Platlogo: The icon now matches the activity." into lmp-preview-dev 2014-06-05 02:26:40 +00:00
Jungshik Jang
0f8b4b770c Implement hotplug detection sequence.
Hotplug detection is periodic operation to detect new/removed device.
In case of directly connected device fires hotplug devices
but remote devices which are plugged in hdmi switch may not
report their existence.
Hotplug action polls all devices in regular base; 5s for
system audio (only when it's active) 15s for others.

Change-Id: I77c308ecfd5d6bf92f306923fa5ac9eabdad4127
2014-06-05 10:36:35 +09:00
Alan Viverette
e88aee8ad8 Add defaults for caption colors and edge type
BUG: 8151470
Change-Id: I4d7b75bf647aeded77b4000cdcd37e9ace46a374
2014-06-04 18:35:42 -07:00
Kristian Monsen
2c35d03cc0 Update ViewLocationHolder#compareTo to properly implement Comparable
The previous implementation violates the transitive property, and
can lead to IllegalArgumentException being thrown.

See: https://code.google.com/p/android/issues/detail?id=55933
and bug 10791961.

Change-Id: I050e626aff9cc4b0ec5690a430d3bcb26f905425
2014-06-04 18:30:39 -07:00
Jungshik Jang
f04ee7e337 Merge "Refactor HdmiCecLocalDevice and logical address allocation logic." 2014-06-05 01:24:03 +00:00
Jungshik Jang
3ee65720e9 Refactor HdmiCecLocalDevice and logical address allocation logic.
1. Factor out logical allocation logic to HdmiControlService.
2. Contains a reference to HdmiControlService rather than
  HdmiCecController so that it enables to access service's logic
  directly.
3. Move launch device discovery logic to HdmiCecLocalDeviceTv.

Change-Id: Ic97b4d51311a3c18f6d586c2245cac410cbd370e
2014-06-05 10:19:05 +09:00
Yorke Lee
1ca440b38f API changes per API review for contacts
* Improve documentation for REMOVE_DUPLICATE_ENTRIES
* Hide android.provider.ContactsContract.PinnedPositions, it will be
reworked and improved for L.
* Hide android.provider.ContactsContract.Preferences - we will rework
the various apps that are relying on this to use their own preferences
instead
* Remove inheritance of hidden interfaces in android.provider.Contacts

Bug: 15430304
Change-Id: I0f96e8a506083df21023f9b95655f0ce5244bdce
2014-06-04 18:16:26 -07:00
Deepanshu Gupta
d0ca7b623b am dfc3bc9b: Fix build.
* commit 'dfc3bc9b3cf27a72dfd133ce62f5e791ef74659d':
  Fix build.
2014-06-05 01:10:44 +00:00
Eino-Ville Talvala
b530848032 Merge "Camera2: Invoke onError callbacks for failure to open" into lmp-preview-dev 2014-06-05 01:08:54 +00:00
Eric Laurent
60b62bc5c1 add sound trigger JNI
Add JNI for sound trigger hardware native service.

Change-Id: Idd0ee42c7af5fe20e7d8295994211de3a517bd13
2014-06-04 17:59:12 -07:00
Eric Laurent
e48188ce35 Add SoundTrigger native service interface
Add JAVA framework interface for native sound trigger service.
The interface allows for:
- enumeration of sound trigger hardware modules and their properties
- load/unload sound models
- start, stop and receive recognition events on sound models.

Change-Id: I51542f38f5359ffbbf79d2cbd7c9ea1ee10c9c18
2014-06-04 17:58:56 -07:00
Craig Mautner
d94b47f3b6 Add callback when ActivityView activities complete
Users of ActivityViews can now be informed when there are no more
active activities in ActivityView by registering a callback.

Fixes bug 15330616.

Change-Id: I39d55bdb0db8b0a12ee751cdcb039b7fbb899c85
2014-06-04 17:25:49 -07:00
Amith Yamasani
80f576f5a8 Merge "Fix messed up current.txt" 2014-06-05 00:22:46 +00:00
Jean-Michel Trivi
b45c273033 AudioAttributes: parcelable, hide support for tags
Make the AudioAttributes class parcelable.

Hide support for adding and querying tags, there is no SDK-backed
  use case for this feature.

Bug 15306334

Change-Id: Idb67a735778e687d73020ed0120643f31fc230a6
2014-06-04 17:22:16 -07:00
Amith Yamasani
8927d4f590 Fix messed up current.txt
Change-Id: Id472fda6112593c1ba933100249bbd5c6ecb0ccb
2014-06-04 17:19:24 -07:00
Prashant Malani
6a5cacb868 Change display state modification during dozing
Check that the BrightnessRamp animation has completed before updating
the display state to STATE_DOZING.

Bug: 13472578
Change-Id: Ib9751f7a987463e4df98571e846d829ec8e73b5e
Signed-off-by: Prashant Malani <pmalani@google.com>
2014-06-04 17:14:31 -07:00
Deepanshu Gupta
c8e2d0a4f8 LayoutLib: Add capability to simulate old versions
Let the IDE know that we can simulate older versions of platform.

Change-Id: Idec6d24296dd0ae04a2d808c14604629e265d458
2014-06-04 17:08:48 -07:00