OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "AudioService: SCO audio backward compatibility" into jb-mr2-dev
Eric Laurent [Fri, 19 Apr 2013 15:39:22 +0000 (15:39 +0000)]
Merge "AudioService: SCO audio backward compatibility" into jb-mr2-dev

11 years agoMerge "Add some documentation to MediaCodecInfo" into jb-mr2-dev
Andreas Huber [Fri, 19 Apr 2013 15:34:15 +0000 (15:34 +0000)]
Merge "Add some documentation to MediaCodecInfo" into jb-mr2-dev

11 years agoFix doc build.
Ying Wang [Fri, 19 Apr 2013 03:39:48 +0000 (20:39 -0700)]
Fix doc build.

Change-Id: Ibf0d998721a2851c31529d5b44bf86b1b3df5791

11 years agoMerge "Undeprecate old UsbDeviceConnection methods." into jb-mr2-dev
Jeff Brown [Fri, 19 Apr 2013 02:19:34 +0000 (02:19 +0000)]
Merge "Undeprecate old UsbDeviceConnection methods." into jb-mr2-dev

11 years agoUndeprecate old UsbDeviceConnection methods.
Jeff Brown [Fri, 19 Apr 2013 02:15:17 +0000 (19:15 -0700)]
Undeprecate old UsbDeviceConnection methods.

Per api review, retain the overloads that do not accept a
buffer start offset.

Bug: 8656781
Change-Id: Ie00aca7d3a4708700c5ddf60e3309e609788a67f

11 years agoMerge "Fix restoration of virtual accessibility focus in ListView." into jb-mr2-dev
Svetoslav Ganov [Fri, 19 Apr 2013 02:17:02 +0000 (02:17 +0000)]
Merge "Fix restoration of virtual accessibility focus in ListView." into jb-mr2-dev

11 years agoMerge "Fix change of behavior in Looper.quit()." into jb-mr2-dev
Jeff Brown [Fri, 19 Apr 2013 02:09:19 +0000 (02:09 +0000)]
Merge "Fix change of behavior in Looper.quit()." into jb-mr2-dev

11 years agoFix change of behavior in Looper.quit().
Jeff Brown [Thu, 18 Apr 2013 22:17:48 +0000 (15:17 -0700)]
Fix change of behavior in Looper.quit().

It seems some applications rely on Looper.quit() terminating the
loop immediately without processing all messages.  Rather than
risk breaking them, make the safer behavior optional.

Also take care to properly drain the message queue before quitting
so that all of the Message instances are recycled.  This may
help release storage sooner in case the Looper doesn't get GC'd
promptly and its remaining queue of undelivered messages sticks
around.

Improve docs on runWithScissors.

Bug: 8596303
Change-Id: I8cbeb6f7a5f6b8e618b5109f87a03defc1486b9f

11 years agoUpdate aip/current.txt to fix build.
Ying Wang [Fri, 19 Apr 2013 01:54:57 +0000 (18:54 -0700)]
Update aip/current.txt to fix build.

Change-Id: I3644995bce6102c05b356a709e517c812eca0570

11 years agoMerge "Fix issue #8656537: API review: styles, assist" into jb-mr2-dev
Dianne Hackborn [Fri, 19 Apr 2013 01:26:57 +0000 (01:26 +0000)]
Merge "Fix issue #8656537: API review: styles, assist" into jb-mr2-dev

11 years agoReplacing accessibility service permissions with capability attributes.
Svetoslav [Wed, 17 Apr 2013 01:55:38 +0000 (18:55 -0700)]
Replacing accessibility service permissions with capability attributes.

Accessibility services can perform special operations such as retrieve
the screen content, enable explore by touch, etc. To ensure the user
is aware that the service will perform special operations we were using
permissions. However, the special operations cannot be performed unless
the service is really enabled by the user and it is at this point that
we want to notify the user about the service capabilities.

This change adds capability attributes to the accessibility service's
meta-data XML file. The service has to declare the capability and when
it is enabled we show the user the capabilities in the warining dialog.

bug:8633951

Change-Id: Id3442dc71dad018e606888afdc40834682fdb037

11 years agoMerge "Reload accessibility service infos for reisntalled packages." into jb-mr2-dev
Svetoslav Ganov [Fri, 19 Apr 2013 00:26:02 +0000 (00:26 +0000)]
Merge "Reload accessibility service infos for reisntalled packages." into jb-mr2-dev

11 years agoMerge "Doc change: Eat some permissions group comments." into jb-mr2-dev
Dirk Dougherty [Thu, 18 Apr 2013 23:56:05 +0000 (23:56 +0000)]
Merge "Doc change: Eat some permissions group comments." into jb-mr2-dev

11 years agoDoc change: Eat some permissions group comments.
Dirk Dougherty [Thu, 18 Apr 2013 23:38:01 +0000 (16:38 -0700)]
Doc change: Eat some permissions group comments.

Change-Id: I6db06ed80fbc9e3d71c2a029cc50a6fa954d35b9

11 years agoMerge "Improve error handling for DRM errors reported by plugins" into jb-mr2-dev
Jeff Tinker [Thu, 18 Apr 2013 23:18:46 +0000 (23:18 +0000)]
Merge "Improve error handling for DRM errors reported by plugins" into jb-mr2-dev

11 years agoMerge "Once again, cancel all when notifications canceled for pkg." into jb-mr2-dev
Daniel Sandler [Thu, 18 Apr 2013 23:15:50 +0000 (23:15 +0000)]
Merge "Once again, cancel all when notifications canceled for pkg." into jb-mr2-dev

11 years agoFix issue #8656537: API review: styles, assist
Dianne Hackborn [Thu, 18 Apr 2013 21:10:03 +0000 (14:10 -0700)]
Fix issue #8656537: API review: styles, assist

Change-Id: I5542fb548805fc885b51a1dd1133a3ac226df96b

11 years agoAdd some documentation to MediaCodecInfo
Andreas Huber [Thu, 18 Apr 2013 22:27:20 +0000 (15:27 -0700)]
Add some documentation to MediaCodecInfo

Change-Id: Ia94cde04af37e46b5d4b9c171dc50112134042b8
related-to-bug: 8657165

11 years agoMerge "Sent hint to Wifi driver when enabling WFD." into jb-mr2-dev
Jeff Brown [Thu, 18 Apr 2013 22:16:04 +0000 (22:16 +0000)]
Merge "Sent hint to Wifi driver when enabling WFD." into jb-mr2-dev

11 years agoMerge "don't trigger a render when setting the rendermode" into jb-mr2-dev
Mathias Agopian [Thu, 18 Apr 2013 22:15:22 +0000 (22:15 +0000)]
Merge "don't trigger a render when setting the rendermode" into jb-mr2-dev

11 years agodon't trigger a render when setting the rendermode
Mathias Agopian [Thu, 18 Apr 2013 20:52:58 +0000 (13:52 -0700)]
don't trigger a render when setting the rendermode

also don't cache the rendermode, to mimic the older
behaviour.

Bug: 8656076
Change-Id: Id9383852bed073927db2364f7ac30a1be28b4cd8

11 years agoMerge "Fix ActionBar#setHomeActionContentDescription(0)" into jb-mr2-dev
Adam Powell [Thu, 18 Apr 2013 21:42:21 +0000 (21:42 +0000)]
Merge "Fix ActionBar#setHomeActionContentDescription(0)" into jb-mr2-dev

11 years agoMerge "Add Javadoc" into jb-mr2-dev
Alon Albert [Thu, 18 Apr 2013 21:36:32 +0000 (21:36 +0000)]
Merge "Add Javadoc" into jb-mr2-dev

11 years agoAdd Javadoc
Alon Albert [Thu, 18 Apr 2013 21:26:51 +0000 (14:26 -0700)]
Add Javadoc

Bug: 8657225
Change-Id: Id3cc191ea67011460604a691214b9b09075c5938

11 years agoMerge "Remove BluetoothAdapterCallback. Simplify leScan Api" into jb-mr2-dev
Matthew Xie [Thu, 18 Apr 2013 20:59:43 +0000 (20:59 +0000)]
Merge "Remove BluetoothAdapterCallback. Simplify leScan Api" into jb-mr2-dev

11 years agoFix ActionBar#setHomeActionContentDescription(0)
Adam Powell [Thu, 18 Apr 2013 20:53:27 +0000 (13:53 -0700)]
Fix ActionBar#setHomeActionContentDescription(0)

This call should be analogous to calling
setHomeActionContentDescription(null) and not throw an exception.

Bug 8657256

Change-Id: Ifa9c7b999f4bf1a31fba43f869e234b1f1861512

11 years agoMerge "Prevent transformed ops from merging in the first place" into jb-mr2-dev
Chris Craik [Thu, 18 Apr 2013 20:43:24 +0000 (20:43 +0000)]
Merge "Prevent transformed ops from merging in the first place" into jb-mr2-dev

11 years agoPrevent transformed ops from merging in the first place
Chris Craik [Thu, 18 Apr 2013 19:57:07 +0000 (12:57 -0700)]
Prevent transformed ops from merging in the first place

bug:8649215

Previously we prevented ops with non-translate transforms from
merging, but missed the case of the first op in a merging batch
containing a non-translate transform.

This fulfills the assumption of drawText's non-immediate mode that
merged ops will have pure translate transforms.

Change-Id: I6f6db341aff3f7e84e74b4c3ccf970d585a2db1a

11 years agoMerge "Secure broadcasts." into jb-mr2-dev
Robert Greenwalt [Thu, 18 Apr 2013 18:45:53 +0000 (18:45 +0000)]
Merge "Secure broadcasts." into jb-mr2-dev

11 years agoMagnification does not work if no enabled accessibility services.
Svetoslav Ganov [Thu, 18 Apr 2013 17:35:16 +0000 (10:35 -0700)]
Magnification does not work if no enabled accessibility services.

This is a regression in which the input filter of the accessibility
manager service is not set if magnification is enabled but accessibility
is not - i.e. no accessibility serivces are enabled. Fixed the logic to
install the input filter if magnification is on but services are not
enabled in addition to services being enabled.

bug:8652765

Change-Id: Ia73e1064035f95ba0f246f4cabcc42d58c12a11f

11 years agoSecure broadcasts.
Robert Greenwalt [Thu, 18 Apr 2013 17:29:29 +0000 (10:29 -0700)]
Secure broadcasts.

Prevents 3rd party spoofing.

bug:7622253
Change-Id: I1e1a9887afe009d060205e349c31e3aefba2ea5b

11 years agoMerge "Add CellInfoWcdma and related classes." into jb-mr2-dev
Wink Saville [Thu, 18 Apr 2013 17:06:45 +0000 (17:06 +0000)]
Merge "Add CellInfoWcdma and related classes." into jb-mr2-dev

11 years agoReload accessibility service infos for reisntalled packages.
Svetoslav Ganov [Thu, 18 Apr 2013 16:35:43 +0000 (09:35 -0700)]
Reload accessibility service infos for reisntalled packages.

When something that affects the state of accessibility in the sysytem
changes, we run a reolve method that reloads all relevant information and
if it changed we call a method that makes everyting right. One of the
interesting properties we read is the isntalled accessibliity services.

We are using equals to figure out whether these services have changed
but this is not correct since AccessibilityServiceInfo does not use all
internal members for equals and using all memthis is not reasible since
some of these internal members do not support equals propertly, for
example ResolveInfo.

Therefore, when a package is reinstalled we remove all installed services
from the list of ones we know about which forces them to be reloaded,
thus capturing the current state of a reinstalled package.

bug:8621960

Change-Id: Ie1ef4bf1036d8d6e033cd9528ea2292ce24e5320

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Thu, 18 Apr 2013 16:43:34 +0000 (16:43 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "Make MediaDrm APIs public" into jb-mr2-dev
Jeff Tinker [Thu, 18 Apr 2013 16:08:37 +0000 (16:08 +0000)]
Merge "Make MediaDrm APIs public" into jb-mr2-dev

11 years agoOnce again, cancel all when notifications canceled for pkg.
Daniel Sandler [Thu, 18 Apr 2013 14:51:35 +0000 (10:51 -0400)]
Once again, cancel all when notifications canceled for pkg.

Right now this only works if you go through the front door
(using setNotificationsEnabledForPackage()); if you set the
AppOps for a package otherwise the existing notifications
will not be cleared (but new ones will be blocked). Since
there's no UI for modifying AppOps today this shouldn't be a
problem.

Bug: 8489214
Change-Id: I84f8c76a0d03959127e9076ab2b7d37dbdaebb17

11 years agoMerge "Standardize gamepad layouts on existing controllers" into jb-mr2-dev
Michael Wright [Thu, 18 Apr 2013 08:15:57 +0000 (08:15 +0000)]
Merge "Standardize gamepad layouts on existing controllers" into jb-mr2-dev

11 years agoMerge "Hardware geofence API changes." into jb-mr2-dev
Jaikumar Ganesh [Thu, 18 Apr 2013 05:18:41 +0000 (05:18 +0000)]
Merge "Hardware geofence API changes." into jb-mr2-dev

11 years agoHardware geofence API changes.
Jaikumar Ganesh [Wed, 17 Apr 2013 19:19:10 +0000 (12:19 -0700)]
Hardware geofence API changes.

b/8631678

1.GeofenceRequest object created.
2.MonitorState moved to a new callback
3.getTypeAndStatus separated to 2 calls.
4.Binder death implemented
5.geofenceChange callback name changed.
6.Parameters rearranged in some calls.

Change-Id: I8fe9621186aeb49efeb0eef1821a2556afe03cfc

11 years agoRemove BluetoothAdapterCallback. Simplify leScan Api
Matthew Xie [Thu, 11 Apr 2013 23:36:26 +0000 (16:36 -0700)]
Remove BluetoothAdapterCallback. Simplify leScan Api

App does not need to explicitly register/unregister callback
bug 8599881

Change-Id: I18cfef14d7ddb344722945e657dcb959823b412b

11 years agoMerge "Fix possible NPE" into jb-mr2-dev
Satoshi Kataoka [Thu, 18 Apr 2013 03:33:39 +0000 (03:33 +0000)]
Merge "Fix possible NPE" into jb-mr2-dev

11 years agoSent hint to Wifi driver when enabling WFD.
Jeff Brown [Thu, 18 Apr 2013 03:25:36 +0000 (20:25 -0700)]
Sent hint to Wifi driver when enabling WFD.

Bug: 8521148
Change-Id: I53b4cf7a3714b28f9df457e559abe92711c02cef

11 years agoMerge "Fix issue #8540550: Screenshots should never have transparency" into jb-mr2-dev
Dianne Hackborn [Thu, 18 Apr 2013 02:00:45 +0000 (02:00 +0000)]
Merge "Fix issue #8540550: Screenshots should never have transparency" into jb-mr2-dev

11 years agoMerge "Fix UsbDebuggingActivity not shown in adb tcpip mode" into jb-mr2-dev
Benoit Goby [Thu, 18 Apr 2013 01:52:55 +0000 (01:52 +0000)]
Merge "Fix UsbDebuggingActivity not shown in adb tcpip mode" into jb-mr2-dev

11 years agoMerge "Add a config resource to force HDMI rotation on some devices." into jb-mr2-dev
Jeff Brown [Thu, 18 Apr 2013 01:42:01 +0000 (01:42 +0000)]
Merge "Add a config resource to force HDMI rotation on some devices." into jb-mr2-dev

11 years agoMerge "add javadoc for SurfaceView {unL|l}ockCanvas{AndPost}()" into jb-mr2-dev
Mathias Agopian [Thu, 18 Apr 2013 01:29:07 +0000 (01:29 +0000)]
Merge "add javadoc for SurfaceView {unL|l}ockCanvas{AndPost}()" into jb-mr2-dev

11 years agoFix issue #8540550: Screenshots should never have transparency
Dianne Hackborn [Thu, 18 Apr 2013 01:06:22 +0000 (18:06 -0700)]
Fix issue #8540550: Screenshots should never have transparency

Make sure the thumbnail bitmap is initialized with a black
background.

Change-Id: I87c00d309b7d30b6085a751aa4ae22cf146c74f5

11 years agoStandardize gamepad layouts on existing controllers
Michael Wright [Thu, 4 Apr 2013 23:57:20 +0000 (16:57 -0700)]
Standardize gamepad layouts on existing controllers

Bug: 8292749
Change-Id: I24bae8c9229125fcdd583d74b29f4334ddff782e

11 years agoFix UsbDebuggingActivity not shown in adb tcpip mode
Benoit Goby [Thu, 18 Apr 2013 00:34:30 +0000 (17:34 -0700)]
Fix UsbDebuggingActivity not shown in adb tcpip mode

Bug: 8646772
Change-Id: If34c756bece903a0a452070bbc94ebc71d325bf6

11 years agoMerge "Add input/output JSON data for baseline comparison" into jb-mr2-dev
Chris Craik [Thu, 18 Apr 2013 00:32:07 +0000 (00:32 +0000)]
Merge "Add input/output JSON data for baseline comparison" into jb-mr2-dev

11 years agoAudioService: SCO audio backward compatibility
Eric Laurent [Sat, 13 Apr 2013 00:24:56 +0000 (17:24 -0700)]
AudioService: SCO audio backward compatibility

After commit 25fc29b3, AudioManager.startBluetoothSco()
does not use virtual voice call mode anymore when starting the
SCO audio connection to the headset.
To help backward compatibility, this change makes that virtual voice call
is used if the request comes from an application targeting a SDK version
before JB MR2. For applications targeted to JB MR2 and above a raw SCO
audio connection is established.

Bug 8157702

Change-Id: If1ded2fd99b7ed76d2435d95ee03659e78a7882a

11 years agoAdd a config resource to force HDMI rotation on some devices.
Jeff Brown [Thu, 18 Apr 2013 00:18:15 +0000 (17:18 -0700)]
Add a config resource to force HDMI rotation on some devices.

If the hardware composer HAL does not provide full support for
multiple displays, it may be necessary to force the HDMI rotation
when not docked.  (When docked, we can use the dock's orientation.)

This configuration is not expected to be used on newer devices
with the requisite HAL support and may be removed in the future.

Bug: 8511721
Change-Id: I1ff50f00ee7fe621aceff94bd938ecf6385c3f38

11 years agoImprove error handling for DRM errors reported by plugins
Jeff Tinker [Wed, 17 Apr 2013 21:24:40 +0000 (14:24 -0700)]
Improve error handling for DRM errors reported by plugins

Change-Id: I25df78f16379b32c54189949daa3ab9c91187375
related-to-bug: 8621516

11 years agoAdd CellInfoWcdma and related classes.
Wink Saville [Wed, 17 Apr 2013 23:40:17 +0000 (16:40 -0700)]
Add CellInfoWcdma and related classes.

Update javadoc's to define invalid values are Integer.MAX_VALUE.

Bug: 8622081
Change-Id: I513a67d4b46b72f03e0c3360abcc0ad5222c1c13

11 years agoMerge "Add permission check for owner-info related LockSettings." into jb-mr2-dev
Jim Miller [Wed, 17 Apr 2013 22:47:06 +0000 (22:47 +0000)]
Merge "Add permission check for owner-info related LockSettings." into jb-mr2-dev

11 years agoAdd permission check for owner-info related LockSettings.
Jim Miller [Wed, 17 Apr 2013 22:23:55 +0000 (15:23 -0700)]
Add permission check for owner-info related LockSettings.

Fixes bug 8512972

Change-Id: I372ef892000e5de9075783f06b722e2911cfc90d

11 years agoMake MediaDrm APIs public
Jeff Tinker [Thu, 4 Apr 2013 01:11:33 +0000 (18:11 -0700)]
Make MediaDrm APIs public

bug: 8603279

Change-Id: I9fab2673867ad413a084933cee7239d13e8b7893

11 years agoMerge "Fixes for setClipBounds()" into jb-mr2-dev
Chet Haase [Wed, 17 Apr 2013 22:13:50 +0000 (22:13 +0000)]
Merge "Fixes for setClipBounds()" into jb-mr2-dev

11 years agoadd javadoc for SurfaceView {unL|l}ockCanvas{AndPost}()
Mathias Agopian [Wed, 17 Apr 2013 22:04:47 +0000 (15:04 -0700)]
add javadoc for SurfaceView {unL|l}ockCanvas{AndPost}()

Bug: 8593591
Change-Id: I152281ddca8716aee97147cb1b3fb483ed46b053

11 years agoMerge "Fix message handling in RemoteControlClient" into jb-mr2-dev
Jean-Michel Trivi [Wed, 17 Apr 2013 21:09:43 +0000 (21:09 +0000)]
Merge "Fix message handling in RemoteControlClient" into jb-mr2-dev

11 years agoMerge "DO NOT MERGE Stripping some new widget API that is yet unused" into jb-mr2-dev
Adam Cohen [Wed, 17 Apr 2013 21:03:43 +0000 (21:03 +0000)]
Merge "DO NOT MERGE Stripping some new widget API that is yet unused" into jb-mr2-dev

11 years agoDO NOT MERGE Stripping some new widget API that is yet unused
Adam Cohen [Wed, 17 Apr 2013 20:48:17 +0000 (13:48 -0700)]
DO NOT MERGE Stripping some new widget API that is yet unused

Change-Id: I7a7156f30aa9105461908f66426950d13eb01408

11 years agoMerge "Move owner info from Settings.Secure to LockSettings" into jb-mr2-dev
Jim Miller [Wed, 17 Apr 2013 20:39:58 +0000 (20:39 +0000)]
Merge "Move owner info from Settings.Secure to LockSettings" into jb-mr2-dev

11 years agoMerge "Modify restrictions bundle per api council recommendations" into jb-mr2-dev
Amith Yamasani [Wed, 17 Apr 2013 18:26:49 +0000 (18:26 +0000)]
Merge "Modify restrictions bundle per api council recommendations" into jb-mr2-dev

11 years agoMerge "Fix issue #8032572: Android app permission help text "null"..." into jb-mr2-dev
Dianne Hackborn [Wed, 17 Apr 2013 18:21:04 +0000 (18:21 +0000)]
Merge "Fix issue #8032572: Android app permission help text "null"..." into jb-mr2-dev

11 years agoFix issue #8032572: Android app permission help text "null"...
Dianne Hackborn [Wed, 17 Apr 2013 18:18:10 +0000 (11:18 -0700)]
Fix issue #8032572: Android app permission help text "null"...

...for "Microphone / Record audio"

Change-Id: Ie839b055771950e1078fa66506a007203338cfb5

11 years agoMerge "Lengthen the AM timeout reading crash reports slightly" into jb-mr2-dev
Christopher Tate [Wed, 17 Apr 2013 18:08:18 +0000 (18:08 +0000)]
Merge "Lengthen the AM timeout reading crash reports slightly" into jb-mr2-dev

11 years agoModify restrictions bundle per api council recommendations
Amith Yamasani [Wed, 17 Apr 2013 01:24:51 +0000 (18:24 -0700)]
Modify restrictions bundle per api council recommendations

Use a Bundle for persisting and passing to the application, but use a
list to return data back from an application that's exposing restrictions.

Changed the xml reading/writing code to store the value type in the Bundle
so that it can be reproduced when reading. Earlier we were assuming only
String and String[].

Bug: 8633967

Change-Id: I523d5553728edcf28a1e9d432f490b4956f34215

11 years agoLengthen the AM timeout reading crash reports slightly
Christopher Tate [Tue, 16 Apr 2013 23:08:12 +0000 (16:08 -0700)]
Lengthen the AM timeout reading crash reports slightly

We're missing some (small fraction of) native crash reports from
debuggerd.  It looks like under high system load the debuggerd
reporting code just isn't quite timely enough for the very short
timeouts initially deployed, so lengthen those a bit.

Bug 8552010

Change-Id: Icbc5b6517de3bb98fff1af2ea42ffd208ef20412

11 years agoMerge "use appropriate fallback chain for style" into jb-mr2-dev
Victoria Lease [Wed, 17 Apr 2013 16:23:37 +0000 (16:23 +0000)]
Merge "use appropriate fallback chain for style" into jb-mr2-dev

11 years agoMerge "Treat the default sound Uri the same as DEFAULT_SOUND." into jb-mr2-dev
Daniel Sandler [Wed, 17 Apr 2013 16:04:33 +0000 (16:04 +0000)]
Merge "Treat the default sound Uri the same as DEFAULT_SOUND." into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 17 Apr 2013 15:55:05 +0000 (08:55 -0700)]
Import translations. DO NOT MERGE

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

11 years agoTreat the default sound Uri the same as DEFAULT_SOUND.
Daniel Sandler [Wed, 17 Apr 2013 04:17:22 +0000 (00:17 -0400)]
Treat the default sound Uri the same as DEFAULT_SOUND.

For the purposes of deciding whether or not to invoke the
"fallback vibrate", that is. (RingtonePicker will return
content://settings/system/notification_sound when "Default"
is chosen, so if the app pops this Uri directly into
Notification.sound, we should treat it like DEFAULT_SOUND
and look to see whether the system notification sound is
not None before running the fallback vibration.)

Bug: 8627641
Change-Id: Ia469b8e4d5d7647ce1a8a179f591ed7a3443b5c5

11 years agoFix build - remove obsolete import of Animatable
Chet Haase [Wed, 17 Apr 2013 13:43:18 +0000 (06:43 -0700)]
Fix build - remove obsolete import of Animatable

Change-Id: I3133669386f50177c863f8a58733be771f819a17

11 years agoMerge "Remove Animatable interface" into jb-mr2-dev
Chet Haase [Wed, 17 Apr 2013 13:36:00 +0000 (13:36 +0000)]
Merge "Remove Animatable interface" into jb-mr2-dev

11 years agoFix possible NPE
Satoshi Kataoka [Wed, 17 Apr 2013 09:59:33 +0000 (18:59 +0900)]
Fix possible NPE

Bug: 8517083
Change-Id: Iea6bdcb0e39ee951b7f90f41cd3350bd1c7c5f71

11 years agoMerge "Part of fix for bug 8629392" into jb-mr2-dev
Kristian Monsen [Wed, 17 Apr 2013 02:22:25 +0000 (02:22 +0000)]
Merge "Part of fix for bug 8629392" into jb-mr2-dev

11 years agoMove owner info from Settings.Secure to LockSettings
Jim Miller [Tue, 16 Apr 2013 01:27:54 +0000 (18:27 -0700)]
Move owner info from Settings.Secure to LockSettings

Fixes bug 8512972

Change-Id: Ic046aff0332b78489dda08b1e9e71f4c16154f10

11 years agoPart of fix for bug 8629392
Kristian Monsen [Wed, 17 Apr 2013 01:14:47 +0000 (18:14 -0700)]
Part of fix for bug 8629392

Adding extra logging to fix cts bugs that are only on bots

Change-Id: I24b4b7aad200ffc23c002f4a8f0fe9246991c4f0

11 years agoMerge "Make layer double drawing visible in overdraw debug mode" into jb-mr2-dev
Chris Craik [Wed, 17 Apr 2013 00:58:43 +0000 (00:58 +0000)]
Merge "Make layer double drawing visible in overdraw debug mode" into jb-mr2-dev

11 years agoFixes for setClipBounds()
Chet Haase [Wed, 17 Apr 2013 00:21:41 +0000 (17:21 -0700)]
Fixes for setClipBounds()

The invalidate region when the clip bounds are set needs to encompass both
the old clip bounds and the new bounds, to make sure that the right area
of the view gets erased as well as drawn.

Also, we need to keep our own internal copy of the bounds, not just use the
instance passed into the setter.

Issue #8634060 setClipBounds() problems

Change-Id: I123c49cff16e3debe8866974a5612a4efd010de4

11 years agoMerge "Fix for bug 8272673: GridLayout in battery details is cut off." into jb-mr2-dev
Philip Milne [Wed, 17 Apr 2013 00:56:55 +0000 (00:56 +0000)]
Merge "Fix for bug 8272673: GridLayout in battery details is cut off." into jb-mr2-dev

11 years agoRemove Animatable interface
Chet Haase [Wed, 17 Apr 2013 00:54:14 +0000 (17:54 -0700)]
Remove Animatable interface

Push the interface methods from the new Animatable interface back
down into Animator, from whence they came.

Issue #8634310 Remove Animatable interface

Change-Id: I79e26001709d791d54fcb02561640fe2e008b1fd

11 years agoMerge "Monitor the firewall rules file for changes" into jb-mr2-dev
Ben Gruver [Wed, 17 Apr 2013 00:44:56 +0000 (00:44 +0000)]
Merge "Monitor the firewall rules file for changes" into jb-mr2-dev

11 years agoMerge "Disable tracing from Zygote" into jb-mr2-dev
Jamie Gennis [Tue, 16 Apr 2013 23:55:33 +0000 (23:55 +0000)]
Merge "Disable tracing from Zygote" into jb-mr2-dev

11 years agoFix for bug 8272673: GridLayout in battery details is cut off.
Philip Milne [Fri, 12 Apr 2013 21:38:34 +0000 (14:38 -0700)]
Fix for bug 8272673: GridLayout in battery details is cut off.

Change-Id: Iabcc2d2c486162cf88990eb1a25aca2e7558a57c

11 years agoMerge "Fix bug #8629386 FastScroller is on the wrong side when switching to Hebrew...
Fabrice Di Meglio [Tue, 16 Apr 2013 23:15:17 +0000 (23:15 +0000)]
Merge "Fix bug #8629386 FastScroller is on the wrong side when switching to Hebrew in a RTL enabled app" into jb-mr2-dev

11 years agoFix message handling in RemoteControlClient
Jean-Michel Trivi [Tue, 16 Apr 2013 22:31:17 +0000 (15:31 -0700)]
Fix message handling in RemoteControlClient

Internal message must go through the message queue, not be
  dispatched immediately.
Missing 'break' when handling MSG_SEEK_TO message.
  This was spamming the log with fake error messages.

Bug 8120740

Change-Id: Ib53ec05ef33133637e587eb1b24dac9ea32a5680

11 years agoFix bug #8629386 FastScroller is on the wrong side when switching to Hebrew in a...
Fabrice Di Meglio [Tue, 16 Apr 2013 22:40:18 +0000 (15:40 -0700)]
Fix bug #8629386 FastScroller is on the wrong side when switching to Hebrew in a RTL enabled app

- in AbsListView, force setScrollbarPosition() when RTL properties change
- in FastScroller, invalidate the correct rectangle when in RTL mode and in STATE_EXIT

Change-Id: Ie9fe4f826e179eb993e443d10e171b9dda3b6f3f

11 years agoMerge "Unhide android.opengl.GLES30 class and contents" into jb-mr2-dev
Jesse Hall [Tue, 16 Apr 2013 22:17:19 +0000 (22:17 +0000)]
Merge "Unhide android.opengl.GLES30 class and contents" into jb-mr2-dev

11 years agoDisable tracing from Zygote
Jamie Gennis [Tue, 16 Apr 2013 01:53:24 +0000 (18:53 -0700)]
Disable tracing from Zygote

This change disables all atrace tracing in Zygote immediately after it is
initialized.  This is necessary because Zygote has no way to receive
notifications that the enabled trace tags have been changed.  Tracing is
re-enabled when other processes fork from Zygote.

Change-Id: If2983858fb0c4890ba9ab041849b1c4d98f66c13

11 years agoMake layer double drawing visible in overdraw debug mode
Chris Craik [Mon, 15 Apr 2013 23:08:28 +0000 (16:08 -0700)]
Make layer double drawing visible in overdraw debug mode

A clipped saveLayer will cause two draws - first to an onscreen
buffer, then again back to the framebuffer. This change - when in
overdraw debug - reissues draws associated with a clipped saveLayer,
but only to the stencil buffer. Operations within a saveLayer are
shown correctly to be twice drawn, and View.setAlpha() without an
associated hardware layer, or hasOverlappingRendering() are made more
visible.

Hardware layers, on any frame that they are updated, similarly draw
twice, and will also be counted against the stencil buffer doubly.

Note: greater depths of layers - e.g. a saveLayer within a saveLayer -
are not respected, as that would require additional region tracking.

Change-Id: I61fb0e61038fe66013d59914c20bb47a550dea7d

11 years agoMerge "Fix enabling networks after driver stop" into jb-mr2-dev
Irfan Sheriff [Tue, 16 Apr 2013 22:00:10 +0000 (22:00 +0000)]
Merge "Fix enabling networks after driver stop" into jb-mr2-dev

11 years agoMerge "Send tab selection event from ScrollingTabContainerView." into jb-mr2-dev
Svetoslav Ganov [Tue, 16 Apr 2013 21:41:09 +0000 (21:41 +0000)]
Merge "Send tab selection event from ScrollingTabContainerView." into jb-mr2-dev

11 years agoMerge "Add android.opengl.GLES30, hidden for now" into jb-mr2-dev
Jesse Hall [Tue, 16 Apr 2013 21:32:36 +0000 (21:32 +0000)]
Merge "Add android.opengl.GLES30, hidden for now" into jb-mr2-dev

11 years agoFix restoration of virtual accessibility focus in ListView.
Alan Viverette [Tue, 16 Apr 2013 21:32:17 +0000 (14:32 -0700)]
Fix restoration of virtual accessibility focus in ListView.

BUG: 8630013
Change-Id: Ifb7281cc4e8537b8c26040abd2abb25663ac3d21

11 years agoFix enabling networks after driver stop
Irfan Sheriff [Tue, 16 Apr 2013 20:52:32 +0000 (13:52 -0700)]
Fix enabling networks after driver stop

Bug: 8630194
Change-Id: If897fc1fe54bf2f35362b8482e56d98f80a3130c

11 years agoMerge "Add mHasQuit to fix an NPE in StateMachine." into jb-mr2-dev
Wink Saville [Tue, 16 Apr 2013 20:32:59 +0000 (20:32 +0000)]
Merge "Add mHasQuit to fix an NPE in StateMachine." into jb-mr2-dev

11 years agoAdd mHasQuit to fix an NPE in StateMachine.
Wink Saville [Tue, 16 Apr 2013 20:21:00 +0000 (13:21 -0700)]
Add mHasQuit to fix an NPE in StateMachine.

After quiting mStateStack and other variables become
null so ignore all messages.

Bug: 8627228
Change-Id: I60150fb8023340768b38c2e72a8cbc982a59e0a8

11 years agoMerge "Fix wrong index value." into jb-mr2-dev
Jaikumar Ganesh [Tue, 16 Apr 2013 18:59:31 +0000 (18:59 +0000)]
Merge "Fix wrong index value." into jb-mr2-dev