OSDN Git Service

android-x86/frameworks-base.git
11 years agoRebuilds ActionBar accessibility description as needed
Casey Burkhardt [Tue, 30 Apr 2013 22:56:41 +0000 (15:56 -0700)]
Rebuilds ActionBar accessibility description as needed

Previously, ActionBarView only updated the contentDescription for the navigate
up/home affordance when it is enabled or disabled.  This causes that description
to be rebuilt and applied whenever the title or subtitle of the view is changed.
This also inadvertantly removes whitespace in ActionBarView.

Bug: 8757286
Change-Id: I1ea02cad20e0d5c0c57d071727cc647c4dd52d44

11 years agoMerge "Fixed race conditions in GeofenceHardwareImpl." into jb-mr2-dev
Zhentao Sun [Mon, 29 Apr 2013 18:50:18 +0000 (18:50 +0000)]
Merge "Fixed race conditions in GeofenceHardwareImpl." into jb-mr2-dev

11 years agolibdrm: fix bad strncpy / snprintf calls
Nick Kralevich [Mon, 29 Apr 2013 17:49:47 +0000 (10:49 -0700)]
libdrm: fix bad strncpy / snprintf calls

Fix the following bugs reported by IOActive:
* GOOGLE-AN01 - Android libdrm drm_parseDM.c Boundary-CRLF Buffer Overflow
* GOOGLE-AN02 - Android libdrm 'drm_parseDM.c' contentType-CRLF Buffer Overflow
* GOOGLE-AN03 - Android libdrm drm_parseDM.c contentID-CRLF Buffer Overflow
* GOOGLE-AN04 - Android libdrm 'parser_dcf.c' Multiple Headers Buffer Overflow
* GOOGLE-AN05 - Android libdrm 'parser_dcf.c' ContentType Buffer Overflow

Bug: 8727221
Change-Id: If386922e907567f54e26897beffaa1cfe4777896

11 years agoMerge "Add DPad keys to Playpad" into jb-mr2-dev
Michael Wright [Fri, 26 Apr 2013 23:57:39 +0000 (23:57 +0000)]
Merge "Add DPad keys to Playpad" into jb-mr2-dev

11 years agoFix build.
Ying Wang [Fri, 26 Apr 2013 22:54:44 +0000 (15:54 -0700)]
Fix build.

Change-Id: I1fedbbb521305e02502ddb23a96b5ee96fa43b7b

11 years agoMerge "The helper query bridge in AccessibilityServiceManager missing capability...
Svetoslav [Fri, 26 Apr 2013 22:20:57 +0000 (22:20 +0000)]
Merge "The helper query bridge in AccessibilityServiceManager missing capability." into jb-mr2-dev

11 years agoMerge "Update preloaded classes" into jb-mr2-dev
Kenny Root [Fri, 26 Apr 2013 22:20:35 +0000 (22:20 +0000)]
Merge "Update preloaded classes" into jb-mr2-dev

11 years agoThe helper query bridge in AccessibilityServiceManager missing capability.
Svetoslav [Fri, 26 Apr 2013 22:08:16 +0000 (15:08 -0700)]
The helper query bridge in AccessibilityServiceManager missing capability.

1. The helper query bridge service did not have the now capability
   to query the screen content.

2. Fixing the build.

bug:8633951

Change-Id: Ief6a3387793710a83b83c18cc6c53b51dcda9bdf

11 years agoAdd DPad keys to Playpad
Michael Wright [Fri, 26 Apr 2013 22:06:38 +0000 (15:06 -0700)]
Add DPad keys to Playpad

Change-Id: If274aa7e9d5e4988cf613ea9a16584c413ded8dd

11 years agoFixed race conditions in GeofenceHardwareImpl.
Zhentao Sun [Fri, 26 Apr 2013 21:41:53 +0000 (14:41 -0700)]
Fixed race conditions in GeofenceHardwareImpl.

Fixed b/8725226
1. Check if a geofence is registered before calling removeGeofence,
pauseGeofence and resumeGeofence
2. Moved add/remove operation of mGeofences from handler thread to
binder thread to fix potential race conditions by REMOVE_GEOFENCE.

Change-Id: I1c68a49ac4a08324c13702ba9013d2adf031aed9

11 years agoMerge "Deliver key events to the system if no accessibility service handles them...
Svetoslav [Fri, 26 Apr 2013 21:37:05 +0000 (21:37 +0000)]
Merge "Deliver key events to the system if no accessibility service handles them." into jb-mr2-dev

11 years agoDeliver key events to the system if no accessibility service handles them.
Svetoslav [Fri, 26 Apr 2013 20:11:11 +0000 (13:11 -0700)]
Deliver key events to the system if no accessibility service handles them.

We have APIs that allow an accessibility service to filter key events. The
service has to declare the capability to toggle event filtering in its
manifest and then it can set a flag to toggle the feature at runtime. The
problem was that even if no accessibility service was handling key events
these events were not fed back to the input system.

This change adds a new feature flag in the accessibility input filter that
is set only if at least one service can and wants to filter key events. If
the feature flag is set then the filter will deliver events to services and
,if they are not handled, to the system. This change also cleaned the logic
for updating the input filter.

bug:8713422

Change-Id: I4bc0c1348676569d1b76e9024708d1ed43ceb26a

11 years agoUpdate preloaded classes
Kenny Root [Fri, 26 Apr 2013 19:53:57 +0000 (12:53 -0700)]
Update preloaded classes

Bug: 5213043
Change-Id: I272500ce7f6ea6bfbc624c9705f8c8b8ef1aa0ad

11 years agoMerge "Set persistent property for SELinux enforcement on update." into jb-mr2-dev
repo sync [Fri, 26 Apr 2013 20:31:36 +0000 (20:31 +0000)]
Merge "Set persistent property for SELinux enforcement on update." into jb-mr2-dev

11 years agoMerge "Generate SDK docs for v7 support library packages." into jb-mr2-dev
Jeff Brown [Fri, 26 Apr 2013 18:31:12 +0000 (18:31 +0000)]
Merge "Generate SDK docs for v7 support library packages." into jb-mr2-dev

11 years agoMerge "Enhance TelephonyManger javadocs." into jb-mr2-dev
Wink Saville [Fri, 26 Apr 2013 18:20:41 +0000 (18:20 +0000)]
Merge "Enhance TelephonyManger javadocs." into jb-mr2-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Fri, 26 Apr 2013 17:32:25 +0000 (17:32 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "Fix network reload when config is restored" into jb-mr2-dev
Irfan Sheriff [Fri, 26 Apr 2013 16:52:51 +0000 (16:52 +0000)]
Merge "Fix network reload when config is restored" into jb-mr2-dev

11 years agoMerge "Revert change f449c0c381239dc0f78b0f01ecfb3889e056a597." into jb-mr2-dev
Svetoslav Ganov [Fri, 26 Apr 2013 16:35:49 +0000 (16:35 +0000)]
Merge "Revert change f449c0c381239dc0f78b0f01ecfb3889e056a597." into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 26 Apr 2013 15:53:21 +0000 (08:53 -0700)]
Import translations. DO NOT MERGE

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

11 years agoGenerate SDK docs for v7 support library packages.
Jeff Brown [Fri, 26 Apr 2013 04:24:44 +0000 (21:24 -0700)]
Generate SDK docs for v7 support library packages.

This change required fixing some bugs in how AAPT handles
qualified symbols such as "android:layout_height"
when generating JavaDoc links.  The links were being
generated using the package name of the generated R file
rather than the package name of the referenced symbol.
These broken links caused the JavaDoc build to fail.

Bug: 8175766
Change-Id: I52fbef27825a25abca960cb44b59c2132267e9d6

11 years agoFix network reload when config is restored
Irfan Sheriff [Fri, 26 Apr 2013 06:22:41 +0000 (23:22 -0700)]
Fix network reload when config is restored

With scan mode opted in, supplicant connection is not shut
down even when wifi is turned off. This is a problem since
networks need to be reloaded when wifi is turned off and turned on
and this currently happens only on a supplicant connection.

Fix to handle this for scan mode state.

Bug: 8714796
Change-Id: I7d66c39fb51018fb52e783341222cea993993893

11 years agoMerge "add docs for new attributes, including account restriction for restricted...
Scott Main [Fri, 26 Apr 2013 03:26:11 +0000 (03:26 +0000)]
Merge "add docs for new attributes, including account restriction for restricted profiles" into jb-mr2-dev

11 years agoMerge "Force clipping on layers that fail to be allocated" into jb-mr2-dev
Chris Craik [Fri, 26 Apr 2013 02:15:45 +0000 (02:15 +0000)]
Merge "Force clipping on layers that fail to be allocated" into jb-mr2-dev

11 years agoadd docs for new attributes, including account restriction for restricted profiles
Scott Main [Tue, 23 Apr 2013 20:30:06 +0000 (13:30 -0700)]
add docs for new attributes, including account restriction for restricted profiles

Change-Id: I737ea55bfa58562b1b384e52626e95b479759376

11 years agoMerge "fix javadoc build also add some docs to the service" into jb-mr2-dev
Scott Main [Fri, 26 Apr 2013 01:57:00 +0000 (01:57 +0000)]
Merge "fix javadoc build also add some docs to the service" into jb-mr2-dev

11 years agoMerge "Hide isLinkedUser()" into jb-mr2-dev
Amith Yamasani [Fri, 26 Apr 2013 01:42:20 +0000 (01:42 +0000)]
Merge "Hide isLinkedUser()" into jb-mr2-dev

11 years agoMerge "Added flush() for bluetooth output stream" into jb-mr2-dev
Matthew Xie [Fri, 26 Apr 2013 01:18:33 +0000 (01:18 +0000)]
Merge "Added flush() for bluetooth output stream" into jb-mr2-dev

11 years agoRevert change f449c0c381239dc0f78b0f01ecfb3889e056a597.
Alan Viverette [Fri, 26 Apr 2013 00:32:45 +0000 (17:32 -0700)]
Revert change f449c0c381239dc0f78b0f01ecfb3889e056a597.

Previously, onHoverEvent() would return true if a view was hoverable
and consume the event. After the change, it would return the result of
dispatchGenericMotionEventInternal(). As a result, touch exploration
caused multiple hover events to be sent from every view under a given
touch point. This change reverts to the original behavior and fixes
touch exploration.

BUG: 8723842
Change-Id: I0c7362f19c51bf21ed842711a03b7f02613958d2

11 years agoMerge "Workaround for bug 8700358: Reproducible WebView crash in Feedly starting...
Kristian Monsen [Fri, 26 Apr 2013 00:06:16 +0000 (00:06 +0000)]
Merge "Workaround for bug 8700358: Reproducible WebView crash in Feedly starting in JWR22B" into jb-mr2-dev

11 years agofix javadoc build
Scott Main [Thu, 25 Apr 2013 23:57:16 +0000 (16:57 -0700)]
fix javadoc build
also add some docs to the service

Change-Id: I712710de403bc000c0a69a2de726bace6e7873bd

11 years agoForce clipping on layers that fail to be allocated
Chris Craik [Thu, 25 Apr 2013 22:32:40 +0000 (15:32 -0700)]
Force clipping on layers that fail to be allocated

bug:8666842

In SW rendering, a previous optimization avoided clipping to the
bounds of views that are layers. This breaks if the view fails to
create a layer (such as if it's too big), so instead look at whether
the view has a layer.

Change-Id: I653882035512012aefd91f06ff0bdc73aa5e4430

11 years agoMerge "Don't set ADDR_COMPAT_LAYOUT on the emulator" into jb-mr2-dev
Nick Kralevich [Thu, 25 Apr 2013 22:08:20 +0000 (22:08 +0000)]
Merge "Don't set ADDR_COMPAT_LAYOUT on the emulator" into jb-mr2-dev

11 years agoEnhance TelephonyManger javadocs.
Wink Saville [Thu, 25 Apr 2013 22:02:34 +0000 (15:02 -0700)]
Enhance TelephonyManger javadocs.

Bug: 856818
Change-Id: Idd30361f57b0f6627132a25e5b9520f30fce548c

11 years agoMerge "Lockscreen widgets not always announced." into jb-mr2-dev
Svetoslav [Thu, 25 Apr 2013 21:49:00 +0000 (21:49 +0000)]
Merge "Lockscreen widgets not always announced." into jb-mr2-dev

11 years agoMerge "Avoid leaking Surface native object." into jb-mr2-dev
Jeff Sharkey [Thu, 25 Apr 2013 21:43:27 +0000 (21:43 +0000)]
Merge "Avoid leaking Surface native object." into jb-mr2-dev

11 years agoMerge "Fixed javadoc in input related classes" into jb-mr2-dev
Michael Wright [Thu, 25 Apr 2013 21:43:03 +0000 (21:43 +0000)]
Merge "Fixed javadoc in input related classes" into jb-mr2-dev

11 years agoSet persistent property for SELinux enforcement on update.
repo sync [Wed, 24 Apr 2013 18:26:01 +0000 (11:26 -0700)]
Set persistent property for SELinux enforcement on update.

Bug: 8702843
Change-Id: I41c0084a71160061b297d57d995261e238ea555c

11 years agoMerge "Add new android.permission.CAMERA_DISABLE_TRANSMIT_LED" into jb-mr2-dev
Igor Murashkin [Thu, 25 Apr 2013 21:32:25 +0000 (21:32 +0000)]
Merge "Add new android.permission.CAMERA_DISABLE_TRANSMIT_LED" into jb-mr2-dev

11 years agoMerge "Fix build." into jb-mr2-dev
Daniel Sandler [Thu, 25 Apr 2013 21:16:56 +0000 (21:16 +0000)]
Merge "Fix build." into jb-mr2-dev

11 years agoFix build.
Daniel Sandler [Thu, 25 Apr 2013 21:13:53 +0000 (17:13 -0400)]
Fix build.

Change-Id: I2e41f312f51c3fd72ed63bc544b4fa815c2c3ba4

11 years agoDon't set ADDR_COMPAT_LAYOUT on the emulator
Nick Kralevich [Tue, 23 Apr 2013 22:30:45 +0000 (15:30 -0700)]
Don't set ADDR_COMPAT_LAYOUT on the emulator

Don't work around third party app bugs on the emulator.

(cherry picked from commit fc17dc2548234461eb43ff83539ede4c9893a825)

Change-Id: I35246c447de65ad4649b9aa3eb67194234fd6378

11 years agoMerge "API: getPkg() -> getPackageName()" into jb-mr2-dev
Daniel Sandler [Thu, 25 Apr 2013 21:03:54 +0000 (21:03 +0000)]
Merge "API: getPkg() -> getPackageName()" into jb-mr2-dev

11 years agoHide isLinkedUser()
Amith Yamasani [Thu, 25 Apr 2013 20:39:27 +0000 (13:39 -0700)]
Hide isLinkedUser()

It's not the best API to use to determine anything. Defer to other
APIs such as UserManager.getUserRestrictions()

Bug: 8720520
Change-Id: Ie49589056ab52b4fdbcc736f8cdefadb8ba5d9d8

11 years agoAPI: getPkg() -> getPackageName()
Daniel Sandler [Thu, 25 Apr 2013 20:38:41 +0000 (16:38 -0400)]
API: getPkg() -> getPackageName()

Bug: 8656860
Change-Id: If3062b9fc00270e5f0ecfe67e593b9a28c6bccdd

11 years agoLockscreen widgets not always announced.
Svetoslav [Thu, 25 Apr 2013 20:25:06 +0000 (13:25 -0700)]
Lockscreen widgets not always announced.

1. The accessibility events for switching a widget were dispatched
   before we update the important for accessibility property. We
   were lucky to get events in some cases since the pages in the
   pager had alpha grater than zero, i.e. the page was already
   set as important for accessibility, due to a running animation.

2. Accessibility focus clear event not fired if we give focus to
   another view. The old focus was correctly cleared just the
   events were not dispatched.

bug:8599670

Change-Id: Ia2647d77eaa4e10fbaf3a047dc9ea5b728f9c3c3

11 years agoMerge "API cleanup: NotificationListener" into jb-mr2-dev
Daniel Sandler [Thu, 25 Apr 2013 20:16:48 +0000 (20:16 +0000)]
Merge "API cleanup: NotificationListener" into jb-mr2-dev

11 years agoAvoid leaking Surface native object.
Jeff Sharkey [Thu, 25 Apr 2013 18:34:23 +0000 (11:34 -0700)]
Avoid leaking Surface native object.

Bug: 8721827
Change-Id: I8d6192b8eb47911fcf4964de399c7dba94ed9286

11 years agoAPI cleanup: NotificationListener
Daniel Sandler [Thu, 25 Apr 2013 19:44:16 +0000 (15:44 -0400)]
API cleanup: NotificationListener

  - Wrap all public member variables in getters and make
    slots private
  - Rename clear* methods to cancel* to be more consistent
    with existing public Notification API

Bug: 8656860
Change-Id: I84f7e71fbb627f859352a93089c6a531b44dac95

11 years agoMerge "New NotificationListener API: getActiveNotifications()" into jb-mr2-dev
Daniel Sandler [Thu, 25 Apr 2013 19:41:10 +0000 (19:41 +0000)]
Merge "New NotificationListener API: getActiveNotifications()" into jb-mr2-dev

11 years agoMerge "Hide TYPE_CHOICE_LEVEL since there's no visual representation for it yet....
Amith Yamasani [Thu, 25 Apr 2013 18:06:02 +0000 (18:06 +0000)]
Merge "Hide TYPE_CHOICE_LEVEL since there's no visual representation for it yet." into jb-mr2-dev

11 years agoMerge "Ensure the intent firewall dir exists before starting the FileObserver" into...
Ben Gruver [Thu, 25 Apr 2013 17:40:41 +0000 (17:40 +0000)]
Merge "Ensure the intent firewall dir exists before starting the FileObserver" into jb-mr2-dev

11 years agoHide TYPE_CHOICE_LEVEL since there's no visual representation for it yet.
Amith Yamasani [Thu, 25 Apr 2013 04:37:36 +0000 (21:37 -0700)]
Hide TYPE_CHOICE_LEVEL since there's no visual representation for it yet.

Bug: 8704663
Change-Id: Ia9931e3844305c8f84c127506ffedf3a17eeb80d

11 years agoFixed javadoc in input related classes
Michael Wright [Thu, 25 Apr 2013 03:41:20 +0000 (20:41 -0700)]
Fixed javadoc in input related classes

Change-Id: Ie415f812a0f473488d74119dab18296a488db6b9

11 years agoMerge "Mirror LTRIGGER / RTRIGGER as BRAKE / GAS for compatibility" into jb-mr2-dev
Michael Wright [Thu, 25 Apr 2013 03:22:51 +0000 (03:22 +0000)]
Merge "Mirror LTRIGGER / RTRIGGER as BRAKE / GAS for compatibility" into jb-mr2-dev

11 years agoNew NotificationListener API: getActiveNotifications()
Daniel Sandler [Wed, 24 Apr 2013 19:34:57 +0000 (15:34 -0400)]
New NotificationListener API: getActiveNotifications()

This allows a listener service to catch up on the current
state of the notification panel at any time, including at
startup.

Bug: 8656860
Change-Id: I1a3d665d84576e17870929a63dda334afc696010

11 years agoMirror LTRIGGER / RTRIGGER as BRAKE / GAS for compatibility
Michael Wright [Thu, 25 Apr 2013 03:05:10 +0000 (20:05 -0700)]
Mirror LTRIGGER / RTRIGGER as BRAKE / GAS for compatibility

Bug: 8590913
Change-Id: If2918a67ecdd946ed850acc002ca021e150ec39d

11 years agoam 022131d0: am c9f01f0a: am 4a22f9a7: am 2a31f996: am bdf19c62: am 29743661: Doc...
Dirk Dougherty [Thu, 25 Apr 2013 02:50:46 +0000 (19:50 -0700)]
am 022131d0: am c9f01f0a: am 4a22f9a7: am 2a31f996: am bdf19c62: am 29743661: Doc change: fix typo in tablet guidelines.

* commit '022131d06cc745fddd6877cfffd6d6eb73465e72':
  Doc change: fix typo in tablet guidelines.

11 years agoam c9f01f0a: am 4a22f9a7: am 2a31f996: am bdf19c62: am 29743661: Doc change: fix...
Dirk Dougherty [Thu, 25 Apr 2013 02:48:49 +0000 (19:48 -0700)]
am c9f01f0a: am 4a22f9a7: am 2a31f996: am bdf19c62: am 29743661: Doc change: fix typo in tablet guidelines.

* commit 'c9f01f0a80809d6911fce0dbb7692b787f36eb67':
  Doc change: fix typo in tablet guidelines.

11 years agoam 4a22f9a7: am 2a31f996: am bdf19c62: am 29743661: Doc change: fix typo in tablet...
Dirk Dougherty [Thu, 25 Apr 2013 02:46:16 +0000 (19:46 -0700)]
am 4a22f9a7: am 2a31f996: am bdf19c62: am 29743661: Doc change: fix typo in tablet guidelines.

* commit '4a22f9a7bb782d7b9aeb432b6fefda20057b8e11':
  Doc change: fix typo in tablet guidelines.

11 years agoam 2a31f996: am bdf19c62: am 29743661: Doc change: fix typo in tablet guidelines.
Dirk Dougherty [Thu, 25 Apr 2013 02:44:20 +0000 (19:44 -0700)]
am 2a31f996: am bdf19c62: am 29743661: Doc change: fix typo in tablet guidelines.

* commit '2a31f99680ec8bbf9acde86da5e7a595a9e4c089':
  Doc change: fix typo in tablet guidelines.

11 years agoam bdf19c62: am 29743661: Doc change: fix typo in tablet guidelines.
Dirk Dougherty [Thu, 25 Apr 2013 02:42:49 +0000 (19:42 -0700)]
am bdf19c62: am 29743661: Doc change: fix typo in tablet guidelines.

* commit 'bdf19c62d841163f5c3434f3533e003f58816e0e':
  Doc change: fix typo in tablet guidelines.

11 years agoam 29743661: Doc change: fix typo in tablet guidelines.
Dirk Dougherty [Thu, 25 Apr 2013 02:40:02 +0000 (19:40 -0700)]
am 29743661: Doc change: fix typo in tablet guidelines.

* commit '29743661734d8e2b7b3c33e635557c3f2ef9d8a0':
  Doc change: fix typo in tablet guidelines.

11 years agoDoc change: fix typo in tablet guidelines.
Dirk Dougherty [Thu, 25 Apr 2013 02:33:46 +0000 (19:33 -0700)]
Doc change: fix typo in tablet guidelines.

Change-Id: I8e947fd20783ed12d46807733c4a87ba61211e41

11 years agoMerge "The touch exploration capability is dynamically granted pre-JellyBeanMR2....
Svetoslav [Thu, 25 Apr 2013 01:44:42 +0000 (01:44 +0000)]
Merge "The touch exploration capability is dynamically granted pre-JellyBeanMR2." into jb-mr2-dev

11 years agoMerge "Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN" into...
Matthew Xie [Thu, 25 Apr 2013 01:42:14 +0000 (01:42 +0000)]
Merge "Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN" into jb-mr2-dev

11 years agoChange permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN
Matthew Xie [Thu, 25 Apr 2013 00:51:37 +0000 (17:51 -0700)]
Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN

bug 8667898

Change-Id: Iaff19fe72b16a96a6cf2f5b9140e369098567d2b

11 years agoWorkaround for bug 8700358: Reproducible WebView crash in Feedly starting in JWR22B
Kristian Monsen [Wed, 24 Apr 2013 22:58:22 +0000 (15:58 -0700)]
Workaround for bug 8700358: Reproducible WebView crash in Feedly starting in JWR22B

Catching all excptions from reading from the AssetManager

Change-Id: I53f99484deda3778307eab2ae86ca9fc0ad2fead

11 years agoam 036cb2e4: (-s ours) am 3e06ca57: am 7b5d34f0: am 2a4ea0fc: am fd61958f: Doc Update...
kmccormick [Wed, 24 Apr 2013 23:19:14 +0000 (16:19 -0700)]
am 036cb2e4: (-s ours) am 3e06ca57: am 7b5d34f0: am 2a4ea0fc: am fd61958f: Doc Update: bug fix in SensorEvent ref

* commit '036cb2e4bf4bca4d32aa021fb5bb748684317043':
  Doc Update: bug fix in SensorEvent ref

11 years agoam 3e06ca57: am 7b5d34f0: am 2a4ea0fc: am fd61958f: Doc Update: bug fix in SensorEven...
kmccormick [Wed, 24 Apr 2013 23:02:26 +0000 (16:02 -0700)]
am 3e06ca57: am 7b5d34f0: am 2a4ea0fc: am fd61958f: Doc Update: bug fix in SensorEvent ref

* commit '3e06ca574270b146b833a4f00eae82578e9cc115':
  Doc Update: bug fix in SensorEvent ref

11 years agoam 7b5d34f0: am 2a4ea0fc: am fd61958f: Doc Update: bug fix in SensorEvent ref
kmccormick [Wed, 24 Apr 2013 23:00:21 +0000 (16:00 -0700)]
am 7b5d34f0: am 2a4ea0fc: am fd61958f: Doc Update: bug fix in SensorEvent ref

* commit '7b5d34f0a7b2d3e059a9f410a60367ef379fc502':
  Doc Update: bug fix in SensorEvent ref

11 years agoam 2a4ea0fc: am fd61958f: Doc Update: bug fix in SensorEvent ref
kmccormick [Wed, 24 Apr 2013 22:59:05 +0000 (15:59 -0700)]
am 2a4ea0fc: am fd61958f: Doc Update: bug fix in SensorEvent ref

* commit '2a4ea0fc0d93bb94b1ff7e731af519cc41ef77e8':
  Doc Update: bug fix in SensorEvent ref

11 years agoam fd61958f: Doc Update: bug fix in SensorEvent ref
kmccormick [Wed, 24 Apr 2013 22:57:25 +0000 (15:57 -0700)]
am fd61958f: Doc Update: bug fix in SensorEvent ref

* commit 'fd61958f75212a70bffebd79ad0876b7ad785f55':
  Doc Update: bug fix in SensorEvent ref

11 years agoDoc Update: bug fix in SensorEvent ref
kmccormick [Wed, 24 Apr 2013 22:42:57 +0000 (15:42 -0700)]
Doc Update: bug fix in SensorEvent ref

"Bug: 6349093"

Change-Id: Ibd4911b6c3f17fd2cd18042665efa428231c61ab

11 years agoAdd new android.permission.CAMERA_DISABLE_TRANSMIT_LED
Igor Murashkin [Tue, 23 Apr 2013 21:32:19 +0000 (14:32 -0700)]
Add new android.permission.CAMERA_DISABLE_TRANSMIT_LED

This system-only permission allows a service to disable the transmit LED
when a camera is in use.

Bug: 8554573
Change-Id: I64f7e3fcdc8ded8be3904650bd0c91d3b8f10dd4

11 years agoThe touch exploration capability is dynamically granted pre-JellyBeanMR2.
Svetoslav [Wed, 24 Apr 2013 21:51:29 +0000 (14:51 -0700)]
The touch exploration capability is dynamically granted pre-JellyBeanMR2.

Since the enable touch exploration capability is dynamically granted by
the user for apps targeting pre-JellybeanMR2 API level, we have to properly
update the accessibility service info for that service and also avoid
caching copies of the service info.

bug:8633951

Change-Id: I83dd1c852706ec55d40cda7209ad842889fb970a

11 years agoMerge "Document behavior and usage of ViewGroup.bringChildToFront()" into jb-mr2-dev
Chet Haase [Wed, 24 Apr 2013 21:54:37 +0000 (21:54 +0000)]
Merge "Document behavior and usage of ViewGroup.bringChildToFront()" into jb-mr2-dev

11 years agoMerge "Rename limited user to restricted profile" into jb-mr2-dev
Amith Yamasani [Wed, 24 Apr 2013 21:52:50 +0000 (21:52 +0000)]
Merge "Rename limited user to restricted profile" into jb-mr2-dev

11 years agoRename limited user to restricted profile
Amith Yamasani [Wed, 24 Apr 2013 20:27:25 +0000 (13:27 -0700)]
Rename limited user to restricted profile

Bug: 8705996
Change-Id: Ia6c44928a7922d60bfa32c4da9934d5993bd4ee8

11 years agoDocument behavior and usage of ViewGroup.bringChildToFront()
Chet Haase [Tue, 23 Apr 2013 13:55:04 +0000 (06:55 -0700)]
Document behavior and usage of ViewGroup.bringChildToFront()

A call to ViewGroup.bringChildToFront() or View.bringToFront()
(which delegates to the parent's bringChildToFront() method) needs
to be followed by a call to requestLayout() and invalidate() on the
parent container in order for the changes to
actually happen. That is, the order of the child views would change, but
the parent container would not run layout or even invalidation without
being told to, so there would be no visible change until something else
caused a layout and invalidation to occur.

This change clarifies this requirement in the javadocs.

Issue #8667065 bringtoTop does not work

Change-Id: Ibe41a6318dddf9fb79382e1c9fd1d21ab4510976

11 years agoam d9c9dd32: am 21e93bc8: am 182c06ff: am 0a413d75: am c0edc45f: am dacaad4a: Merge...
Dirk Dougherty [Wed, 24 Apr 2013 19:19:51 +0000 (12:19 -0700)]
am d9c9dd32: am 21e93bc8: am 182c06ff: am 0a413d75: am c0edc45f: am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev

* commit 'd9c9dd323d7e15460986e2dbb3a36aeb49e263df':
  Doc change: Add tablet optimization tips info/link.

11 years agoam 21e93bc8: am 182c06ff: am 0a413d75: am c0edc45f: am dacaad4a: Merge "Doc change...
Dirk Dougherty [Wed, 24 Apr 2013 19:18:39 +0000 (12:18 -0700)]
am 21e93bc8: am 182c06ff: am 0a413d75: am c0edc45f: am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev

* commit '21e93bc845dab184370d9a650ec9794a6571a091':
  Doc change: Add tablet optimization tips info/link.

11 years agoam 182c06ff: am 0a413d75: am c0edc45f: am dacaad4a: Merge "Doc change: Add tablet...
Dirk Dougherty [Wed, 24 Apr 2013 19:16:56 +0000 (12:16 -0700)]
am 182c06ff: am 0a413d75: am c0edc45f: am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev

* commit '182c06fffeec8162635df35765cd2504847c17e0':
  Doc change: Add tablet optimization tips info/link.

11 years agoam 0a413d75: am c0edc45f: am dacaad4a: Merge "Doc change: Add tablet optimization...
Dirk Dougherty [Wed, 24 Apr 2013 19:14:36 +0000 (12:14 -0700)]
am 0a413d75: am c0edc45f: am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev

* commit '0a413d7572c5d06331d901a66e1686bc7c99a4ac':
  Doc change: Add tablet optimization tips info/link.

11 years agoam c0edc45f: am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link...
Dirk Dougherty [Wed, 24 Apr 2013 19:12:37 +0000 (12:12 -0700)]
am c0edc45f: am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev

* commit 'c0edc45fd20832b52e8d0f91632f616da585b7dd':
  Doc change: Add tablet optimization tips info/link.

11 years agoam dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb...
Dirk Dougherty [Wed, 24 Apr 2013 19:10:34 +0000 (12:10 -0700)]
am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev

* commit 'dacaad4ab21bfe8d6de74d60d2ce881d2a276a9d':
  Doc change: Add tablet optimization tips info/link.

11 years agoMerge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev
Dirk Dougherty [Wed, 24 Apr 2013 19:08:42 +0000 (19:08 +0000)]
Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev

11 years agoDoc change: Add tablet optimization tips info/link.
Dirk Dougherty [Mon, 22 Apr 2013 19:12:44 +0000 (12:12 -0700)]
Doc change: Add tablet optimization tips info/link.

Change-Id: Iee793b5fbb39e551c0df39ba4aeac40b55fb16d6

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Wed, 24 Apr 2013 17:48:14 +0000 (17:48 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "Support WiFi only device at runtime." into jb-mr2-dev
Wink Saville [Wed, 24 Apr 2013 15:44:07 +0000 (15:44 +0000)]
Merge "Support WiFi only device at runtime." into jb-mr2-dev

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

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

11 years agoAdded flush() for bluetooth output stream
zzy [Wed, 17 Apr 2013 00:17:37 +0000 (17:17 -0700)]
Added flush() for bluetooth output stream

Bug 8498784

Zebra QL420 Plus Bluetooth printer fails on Android 4.2.2

11 years agoFix the build.
Jim Miller [Wed, 24 Apr 2013 01:34:46 +0000 (18:34 -0700)]
Fix the build.

This fixes a bad merge in LockSettingsService.

Change-Id: I941bae77446dd0e94f409f0d64330ca5391f8efa

11 years agoMerge "Fixing bugs exposed when moving accessibility CTS tests to UiAutomation."...
Svetoslav [Wed, 24 Apr 2013 01:05:38 +0000 (01:05 +0000)]
Merge "Fixing bugs exposed when moving accessibility CTS tests to UiAutomation." into jb-mr2-dev

11 years agoMerge "Fix bug where owner info wasn't being updated properly." into jb-mr2-dev
Jim Miller [Wed, 24 Apr 2013 01:04:10 +0000 (01:04 +0000)]
Merge "Fix bug where owner info wasn't being updated properly." into jb-mr2-dev

11 years agoFixing bugs exposed when moving accessibility CTS tests to UiAutomation.
Svetoslav [Tue, 23 Apr 2013 01:34:02 +0000 (18:34 -0700)]
Fixing bugs exposed when moving accessibility CTS tests to UiAutomation.

1. UiAutomation#executeAndWaitForEvent method was invoking the passed
   runnable while holding the lock which may lead to a deadlock. For
   example: a runnable that calls getActivity() gets us into a state
   like this.

2. UI automation services did not get all capabilities such a
   service can have. Now a UI test service gets all of them.

3. When UiAutomation was exiting for event fired as a result of a
   performed action, it was checking whether the received evnet time
   is strictly before the time of executing the command that should
   fire the event. However, if the execution is fast enough, i.e.
   less than one millisecond, then the event time and the execution
   time are the same. This was leading to a missed signal in rare
   cases.

4. AccessibilityNodeInfoCache was not clearing the relevant state
   for accessibility focus clearing event.

5. Accessibility text traversal in TextView was partially using text
   and partially content description - broken. Now we are using the
   text since for text view and content desc for other views. In other
   words, we are using the most precise text we have.

6. AccessibilityManagerService was not granting capabilities of a
   UiAutomation service - plainly wrong.

CTS change:https://googleplex-android-review.googlesource.com/#/c/300693/

bug:8695422
bug:8657560

Change-Id: I9afc5c3c69eb51f1c01930959232f44681b15e86

11 years agoFix bug where owner info wasn't being updated properly.
Jim Miller [Tue, 23 Apr 2013 00:17:03 +0000 (17:17 -0700)]
Fix bug where owner info wasn't being updated properly.

There was a bug where older platforms only stored the 'enabled'
value if the checkbox in Settings was toggled at least once. This
caused the checkbox to be checked off when upgrading the device.

The code now mimicks the old behavior by detecting a non-empty
info string and setting 'enabled' appropriately.

Fixes bug 8659048

Change-Id: If2431d54f168a0aab286628165dd3f6b4a0d5cf8

11 years agoMerge "Fix keylayouts to use BACK instead of incorrect BUTTON_BACK." into jb-mr2-dev
Michael Wright [Tue, 23 Apr 2013 23:39:01 +0000 (23:39 +0000)]
Merge "Fix keylayouts to use BACK instead of incorrect BUTTON_BACK." into jb-mr2-dev

11 years agoMerge "Fix for bug 8578258." into jb-mr2-dev
Philip Milne [Tue, 23 Apr 2013 23:11:06 +0000 (23:11 +0000)]
Merge "Fix for bug 8578258." into jb-mr2-dev

11 years agoFix keylayouts to use BACK instead of incorrect BUTTON_BACK.
Michael Wright [Tue, 23 Apr 2013 21:46:07 +0000 (14:46 -0700)]
Fix keylayouts to use BACK instead of incorrect BUTTON_BACK.

Fix duplicate keys in a couple of the onza controllers.  Also, add them to the
Makefile so they actually get included in the build.

Bug: 8292749
Change-Id: I8246155f84d0c3c75b21e37fb579227fda76e197