OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Update the comment in sendEnvelope." into lmp-dev
Derek Tan [Fri, 5 Sep 2014 23:53:09 +0000 (23:53 +0000)]
Merge "Update the comment in sendEnvelope." into lmp-dev

9 years agoMerge "API change: SetOperatorBrandOverride should not take iccId as a param." into...
Shishir Agrawal [Fri, 5 Sep 2014 23:51:39 +0000 (23:51 +0000)]
Merge "API change: SetOperatorBrandOverride should not take iccId as a param." into lmp-dev

9 years agoMerge "Updating APIs for CDMA conference call support." into lmp-dev
Santos Cordon [Fri, 5 Sep 2014 23:46:08 +0000 (23:46 +0000)]
Merge "Updating APIs for CDMA conference call support." into lmp-dev

9 years agoMerge "Simplify ripple background drawing, fix ripple alphas" into lmp-dev
Alan Viverette [Fri, 5 Sep 2014 23:45:35 +0000 (23:45 +0000)]
Merge "Simplify ripple background drawing, fix ripple alphas" into lmp-dev

9 years agoMerge "Respect Android conventions in AudioManager extras" into lmp-dev
Jean-Michel Trivi [Fri, 5 Sep 2014 23:37:09 +0000 (23:37 +0000)]
Merge "Respect Android conventions in AudioManager extras" into lmp-dev

9 years agoMerge "AudioAttributes: unhide CREATOR" into lmp-dev
Jean-Michel Trivi [Fri, 5 Sep 2014 23:36:43 +0000 (23:36 +0000)]
Merge "AudioAttributes: unhide CREATOR" into lmp-dev

9 years agoMerge "Separate active state from open/close." into lmp-dev
Jeff Sharkey [Fri, 5 Sep 2014 23:28:30 +0000 (23:28 +0000)]
Merge "Separate active state from open/close." into lmp-dev

9 years agoSeparate active state from open/close.
Jeff Sharkey [Fri, 5 Sep 2014 22:53:05 +0000 (15:53 -0700)]
Separate active state from open/close.

Also change name to setStagingProgress() to make it clearer that
system may adjust the range.  Start throwing from openSession() in
preparation for ASEC allocation moving.

Bug: 17405741
Change-Id: Id7da51a32d5d89cb512ddafbd7ceaafbcd41cac6

9 years agoUpdating APIs for CDMA conference call support.
Santos Cordon [Fri, 5 Sep 2014 00:39:22 +0000 (17:39 -0700)]
Updating APIs for CDMA conference call support.

Bug:17316859
Change-Id: Ib80c4dcf99c8599c011496756c363c3e6147c20a

9 years agoMerge "MediaCodecInfo: allow getting info for secure codec" into lmp-dev
Lajos Molnar [Fri, 5 Sep 2014 23:09:31 +0000 (23:09 +0000)]
Merge "MediaCodecInfo: allow getting info for secure codec" into lmp-dev

9 years agoMerge "MediaCodecInfo: rename createFromProfileLevel" into lmp-dev
Lajos Molnar [Fri, 5 Sep 2014 23:08:24 +0000 (23:08 +0000)]
Merge "MediaCodecInfo: rename createFromProfileLevel" into lmp-dev

9 years agoRespect Android conventions in AudioManager extras
Jean-Michel Trivi [Fri, 5 Sep 2014 21:38:47 +0000 (14:38 -0700)]
Respect Android conventions in AudioManager extras

Update the value of the extras in android.media.AudioManager
  used in ACTION_HDMI_AUDIO_PLUG to respect the Android
  naming conventions.

Bug 17390818

Change-Id: Ied1830e0ffa3b1fa7235d0675f36f2f43aac554d

9 years agoMerge "Plus code handling for non-NANP CDMA carrier" into lmp-dev
Vineeta Srivastava [Fri, 5 Sep 2014 22:53:49 +0000 (22:53 +0000)]
Merge "Plus code handling  for non-NANP CDMA carrier" into lmp-dev

9 years agoMerge "Fix race condition" into lmp-dev
John Reck [Fri, 5 Sep 2014 22:38:41 +0000 (22:38 +0000)]
Merge "Fix race condition" into lmp-dev

9 years agoAPI change: SetOperatorBrandOverride should not take iccId as a param.
Shishir Agrawal [Thu, 4 Sep 2014 20:23:53 +0000 (13:23 -0700)]
API change: SetOperatorBrandOverride should not take iccId as a param.

Taking ICCID as a parameter is not scure since a carrier can override the
brand for other carriers. We should override only the current ICCID.

Bug: 17390144

Change-Id: I9be2cb5c5fa15367fcb3b548b6e601a294e84dbc

9 years agoMerge "Print spooler UI polish and bug fixes." into lmp-dev
Svetoslav [Fri, 5 Sep 2014 22:37:38 +0000 (22:37 +0000)]
Merge "Print spooler UI polish and bug fixes." into lmp-dev

9 years agoMerge "Add shadow/clipping properties to HierarchyViewer" into lmp-dev
Chris Craik [Fri, 5 Sep 2014 22:36:41 +0000 (22:36 +0000)]
Merge "Add shadow/clipping properties to HierarchyViewer" into lmp-dev

9 years agoAudioAttributes: unhide CREATOR
Jean-Michel Trivi [Fri, 5 Sep 2014 22:04:45 +0000 (15:04 -0700)]
AudioAttributes: unhide CREATOR

android.media.AudioAttributes implements the Parcelable interface,
 and is part of the SDK, it therefore requires CREATOR, writeToParcel,
 and describeContents to be "unhidden".
CREATOR was still @hide

Bug 17390818

Change-Id: I9c1cb1d454fe538cb5be6066ebed290a99352da9

9 years agoMerge "Unescape strings properly in NsdService." into lmp-dev
Sreeram Ramachandran [Fri, 5 Sep 2014 22:26:19 +0000 (22:26 +0000)]
Merge "Unescape strings properly in NsdService." into lmp-dev

9 years agoFix race condition
John Reck [Fri, 5 Sep 2014 22:23:38 +0000 (15:23 -0700)]
Fix race condition

 Bug: 17372309

 AnimationContext::startFrame() happens both with and without
 the UI thread lock. Pass the TraversalMode into it so
 that ThreadedRenderer's subclass can correctly decide
 when it is safe to push over mPendingAnimatingRenderNodes, as doing
 so outside of the lock is Very Bad.

Change-Id: Ife5dd3a2b46b0a207cd9234c159a674afdbf5efd

9 years agoAdd shadow/clipping properties to HierarchyViewer
Chris Craik [Fri, 5 Sep 2014 21:08:08 +0000 (14:08 -0700)]
Add shadow/clipping properties to HierarchyViewer

bug:15777980

Change-Id: Ic3d24326f585d2d2b9889486f0ed322eb98b5af8

9 years agoMerge "Don't crash in addPackageHoldingPermissions()..." into lmp-dev
Christopher Tate [Fri, 5 Sep 2014 22:23:06 +0000 (22:23 +0000)]
Merge "Don't crash in addPackageHoldingPermissions()..." into lmp-dev

9 years agoMerge "Additional layer logging, and added mutex" into lmp-dev
Chris Craik [Fri, 5 Sep 2014 22:22:15 +0000 (22:22 +0000)]
Merge "Additional layer logging, and added mutex" into lmp-dev

9 years agoPrint spooler UI polish and bug fixes.
Svetoslav [Thu, 4 Sep 2014 04:15:55 +0000 (21:15 -0700)]
Print spooler UI polish and bug fixes.

1. Added an empty state for pages that are being rendered.

2. Fixed a NPA on a binder thread when destoroying the
   remote print adapter.

3. Fixed a rare crash when the print activity gets an
   activity class callback while initializing.

4. Changed the preview pages on phone in land to four.

5. Fixed a flicker from a list of pages to an empty state
   and then back to the list of pages.

bug:15704969
bug:16966145

Change-Id: I0eea2f30a102d8fefcbf90187fa6d8612fb19434

Conflicts:
packages/PrintSpooler/src/com/android/printspooler/widget/PageContentView.java

9 years agoMerge "Fix boolean comparison after sig check." into lmp-dev
dcashman [Fri, 5 Sep 2014 22:18:49 +0000 (22:18 +0000)]
Merge "Fix boolean comparison after sig check." into lmp-dev

9 years agoAdditional layer logging, and added mutex
Chris Craik [Fri, 5 Sep 2014 22:17:11 +0000 (15:17 -0700)]
Additional layer logging, and added mutex

bug:17208461
Change-Id: I006d432a3b633235dde0b81ad2bf28b835b5335f

9 years agoPlus code handling for non-NANP CDMA carrier
Steven Liu [Thu, 10 Jul 2014 19:10:50 +0000 (14:10 -0500)]
Plus code handling  for non-NANP CDMA carrier

Since most of CDMA network do not support phone number with "+" for
international dialing, current AOSP support the "+" handling for
NANP CDMA network, this part add the support for non-NANP CDMA Network,
convert "+" to right IDD(International Direct Dialing) code. And adding
a new property for current IDD.

Bug: 17210134

Change-Id: I369083169bb3504f8de9774b65f3993dd561c525

9 years agoDon't crash in addPackageHoldingPermissions()...
Christopher Tate [Fri, 5 Sep 2014 21:52:26 +0000 (14:52 -0700)]
Don't crash in addPackageHoldingPermissions()...

...in cases involving uninstalled apps, or apps whose install state
varies across different users.

Bug 17398315

Change-Id: I7297d82f8bf5d49c50a7fd53d795a706bf2d2313

9 years agoUpdate the comment in sendEnvelope.
Derek Tan [Fri, 5 Sep 2014 21:56:32 +0000 (14:56 -0700)]
Update the comment in sendEnvelope.

Bug: 17255752
Change-Id: I4b56447e28bc9838b9ae0425a3673891647116d1

9 years agoMerge "Reduce chance of notification listener dropped messages." into lmp-dev
Griff Hazen [Fri, 5 Sep 2014 21:52:43 +0000 (21:52 +0000)]
Merge "Reduce chance of notification listener dropped messages." into lmp-dev

9 years agoMerge "Rename listener to callback for ConferenceManager and rename strings 1/4"...
Nancy Chen [Fri, 5 Sep 2014 21:46:26 +0000 (21:46 +0000)]
Merge "Rename listener to callback for ConferenceManager and rename strings 1/4" into lmp-dev

9 years agoFix boolean comparison after sig check.
dcashman [Fri, 5 Sep 2014 21:14:23 +0000 (14:14 -0700)]
Fix boolean comparison after sig check.

Bug: 17402843
Change-Id: I0cb5ffba1a93f71a250294a41040011234ce1029

9 years agoMerge "Update the broadcasts reserved to the system" into lmp-dev
Jean-Michel Trivi [Fri, 5 Sep 2014 21:37:25 +0000 (21:37 +0000)]
Merge "Update the broadcasts reserved to the system" into lmp-dev

9 years agoMerge "We shouldn't delete accounts when a package is being updated." into lmp-dev
Carlos Valdivia [Fri, 5 Sep 2014 21:01:52 +0000 (21:01 +0000)]
Merge "We shouldn't delete accounts when a package is being updated." into lmp-dev

9 years agoMerge "API review: android.media.tv" into lmp-dev
Jae Seo [Fri, 5 Sep 2014 21:00:25 +0000 (21:00 +0000)]
Merge "API review: android.media.tv" into lmp-dev

9 years agoRename listener to callback for ConferenceManager and rename strings 1/4
Nancy Chen [Fri, 5 Sep 2014 18:03:21 +0000 (11:03 -0700)]
Rename listener to callback for ConferenceManager and rename strings 1/4

Updates for items from API review. See bug for details.

Bug: 17390175
Change-Id: I716a12b763766a385b08f8731d9533589639f467

9 years agoMerge "Documentation fix for Sensor.getMaxDelay()" into lmp-dev
Aravind Akella [Fri, 5 Sep 2014 20:58:52 +0000 (20:58 +0000)]
Merge "Documentation fix for Sensor.getMaxDelay()" into lmp-dev

9 years agoWe shouldn't delete accounts when a package is being updated.
Carlos Valdivia [Fri, 5 Sep 2014 17:52:41 +0000 (10:52 -0700)]
We shouldn't delete accounts when a package is being updated.

Bug: 17158237
Change-Id: Icbf9e672a6a698737b08ed39c78a64c161a7b802

9 years agoMerge "Cleanup - Change name of confirm credentials method after API review" into...
Jim Miller [Fri, 5 Sep 2014 20:58:16 +0000 (20:58 +0000)]
Merge "Cleanup - Change name of confirm credentials method after API review" into lmp-dev

9 years agoMerge "Camera2: Final API revisions" into lmp-dev
Eino-Ville Talvala [Fri, 5 Sep 2014 20:43:51 +0000 (20:43 +0000)]
Merge "Camera2: Final API revisions" into lmp-dev

9 years agoAPI review: android.media.tv
Jae Seo [Thu, 4 Sep 2014 21:37:09 +0000 (14:37 -0700)]
API review: android.media.tv

TvInputInfo
- Renamed getIntentForSettingsActivity to createSettingsIntent.
- Renamed getIntentForSetupActivity to createSetupIntent.
- Changed the value of EXTRA_INPUT_ID from inputId to
  android.media.tv.extra.INPUT_ID.
- Removed @hiden from CREATOR.

TvInputManager
- Renamed TvInputListener to TvInputCallback.
- Renamed registerListener to registerCallback.
- Renamed unregisterListener to unregisterCallback.
- Changed the value of ACTION_BLOCKED_RATINGS_CHANGED from
  android.media.tv.TvInputManager.ACTION_BLOCKED_RATINGS_CHANGED
  to android.media.tv.action.BLOCKED_RATINGS_CHANGED.
- Changed the value of ACTION_PARENTAL_CONTROLS_ENABLED_CHANGED from
  android.media.tv.TvInputManager.ACTION_PARENTAL_CONTROLS_ENABLED_CHANGED
  to android.media.tv.action.PARENTAL_CONTROLS_ENABLED_CHANGED.
- Changed the value of ACTION_QUERY_CONTENT_RATING_SYSTEMS from
  android.media.tv.TvInputManager.ACTION_QUERY_CONTENT_RATING_SYSTEMS
  to android.media.tv.action.QUERY_CONTENT_RATING_SYSTEMS.
- Changed the value of META_DATA_CONTENT_RATING_SYSTEMS from
  android.media.tv.TvInputManager.META_DATA_CONTENT_RATING_SYSTEMS
  to android.media.tv.metadata.CONTENT_RATING_SYSTEMS.

TvView
- Renamed TvInputListener to TvInputCallback.
- Renamed setTvInputListener to setCallback.

Bug: 17389538
Change-Id: I3dceee3db67862d77b183aef0da4fd3a8681ab1b

9 years agoUnescape strings properly in NsdService.
Sreeram Ramachandran [Wed, 3 Sep 2014 22:45:59 +0000 (15:45 -0700)]
Unescape strings properly in NsdService.

NativeDaemonEvent.unescapeArgs() was improperly skipping the terminating
quote in cases like "\\", where the char preceding the quote is a
backslash, but the backslash itself is escaped, so the quote is indeed
an unescaped terminator.

unescapeArgs() doesn't unescape "\xxx" decimal escapes used by mDNS, so
fix NsdService to do that sort of unescaping explicitly (which is only
applicable when it receives a "fullname", in SERVICE_RESOLVED).

Bug: 16983542
Bug: 16986203

Change-Id: Idfa79749336c68424d961bc414f984c525b7e5e6

9 years agoMerge "Remove old setTint from Drawable" into lmp-dev
Alan Viverette [Fri, 5 Sep 2014 20:06:01 +0000 (20:06 +0000)]
Merge "Remove old setTint from Drawable" into lmp-dev

9 years agoMerge "Allow for event dispatching when in non-interactive states." into lmp-dev
Michael Wright [Fri, 5 Sep 2014 19:58:10 +0000 (19:58 +0000)]
Merge "Allow for event dispatching when in non-interactive states." into lmp-dev

9 years agoMerge "send volume button events to adjustSuggestedStream instead of adjustStream...
RoboErik [Fri, 5 Sep 2014 19:49:55 +0000 (19:49 +0000)]
Merge "send volume button events to adjustSuggestedStream instead of adjustStream" into lmp-dev

9 years agoMerge "Minor tweaks to MediaBrowser" into lmp-dev
RoboErik [Fri, 5 Sep 2014 19:49:43 +0000 (19:49 +0000)]
Merge "Minor tweaks to MediaBrowser" into lmp-dev

9 years agoMerge "rename add/removeCallback to register/unregisterCallback" into lmp-dev
RoboErik [Fri, 5 Sep 2014 19:49:35 +0000 (19:49 +0000)]
Merge "rename add/removeCallback to register/unregisterCallback" into lmp-dev

9 years agoMerge "rename SERVICE_ACTION to SERVICE_INTERFACE" into lmp-dev
RoboErik [Fri, 5 Sep 2014 19:45:42 +0000 (19:45 +0000)]
Merge "rename SERVICE_ACTION to SERVICE_INTERFACE" into lmp-dev

9 years agoMerge "Rename getLocalApprovalIntent to createLocalApprovalIntent" into lmp-dev
Amith Yamasani [Fri, 5 Sep 2014 19:43:43 +0000 (19:43 +0000)]
Merge "Rename getLocalApprovalIntent to createLocalApprovalIntent" into lmp-dev

9 years agoCamera2: Final API revisions
Eino-Ville Talvala [Thu, 4 Sep 2014 20:07:40 +0000 (13:07 -0700)]
Camera2: Final API revisions

- Rename listeners to callbacks. Listeners are single-method and are interfaces,
  while callbacks are abstract may get more methods in the future.
- Use register/unregister for registering callbacks, not add/remove.

Bug: 17389922
Change-Id: Ic6b46ad79cb43a43a85e2a4b63f059d3af99798b

9 years agosend volume button events to adjustSuggestedStream instead of adjustStream
RoboErik [Fri, 5 Sep 2014 18:39:29 +0000 (11:39 -0700)]
send volume button events to adjustSuggestedStream instead of adjustStream

This way the audio system can route the adjustments correctly when a bt
headset is connected.

bug:17281977
Change-Id: Ic41d038e47179baffc86e539562da285446148c7

9 years agoMerge "Add extra to ASSIST intent to indicate potential input type" into lmp-dev
Michael Wright [Fri, 5 Sep 2014 19:36:46 +0000 (19:36 +0000)]
Merge "Add extra to ASSIST intent to indicate potential input type" into lmp-dev

9 years agoMerge "Add gid to configure no_ems_support_sim_operators" into lmp-dev
Amit Mahajan [Fri, 5 Sep 2014 19:25:48 +0000 (19:25 +0000)]
Merge "Add gid to configure no_ems_support_sim_operators" into lmp-dev

9 years agoMerge "Fix the IndexOutOfBoundsException when unpacking GSM 8-bit pdu" into lmp-dev
Amit Mahajan [Fri, 5 Sep 2014 19:25:35 +0000 (19:25 +0000)]
Merge "Fix the IndexOutOfBoundsException when unpacking GSM 8-bit pdu" into lmp-dev

9 years agoRemove old setTint from Drawable
Alan Viverette [Fri, 5 Sep 2014 19:23:18 +0000 (12:23 -0700)]
Remove old setTint from Drawable

BUG: 15782973
Change-Id: Idf0a6ea7c81135b032fcdadc46ee78d7db6945c7

9 years agoSimplify ripple background drawing, fix ripple alphas
Alan Viverette [Fri, 5 Sep 2014 04:29:18 +0000 (21:29 -0700)]
Simplify ripple background drawing, fix ripple alphas

Eliminates an extra saveLayer on the background in the common case of
a rectangle-bounded ripple.

Ripples and backgrounds are now drawn at 50% opacity of the ripple
color, which ensures that both the ripple and background are visible
and that the pressed state has a correct combined alpha.

Also fixes a bug where hardware (RT) animation was getting turned off
prematurely.

BUG: 17405007
BUG: 17398089
BUG: 17394445
BUG: 17389859
Change-Id: Idb5808368fe563581a51a8cb9778275ee8d22f4c

9 years agoCleanup - Change name of confirm credentials method after API review
Jim Miller [Wed, 27 Aug 2014 03:11:05 +0000 (20:11 -0700)]
Cleanup - Change name of confirm credentials method after API review

Fixes bug 17288988

Change-Id: I3d69b52e7ffc9f0268fb4dc9647f8704453668b7

9 years agoMerge "camera2: Undo mirror for front camera in legacy mode." into lmp-dev
Ruben Brunk [Fri, 5 Sep 2014 18:52:53 +0000 (18:52 +0000)]
Merge "camera2: Undo mirror for front camera in legacy mode." into lmp-dev

9 years agoMerge "Unregister app when advertise failed after registration." into lmp-dev
Wei Wang [Fri, 5 Sep 2014 18:49:26 +0000 (18:49 +0000)]
Merge "Unregister app when advertise failed after registration." into lmp-dev

9 years agoMinor tweaks to MediaBrowser
RoboErik [Fri, 5 Sep 2014 17:32:20 +0000 (10:32 -0700)]
Minor tweaks to MediaBrowser

-A swapped the param order on MediaBrowser.MediaItem constructor
-Added a missing aidl file for MediaItem

bug:17205016
Change-Id: I61538d76f76a993ed5a47b881e0d291fef1d8db3

9 years agorename add/removeCallback to register/unregisterCallback
RoboErik [Thu, 4 Sep 2014 23:08:00 +0000 (16:08 -0700)]
rename add/removeCallback to register/unregisterCallback

bug:17390821
Change-Id: Id610b481083686dba2a28b6c7c47b747f89eef4f

9 years agoMerge "Fix runtime restart" into lmp-dev
Svetoslav [Fri, 5 Sep 2014 18:30:40 +0000 (18:30 +0000)]
Merge "Fix runtime restart" into lmp-dev

9 years agoFix runtime restart
Svetoslav [Fri, 5 Sep 2014 18:28:00 +0000 (11:28 -0700)]
Fix runtime restart

Change-Id: Ic50c8b3b06603ad517fdc8a2392ad12318d46817

9 years agoMerge "Permission check for entering MODE_IN_CALL" into lmp-dev
Jean-Michel Trivi [Fri, 5 Sep 2014 18:00:50 +0000 (18:00 +0000)]
Merge "Permission check for entering MODE_IN_CALL" into lmp-dev

9 years agoMerge "Allow badging updates to install sessions." into lmp-dev
Jeff Sharkey [Fri, 5 Sep 2014 17:56:38 +0000 (17:56 +0000)]
Merge "Allow badging updates to install sessions." into lmp-dev

9 years agoMerge "Camera2: Document supported target combinations for a session." into lmp-dev
Eino-Ville Talvala [Fri, 5 Sep 2014 17:54:00 +0000 (17:54 +0000)]
Merge "Camera2: Document supported target combinations for a session." into lmp-dev

9 years agoRename getLocalApprovalIntent to createLocalApprovalIntent
Amith Yamasani [Fri, 5 Sep 2014 17:51:13 +0000 (10:51 -0700)]
Rename getLocalApprovalIntent to createLocalApprovalIntent

Based on API review.

Bug: 17389920
Change-Id: I84674f25a84d317f017473b6f4ac19c849079323

9 years agoMerge "Replace native crash with IAE when calling picture.draw() w/ a HW canvas"...
Chris Craik [Fri, 5 Sep 2014 17:49:19 +0000 (17:49 +0000)]
Merge "Replace native crash with IAE when calling picture.draw() w/ a HW canvas" into lmp-dev

9 years agoReplace native crash with IAE when calling picture.draw() w/ a HW canvas
Chris Craik [Fri, 5 Sep 2014 17:33:39 +0000 (10:33 -0700)]
Replace native crash with IAE when calling picture.draw() w/ a HW canvas

bug:17397958
Change-Id: I75f942db0e604f9fd6ab31e6c81f718c0f57b16a

9 years agoMerge "Hide color filter mutability" into lmp-dev
Chris Craik [Fri, 5 Sep 2014 17:30:49 +0000 (17:30 +0000)]
Merge "Hide color filter mutability" into lmp-dev

9 years agoMerge "Add new header to support 32 bit/64 bit dumps." into lmp-dev
Christopher Ferris [Fri, 5 Sep 2014 17:30:20 +0000 (17:30 +0000)]
Merge "Add new header to support 32 bit/64 bit dumps." into lmp-dev

9 years agoMerge "API Review: Improve javadoc." into lmp-dev
George Mount [Fri, 5 Sep 2014 17:29:28 +0000 (17:29 +0000)]
Merge "API Review: Improve javadoc." into lmp-dev

9 years agoAPI Review: Improve javadoc.
George Mount [Fri, 29 Aug 2014 18:32:13 +0000 (11:32 -0700)]
API Review: Improve javadoc.

Bug 17189781
Also rename PatternMotion to PatternPathMotion

Change-Id: I1c4dcbdd65e33cf9de1504277e31f9f7ede0380d

9 years agoFix broken aidl
Svetoslav [Fri, 5 Sep 2014 17:19:39 +0000 (10:19 -0700)]
Fix broken aidl

Change-Id: I2187abd75b4f60e790b747a492ad610592f2ef53

9 years agoAllow badging updates to install sessions.
Jeff Sharkey [Fri, 5 Sep 2014 16:45:20 +0000 (09:45 -0700)]
Allow badging updates to install sessions.

For the system restore use-case, an installer may need to enqueue
their sessions quickly before badging details, like icons, have been
downloaded.  This change relaxes to allow an installer to update
their session badging after the session has been created.  Notify
observers when badging changes.

Rename callback registration methods to match style guide.  Relax
constraint that observers are home app.  Fix bug around internal
progress reporting.

Bug: 173767971738923617334199
Change-Id: I5fb88508baea2f08e89a1504fcf5ef972afad4a7

9 years agoMerge "Update FrameStats API per api-council request." into lmp-dev
Svetoslav [Fri, 5 Sep 2014 17:09:44 +0000 (17:09 +0000)]
Merge "Update FrameStats API per api-council request." into lmp-dev

9 years agoMerge "Addressing API council comments for UserManager." into lmp-dev
Svetoslav [Fri, 5 Sep 2014 17:08:11 +0000 (17:08 +0000)]
Merge "Addressing API council comments for UserManager." into lmp-dev

9 years agoam 0641ab3d: am 636f3eac: Add clear_top flag to settings action intent. Bug: 17200185
Wei Liu [Fri, 5 Sep 2014 17:07:19 +0000 (17:07 +0000)]
am 0641ab3d: am 636f3eac: Add clear_top flag to settings action intent. Bug: 17200185

* commit '0641ab3dd0282edc272f425a245ede63a78dd222':
  Add clear_top flag to settings action intent. Bug: 17200185

9 years agoUpdate FrameStats API per api-council request.
Svetoslav [Fri, 5 Sep 2014 01:37:31 +0000 (18:37 -0700)]
Update FrameStats API per api-council request.

bug:17390382

Change-Id: I50518834569f4d0ec394709294537256f03530e0

9 years agoAddressing API council comments for UserManager.
Svetoslav [Thu, 4 Sep 2014 22:39:54 +0000 (15:39 -0700)]
Addressing API council comments for UserManager.

bug:17390424

Change-Id: I498d2541289915cb7db16e5c3249ccc7a7dc5ee6

9 years agoMerge "Remove class that was moved to a different package." into lmp-dev
Amith Yamasani [Fri, 5 Sep 2014 17:03:30 +0000 (17:03 +0000)]
Merge "Remove class that was moved to a different package." into lmp-dev

9 years agoam 636f3eac: Add clear_top flag to settings action intent. Bug: 17200185
Wei Liu [Fri, 5 Sep 2014 16:52:20 +0000 (16:52 +0000)]
am 636f3eac: Add clear_top flag to settings action intent. Bug: 17200185

* commit '636f3eac6d3ae69e7cc1dd159fe7cdbb043ce2df':
  Add clear_top flag to settings action intent. Bug: 17200185

9 years agoPermission check for entering MODE_IN_CALL
Jean-Michel Trivi [Thu, 4 Sep 2014 00:48:47 +0000 (17:48 -0700)]
Permission check for entering MODE_IN_CALL

Make the ability to change the audio mode conditional to having
 the MODIFY_PHONE_STATE permission.
Make AudioService's internal implementation of the mode setting
 (the setModeInt() method) private, it is only meant to be used
 by AudioService.
Refer to the permission names through Manifest.permission, not
 by their string value.

Bug 14964198

Change-Id: I49870207566e53d5c8764646cece06d8272f93ed

9 years agoMerge "Move Size parceling to Bundle." into lmp-dev
Jeff Sharkey [Fri, 5 Sep 2014 16:45:59 +0000 (16:45 +0000)]
Merge "Move Size parceling to Bundle." into lmp-dev

9 years agoRemove class that was moved to a different package.
Amith Yamasani [Fri, 5 Sep 2014 16:42:59 +0000 (09:42 -0700)]
Remove class that was moved to a different package.

Completes the API change.

Bug: 17006805
Change-Id: I5031e05df6b1a317a902482274eb056ecaf5dfbb

9 years agoMerge "Suppress location tile in QS on lock screen" into lmp-dev
Tom O'Neill [Fri, 5 Sep 2014 16:37:43 +0000 (16:37 +0000)]
Merge "Suppress location tile in QS on lock screen" into lmp-dev

9 years agoMerge "Don't allow guests to install from unknown sources" into lmp-dev
Amith Yamasani [Fri, 5 Sep 2014 16:32:29 +0000 (16:32 +0000)]
Merge "Don't allow guests to install from unknown sources" into lmp-dev

9 years agoMerge "Fix current.txt (fixes build)" into lmp-dev
Amith Yamasani [Fri, 5 Sep 2014 16:28:18 +0000 (16:28 +0000)]
Merge "Fix current.txt (fixes build)" into lmp-dev

9 years agoMerge "Fix ProviderTestCase2 broken by ag/519661:" into lmp-dev
Akos Ludanyi [Fri, 5 Sep 2014 16:28:04 +0000 (16:28 +0000)]
Merge "Fix ProviderTestCase2 broken by ag/519661:" into lmp-dev

9 years agoFix current.txt (fixes build)
Amith Yamasani [Fri, 5 Sep 2014 16:27:15 +0000 (09:27 -0700)]
Fix current.txt (fixes build)

Change-Id: Iaa9272d6f32b1562c7d1fbd41e8031c0f9050953

9 years agoMerge "Add a constant for CHANGE_PHONE_ACCOUNTS action" into lmp-dev
Evan Charlton [Fri, 5 Sep 2014 16:27:58 +0000 (16:27 +0000)]
Merge "Add a constant for CHANGE_PHONE_ACCOUNTS action" into lmp-dev

9 years agoMerge "Don't update notification layer when collapsing the panel" into lmp-dev
Jorim Jaggi [Fri, 5 Sep 2014 16:22:24 +0000 (16:22 +0000)]
Merge "Don't update notification layer when collapsing the panel" into lmp-dev

9 years agoMerge "Fix networking API per scripting checks." into lmp-dev
Robert Greenwalt [Fri, 5 Sep 2014 16:17:26 +0000 (16:17 +0000)]
Merge "Fix networking API per scripting checks." into lmp-dev

9 years agoAdd a constant for CHANGE_PHONE_ACCOUNTS action
Evan Charlton [Thu, 4 Sep 2014 19:38:17 +0000 (12:38 -0700)]
Add a constant for CHANGE_PHONE_ACCOUNTS action

To make life easier for developers, pull the CHANGE_PHONE_ACCOUNTS
intent action out to a constant.

Bug: 17383844
Change-Id: I6989324c8d01930cd2e2be5d7d0defea860fc718

9 years agoMerge "Remove "forgot pattern" in pattern view" into lmp-dev
Jorim Jaggi [Fri, 5 Sep 2014 16:12:02 +0000 (16:12 +0000)]
Merge "Remove "forgot pattern" in pattern view" into lmp-dev

9 years agoMove Size parceling to Bundle.
Jeff Sharkey [Fri, 5 Sep 2014 01:13:39 +0000 (18:13 -0700)]
Move Size parceling to Bundle.

Size itself shouldn't be Parcelable, since that would be a layering
violation.

Bug: 17390381
Change-Id: Ica62709bd889db51c916c550a0146714b002baa3

9 years agoMerge "SysUI: Sort status bar notification icons" into lmp-dev
Christoph Studer [Fri, 5 Sep 2014 15:59:40 +0000 (15:59 +0000)]
Merge "SysUI: Sort status bar notification icons" into lmp-dev

9 years agoMerge "Send USER_PRESENT broadcast after keyguard animation finishes" into lmp-dev
Jim Miller [Fri, 5 Sep 2014 15:57:15 +0000 (15:57 +0000)]
Merge "Send USER_PRESENT broadcast after keyguard animation finishes" into lmp-dev

9 years agoMerge "Address API review comment:AlwaysOnHotwordDetector" into lmp-dev
Dharmesh Mokani [Fri, 5 Sep 2014 15:56:16 +0000 (15:56 +0000)]
Merge "Address API review comment:AlwaysOnHotwordDetector" into lmp-dev

9 years agoMerge "Add a way to fetch the current connection manager" into lmp-dev
Evan Charlton [Fri, 5 Sep 2014 15:41:23 +0000 (15:41 +0000)]
Merge "Add a way to fetch the current connection manager" into lmp-dev