OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Lock down window manager while changing opacity" into lmp-dev
Craig Mautner [Sun, 7 Sep 2014 22:15:41 +0000 (22:15 +0000)]
Merge "Lock down window manager while changing opacity" into lmp-dev

9 years agoMerge "TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable" into...
Jae Seo [Sun, 7 Sep 2014 20:43:56 +0000 (20:43 +0000)]
Merge "TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable" into lmp-dev

9 years agoTIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable
Jae Seo [Sun, 7 Sep 2014 20:39:17 +0000 (13:39 -0700)]
TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable

TV input services are now required to call these methods to
unblock/block the screen.

Bug: 17364845
Change-Id: Ifb435900d7f61785198dba2e255a2d24dbf44dc6

9 years agoLock down window manager while changing opacity
Craig Mautner [Sun, 7 Sep 2014 20:13:23 +0000 (13:13 -0700)]
Lock down window manager while changing opacity

Surfaces were being modified after destroy(). The check for mSurface
being null was not done while holding window the window manager lock.
This change adds locking to the surface modification methods.

Fixes bug 17383628.

Change-Id: I12ebbddc0f2cd7b43659370fac2c4fb053999bb5

9 years agoEnsuring that we retry if the callback for animation started comes before the Recents...
Winson Chung [Sat, 6 Sep 2014 15:07:51 +0000 (17:07 +0200)]
Ensuring that we retry if the callback for animation started comes before the Recents activity starts. (Bug 17316671)

Change-Id: I8e50e2cd9ba6a47dda21f21afbe14bb9d3eda979

9 years agoRemoving unnecessary delays, ensuring transition thumbnail is the size of the header...
Winson Chung [Fri, 5 Sep 2014 11:17:22 +0000 (13:17 +0200)]
Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)

Change-Id: Ic104876c5fe16997eca00e0a2b3d8644c927120c

9 years agoRevert "Delay in app transition until home animation completes. (Bug 17012456)"
Winson Chung [Fri, 5 Sep 2014 14:58:20 +0000 (14:58 +0000)]
Revert "Delay in app transition until home animation completes. (Bug 17012456)"

This reverts commit e9883b8a92d72a3cfd947b3ce835bc8e4da2f1b2.

Change-Id: I61664e2a2589d09e5a93a776cf3c391049e7b284

9 years agoMerge "SoundTrigger: fix capture format in recognition event" into lmp-dev
Eric Laurent [Sun, 7 Sep 2014 19:10:06 +0000 (19:10 +0000)]
Merge "SoundTrigger: fix capture format in recognition event" into lmp-dev

9 years agoMerge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk ...
Dianne Hackborn [Sun, 7 Sep 2014 19:04:04 +0000 (19:04 +0000)]
Merge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20" into lmp-dev

9 years agoMerge "Work on issue #17357238: Recents is often slow if not used in a while" into...
Dianne Hackborn [Sun, 7 Sep 2014 19:03:19 +0000 (19:03 +0000)]
Merge "Work on issue #17357238: Recents is often slow if not used in a while" into lmp-dev

9 years agoMerge "Add a hardware feature definition corresponding to audio output support."...
Unsuk Jung [Sun, 7 Sep 2014 01:54:12 +0000 (01:54 +0000)]
Merge "Add a hardware feature definition corresponding to audio output support." into lmp-dev

9 years agoModified VoLTE configuration: separate device and carrier configs.
Etan Cohen [Fri, 5 Sep 2014 05:33:18 +0000 (22:33 -0700)]
Modified VoLTE configuration: separate device and carrier configs.

Default device and carrier disabled.
Device to be overlayed in device/<xxx> dirs.
Carrier overlayed in this project.

Bug: 17365969
Change-Id: I95d58e934fc85506287069ddd71af4a5b7594bfb

9 years agoSoundTrigger: fix capture format in recognition event
Eric Laurent [Fri, 5 Sep 2014 23:44:19 +0000 (16:44 -0700)]
SoundTrigger: fix capture format in recognition event

Also include capture format in recognition event
if capture is available for streaming. It was only
included if trigger was contained in event.

Bug: 17409062
Bug: 16731718
Change-Id: I5bf566e6bda57f23c870b4a1293e9b6d15d51e5a

9 years agoWork on issue #17357238: Recents is often slow if not used in a while
Dianne Hackborn [Fri, 5 Sep 2014 05:52:27 +0000 (22:52 -0700)]
Work on issue #17357238: Recents is often slow if not used in a while

Add a new activity attribute, resumeWhilePausing, that allows an
activity specifying it to immediately start running without waiting
for the previous activity to pause.  The recents activity is updated
to use this.

The implementation of this is ultimately fairly simple -- if we are
in the path of resuming such an activity, and find that we first need
to pause the existing activity, then within the activity manager we
do the regular pause flow but act like it has immediately finished
pausing right then so that we can immediately go on to the resume.
To make this clean, we tell the activity when asking it to pause that
it should not come back and tell us it is done, because we aren't in
any way waiting for it.

One potentially important change I needed to make here is the pause
callback no longer provides the saved persistent state, because we
now can't count on that callback happening.  I don't think there was
really any utility in this anyway -- all modern apps will have their
save state flow happen as part of stopping, not pausing, so we'll
only capture that saved state when the stop is reported back anyway.
And since we do send the saved state back when stopping, it would
always blow away whatever we had gotten at the pause.

Finally, update the documentation for AppTask.startActivity(), and
fix the implementation handling that to be cleaner -- we need to
deal with inTask first before getting in to "oh noes add NEW_TASK
if this isn't coming from a calling activity" flow.

Change-Id: Ia1da0fac90d7bdbaafdda2e34850d795ce17a39f

9 years agoMerge "Increase long timeout to 2 minutes" into lmp-dev
Eric Rowe [Sat, 6 Sep 2014 01:28:22 +0000 (01:28 +0000)]
Merge "Increase long timeout to 2 minutes" into lmp-dev

9 years agoMerge "Fix binder identity use when clearing wallpapers" into lmp-dev
Christopher Tate [Sat, 6 Sep 2014 01:01:25 +0000 (01:01 +0000)]
Merge "Fix binder identity use when clearing wallpapers" into lmp-dev

9 years agoFix binder identity use when clearing wallpapers
Christopher Tate [Sat, 6 Sep 2014 00:42:34 +0000 (17:42 -0700)]
Fix binder identity use when clearing wallpapers

Don't restore it too soon, because the rarely-needed fallback path
will need to be executed as system, too.

Bug 17394246

Change-Id: Ic5e662d4eae331b016fc91ffd08647bd8d4d6ff3

9 years agoMerge "Hide APIs for simplified network settings." into lmp-dev
Junda Liu [Sat, 6 Sep 2014 00:55:29 +0000 (00:55 +0000)]
Merge "Hide APIs for simplified network settings." into lmp-dev

9 years agoFix issue #17391969: Only exception on Message.recycle() when target-sdk > 20
Dianne Hackborn [Fri, 5 Sep 2014 22:09:03 +0000 (15:09 -0700)]
Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20

Change-Id: Iaf271c96901c5dba15831681269a49ad4aaa57fd

9 years agoMerge "Fix issue #17397177: BatteryStats reporting error on job start/stop" into...
Dianne Hackborn [Sat, 6 Sep 2014 00:49:27 +0000 (00:49 +0000)]
Merge "Fix issue #17397177: BatteryStats reporting error on job start/stop" into lmp-dev

9 years agoMerge "Make the image wallpaper component overlayable" into lmp-dev
Justin Koh [Sat, 6 Sep 2014 00:45:40 +0000 (00:45 +0000)]
Merge "Make the image wallpaper component overlayable" into lmp-dev

9 years agoFix issue #17397177: BatteryStats reporting error on job start/stop
Dianne Hackborn [Fri, 5 Sep 2014 22:50:25 +0000 (15:50 -0700)]
Fix issue #17397177: BatteryStats reporting error on job start/stop

Dumb, dumb, dumb mistake.

Also fix battery stats wakeup reason tracking to use a SamplingTimer
(like kernel wake locks) so we can track both the duration and count
for each wakeup reason.

Change-Id: I89d69661006dc533622b1b7e68a139166d3a6975

9 years agoMerge "Added getStyleAttributes to access all Theme attributes." into lmp-dev
Jon Miranda [Sat, 6 Sep 2014 00:27:19 +0000 (00:27 +0000)]
Merge "Added getStyleAttributes to access all Theme attributes." into lmp-dev

9 years agoMerge "Disable RT-anim for AnimatorSet" into lmp-dev
John Reck [Sat, 6 Sep 2014 00:22:23 +0000 (00:22 +0000)]
Merge "Disable RT-anim for AnimatorSet" into lmp-dev

9 years agoMake the image wallpaper component overlayable
Justin Koh [Sat, 6 Sep 2014 00:10:10 +0000 (17:10 -0700)]
Make the image wallpaper component overlayable

This is necessary for devices that want to have wallpaper but don't have
SystemUi.

Bug: 17394246
Change-Id: I75c2a3a2120fd6600274d44059b3f85569b9a187

9 years agoMerge "Propagate drawable hotspots when duplicate parent state is enabled" into lmp-dev
Alan Viverette [Sat, 6 Sep 2014 00:15:08 +0000 (00:15 +0000)]
Merge "Propagate drawable hotspots when duplicate parent state is enabled" into lmp-dev

9 years agoMerge "Update the preferred network type APIs." into lmp-dev
Derek Tan [Sat, 6 Sep 2014 00:10:11 +0000 (00:10 +0000)]
Merge "Update the preferred network type APIs." into lmp-dev

9 years agoUpdate the preferred network type APIs.
Derek Tan [Fri, 5 Sep 2014 22:53:01 +0000 (15:53 -0700)]
Update the preferred network type APIs.

Bug: 17255752
Change-Id: I8f74749752f8d8c6cd5b28dd5fe4ed89a33481ed

9 years agoIncrease long timeout to 2 minutes
Eric Rowe [Fri, 5 Sep 2014 23:59:51 +0000 (16:59 -0700)]
Increase long timeout to 2 minutes

Change-Id: I2f9e15c6e551536d61ec52fbaf7f54405fa05bcd

9 years agoMerge "Properly register all Intent filters. Bug: 17408889 Change-Id: Iff740def80eb50...
Tsuwei Chen [Fri, 5 Sep 2014 23:59:12 +0000 (23:59 +0000)]
Merge "Properly register all Intent filters. Bug: 17408889 Change-Id: Iff740def80eb50e0dc8391d7212a3ae7eeaed152" into lmp-dev

9 years agoStore time offsets for UsageStats XML
Adam Lesinski [Fri, 5 Sep 2014 22:38:05 +0000 (15:38 -0700)]
Store time offsets for UsageStats XML

This will make adjusting for time changes easier
in the future.

Change-Id: I49d2dda4cc6dcb1378a58c814849924f585e0417

9 years agoMerge "Returns UsageEvents from previous days" into lmp-dev
Adam Lesinski [Fri, 5 Sep 2014 23:57:18 +0000 (23:57 +0000)]
Merge "Returns UsageEvents from previous days" into lmp-dev

9 years agoMerge "Remove setCdmaSubscription API." into lmp-dev
Derek Tan [Fri, 5 Sep 2014 23:53:54 +0000 (23:53 +0000)]
Merge "Remove setCdmaSubscription API." into lmp-dev

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 agoHide APIs for simplified network settings.
Junda Liu [Fri, 5 Sep 2014 23:28:40 +0000 (16:28 -0700)]
Hide APIs for simplified network settings.

Bug: b/17255752
Change-Id: Ibbe5d5cdbc2398ba0df2103bd7a33b98dc977734

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 agoAdded getStyleAttributes to access all Theme attributes.
Jon Miranda [Thu, 4 Sep 2014 00:57:35 +0000 (17:57 -0700)]
Added getStyleAttributes to access all Theme attributes.

ViewDebug uses getStyleAttributes to get the attributes, and then gets the
attribute name and value so that Hierarchy Viewer can display it.

Bug: 17407087
Change-Id: I3577e32ae99668383701dc908bb46db14a75c3c4

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 agoReturns UsageEvents from previous days
Adam Lesinski [Wed, 3 Sep 2014 23:49:59 +0000 (16:49 -0700)]
Returns UsageEvents from previous days

- Avoid writing to disk when querying UsageStats.
- Use new UnixCalendar to avoid issues with Locale and TimeZone.

Bug: 16951313

Change-Id: I2473b8ef8dc1e2f6be22d4c689b96e346bdcafd5

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 agoProperly register all Intent filters.
Tsuwei Chen [Fri, 5 Sep 2014 22:15:34 +0000 (15:15 -0700)]
Properly register all Intent filters.
Bug: 17408889
Change-Id: Iff740def80eb50e0dc8391d7212a3ae7eeaed152

9 years agoDisable RT-anim for AnimatorSet
John Reck [Fri, 5 Sep 2014 22:57:47 +0000 (15:57 -0700)]
Disable RT-anim for AnimatorSet

 Bug: 17317184

 Unfortunately this will disable *all* RT animations in a scene,
 but we don't have more selective targetting currently

Change-Id: I57e1c0ae43957f45229473bdcdaf34c05825fab7

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 agoRemove setCdmaSubscription API.
Derek Tan [Fri, 5 Sep 2014 21:14:35 +0000 (14:14 -0700)]
Remove setCdmaSubscription API.

Bug: 17255752
Change-Id: I0adc5c3d1b690d86f538c084d17d239f7ffccfca

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 agoPropagate drawable hotspots when duplicate parent state is enabled
Alan Viverette [Fri, 5 Sep 2014 20:08:53 +0000 (13:08 -0700)]
Propagate drawable hotspots when duplicate parent state is enabled

Makes hotspot-centered ripples "just work" everywhere that old-style
pressed states work.

BUG: 17407652
Change-Id: Id4802662aea537959122f029e85aa576cf51b641

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