OSDN Git Service
Selim Cinek [Mon, 8 Sep 2014 14:10:50 +0000 (16:10 +0200)]
Avoiding heads-up when accessibility is turned on
Bug:
16017019
Change-Id: I08ec75e6b3296eefb9ae5e8fdc9f8dd6c4ad4816
Przemyslaw Szczepaniak [Mon, 8 Sep 2014 10:23:24 +0000 (10:23 +0000)]
Merge "API review requests for the TTS package." into lmp-dev
Przemyslaw Szczepaniak [Fri, 5 Sep 2014 14:36:49 +0000 (15:36 +0100)]
API review requests for the TTS package.
- New TextToSpeechService methods are no longer protected.
- s/getRequiresNetworkConnection/isNetworkConnectionRequired
- New TextToSpeec#play.. methods use a Bundle instead of a HashMap
- New synthesizeToFile(), addSpeech(), addEarcon() methods
take a File instead of a String with filepath.
- TextToSpeechService#s/isValidVoiceName/onIsValidVoiceName
Bug:
17389935,
17253934
Change-Id: Iec76f59015c34104683c050fe1ff1ceccd604134
Yohei Yukawa [Mon, 8 Sep 2014 06:56:20 +0000 (15:56 +0900)]
Follow up API signature changes of CursorAnchorInfo
This is a follow up CL for Ia8cbb9f6b41cd9509fc0147fd68763dfde
and Ic8c6fab58c01206872a34e7ee604cdda1581364d.
BUG:
17365414
BUG:
17200900
Change-Id: Ib2371849d32bb44da9ef59f05e648a476e03699a
Yohei Yukawa [Tue, 2 Sep 2014 21:18:40 +0000 (14:18 -0700)]
L API proposal: Introduce IS_RTL flag
This CL introduces CursorAnchorInfo.FLAG_IS_RTL for better
RTL support. This CL also renames *CharacterRect() with
*CharacterBounds() so that they can look more consistent
with other existing APIs.
Rationale:
CursorAnchorInfo.FLAG_IS_RTL addresses following issues.
1. There is no way to associate the RTL information with
the insertion marker.
2. Returning mirrored (right < left) RectF for RTL in
CursorAnchorInfo#getCharacterRect() is turned out
to be bug-prone. Such usage of RectF is not fully
supported. For example, RectF#isEmpty() always returns
false when right < left.
3. There is no reliable to provide the RTL information
when CursorAnchorInfo#getCharacterRect() returns an
empty (right == left) RectF. Perhaps we could use +0.0
and -0.0, but I'm afraid that it is also bug-prone.
BUG:
17365414
BUG:
17335734
Change-Id: Ic8c6fab58c01206872a34e7ee604cdda1581364d
Alan Viverette [Sun, 7 Sep 2014 23:13:45 +0000 (23:13 +0000)]
Merge "Add first day of week API to date picker" into lmp-dev
Amith Yamasani [Sun, 7 Sep 2014 22:56:18 +0000 (22:56 +0000)]
Merge "Use correct API for badging" into lmp-dev
Amith Yamasani [Sun, 7 Sep 2014 22:45:57 +0000 (15:45 -0700)]
Use correct API for badging
Bug:
17414778
Change-Id: I7c0321d9435b0787a90cd62be80862069ba2d790
Craig Mautner [Sun, 7 Sep 2014 22:15:41 +0000 (22:15 +0000)]
Merge "Lock down window manager while changing opacity" into lmp-dev
Jae Seo [Sun, 7 Sep 2014 20:43:56 +0000 (20:43 +0000)]
Merge "TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable" into lmp-dev
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
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
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
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
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
Eric Laurent [Sun, 7 Sep 2014 19:10:06 +0000 (19:10 +0000)]
Merge "SoundTrigger: fix capture format in recognition event" into lmp-dev
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
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
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
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
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
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
Eric Rowe [Sat, 6 Sep 2014 01:28:22 +0000 (01:28 +0000)]
Merge "Increase long timeout to 2 minutes" 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
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
Junda Liu [Sat, 6 Sep 2014 00:55:29 +0000 (00:55 +0000)]
Merge "Hide APIs for simplified network settings." into lmp-dev
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
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
Justin Koh [Sat, 6 Sep 2014 00:45:40 +0000 (00:45 +0000)]
Merge "Make the image wallpaper component overlayable" into lmp-dev
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
Jon Miranda [Sat, 6 Sep 2014 00:27:19 +0000 (00:27 +0000)]
Merge "Added getStyleAttributes to access all Theme attributes." 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
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
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
Derek Tan [Sat, 6 Sep 2014 00:10:11 +0000 (00:10 +0000)]
Merge "Update the preferred network type APIs." into lmp-dev
Derek Tan [Fri, 5 Sep 2014 22:53:01 +0000 (15:53 -0700)]
Update the preferred network type APIs.
Bug:
17255752
Change-Id: I8f74749752f8d8c6cd5b28dd5fe4ed89a33481ed
Eric Rowe [Fri, 5 Sep 2014 23:59:51 +0000 (16:59 -0700)]
Increase long timeout to 2 minutes
Change-Id: I2f9e15c6e551536d61ec52fbaf7f54405fa05bcd
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
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
Adam Lesinski [Fri, 5 Sep 2014 23:57:18 +0000 (23:57 +0000)]
Merge "Returns UsageEvents from previous days" into lmp-dev
Derek Tan [Fri, 5 Sep 2014 23:53:54 +0000 (23:53 +0000)]
Merge "Remove setCdmaSubscription API." 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
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
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
Santos Cordon [Fri, 5 Sep 2014 23:46:08 +0000 (23:46 +0000)]
Merge "Updating APIs for CDMA conference call support." 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
Jean-Michel Trivi [Fri, 5 Sep 2014 23:37:09 +0000 (23:37 +0000)]
Merge "Respect Android conventions in AudioManager extras" into lmp-dev
Jean-Michel Trivi [Fri, 5 Sep 2014 23:36:43 +0000 (23:36 +0000)]
Merge "AudioAttributes: unhide CREATOR" 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
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
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
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
Lajos Molnar [Fri, 5 Sep 2014 23:09:31 +0000 (23:09 +0000)]
Merge "MediaCodecInfo: allow getting info for secure codec" into lmp-dev
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
Lajos Molnar [Fri, 5 Sep 2014 23:08:24 +0000 (23:08 +0000)]
Merge "MediaCodecInfo: rename createFromProfileLevel" into lmp-dev
Tsuwei Chen [Fri, 5 Sep 2014 22:15:34 +0000 (15:15 -0700)]
Properly register all Intent filters.
Bug:
17408889
Change-Id: Iff740def80eb50e0dc8391d7212a3ae7eeaed152
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
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
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
John Reck [Fri, 5 Sep 2014 22:38:41 +0000 (22:38 +0000)]
Merge "Fix race condition" into lmp-dev
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
Svetoslav [Fri, 5 Sep 2014 22:37:38 +0000 (22:37 +0000)]
Merge "Print spooler UI polish and bug fixes." 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
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
Sreeram Ramachandran [Fri, 5 Sep 2014 22:26:19 +0000 (22:26 +0000)]
Merge "Unescape strings properly in NsdService." into lmp-dev
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
Chris Craik [Fri, 5 Sep 2014 21:08:08 +0000 (14:08 -0700)]
Add shadow/clipping properties to HierarchyViewer
bug:
15777980
Change-Id: Ic3d24326f585d2d2b9889486f0ed322eb98b5af8
Christopher Tate [Fri, 5 Sep 2014 22:23:06 +0000 (22:23 +0000)]
Merge "Don't crash in addPackageHoldingPermissions()..." 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
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
dcashman [Fri, 5 Sep 2014 22:18:49 +0000 (22:18 +0000)]
Merge "Fix boolean comparison after sig check." into lmp-dev
Chris Craik [Fri, 5 Sep 2014 22:17:11 +0000 (15:17 -0700)]
Additional layer logging, and added mutex
bug:
17208461
Change-Id: I006d432a3b633235dde0b81ad2bf28b835b5335f
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
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
Derek Tan [Fri, 5 Sep 2014 21:56:32 +0000 (14:56 -0700)]
Update the comment in sendEnvelope.
Bug:
17255752
Change-Id: I4b56447e28bc9838b9ae0425a3673891647116d1
Griff Hazen [Fri, 5 Sep 2014 21:52:43 +0000 (21:52 +0000)]
Merge "Reduce chance of notification listener dropped messages." into lmp-dev
Derek Tan [Fri, 5 Sep 2014 21:14:35 +0000 (14:14 -0700)]
Remove setCdmaSubscription API.
Bug:
17255752
Change-Id: I0adc5c3d1b690d86f538c084d17d239f7ffccfca
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
dcashman [Fri, 5 Sep 2014 21:14:23 +0000 (14:14 -0700)]
Fix boolean comparison after sig check.
Bug:
17402843
Change-Id: I0cb5ffba1a93f71a250294a41040011234ce1029
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
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
Jae Seo [Fri, 5 Sep 2014 21:00:25 +0000 (21:00 +0000)]
Merge "API review: android.media.tv" into lmp-dev
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
Aravind Akella [Fri, 5 Sep 2014 20:58:52 +0000 (20:58 +0000)]
Merge "Documentation fix for Sensor.getMaxDelay()" into lmp-dev
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
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
Eino-Ville Talvala [Fri, 5 Sep 2014 20:43:51 +0000 (20:43 +0000)]
Merge "Camera2: Final API revisions" into lmp-dev
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
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
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
Alan Viverette [Fri, 5 Sep 2014 20:06:01 +0000 (20:06 +0000)]
Merge "Remove old setTint from Drawable" 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
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
RoboErik [Fri, 5 Sep 2014 19:49:43 +0000 (19:49 +0000)]
Merge "Minor tweaks to MediaBrowser" 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
RoboErik [Fri, 5 Sep 2014 19:45:42 +0000 (19:45 +0000)]
Merge "rename SERVICE_ACTION to SERVICE_INTERFACE" into lmp-dev
Amith Yamasani [Fri, 5 Sep 2014 19:43:43 +0000 (19:43 +0000)]
Merge "Rename getLocalApprovalIntent to createLocalApprovalIntent" into lmp-dev
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
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
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