OSDN Git Service

android-x86/frameworks-base.git
11 years agoam 66623196: am 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update...
Scott Main [Wed, 1 May 2013 21:31:44 +0000 (14:31 -0700)]
am 66623196: am 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1

* commit '66623196159ec4509e617cd440199499b483367a':
  dashboard update for 5/1

11 years agoam 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1
Scott Main [Wed, 1 May 2013 21:30:33 +0000 (14:30 -0700)]
am 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1

* commit '95fa4428172ae6c0435c20bf8ab49734e95c9eb8':
  dashboard update for 5/1

11 years agoam 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1
Scott Main [Wed, 1 May 2013 21:28:40 +0000 (14:28 -0700)]
am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1

* commit '1fbbf8caaf5bb3c796fa2acacedfb7a3be4d0c73':
  dashboard update for 5/1

11 years agoam 4bc82dea: am 47dcb666: dashboard update for 5/1
Scott Main [Wed, 1 May 2013 21:27:12 +0000 (14:27 -0700)]
am 4bc82dea: am 47dcb666: dashboard update for 5/1

* commit '4bc82dea43c3e60ce6ad244fdd6b8e61396b1118':
  dashboard update for 5/1

11 years agoam 47dcb666: dashboard update for 5/1
Scott Main [Wed, 1 May 2013 21:26:05 +0000 (14:26 -0700)]
am 47dcb666: dashboard update for 5/1

* commit '47dcb66610fbe9284f83f73a06a5c23515e17fbd':
  dashboard update for 5/1

11 years agoMerge "Make sure the app is still app after launching. Bug:8755950" into jb-mr2-dev
Tsu Chiang Chuang [Wed, 1 May 2013 21:12:31 +0000 (21:12 +0000)]
Merge "Make sure the app is still app after launching. Bug:8755950" into jb-mr2-dev

11 years agoMerge "Fix a crash case" into jb-mr2-dev
Mike J. Chen [Wed, 1 May 2013 20:59:12 +0000 (20:59 +0000)]
Merge "Fix a crash case" into jb-mr2-dev

11 years agoam 53e8587b: am 58a6e5c0: am 4f221669: am 1d71751f: am bbed0513: Contacts Provider...
Adam Koch [Wed, 1 May 2013 20:24:40 +0000 (13:24 -0700)]
am 53e8587b: am 58a6e5c0: am 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.

* commit '53e8587bedda3beef34e060f7256261d53f30697':
  Contacts Provider Training - fix minor code snippet typos.

11 years agoam 58a6e5c0: am 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training -...
Adam Koch [Wed, 1 May 2013 20:20:21 +0000 (13:20 -0700)]
am 58a6e5c0: am 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.

* commit '58a6e5c0d1406cab6c70b397b0b4252e5da66743':
  Contacts Provider Training - fix minor code snippet typos.

11 years agoam 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code...
Adam Koch [Wed, 1 May 2013 20:14:49 +0000 (13:14 -0700)]
am 4f221669: am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.

* commit '4f2216691a3df241977f39102b7eafc68556f477':
  Contacts Provider Training - fix minor code snippet typos.

11 years agoam 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.
Adam Koch [Wed, 1 May 2013 20:13:02 +0000 (13:13 -0700)]
am 1d71751f: am bbed0513: Contacts Provider Training - fix minor code snippet typos.

* commit '1d71751fc20a2c52e04656af409fa97a6f7c15c5':
  Contacts Provider Training - fix minor code snippet typos.

11 years agoMerge "Properly populates AccessibilityEvents for notification and quick settings...
Casey Burkhardt [Wed, 1 May 2013 19:33:08 +0000 (19:33 +0000)]
Merge "Properly populates AccessibilityEvents for notification and quick settings shades" into jb-mr2-dev

11 years agoam bbed0513: Contacts Provider Training - fix minor code snippet typos.
Adam Koch [Wed, 1 May 2013 18:52:26 +0000 (11:52 -0700)]
am bbed0513: Contacts Provider Training - fix minor code snippet typos.

* commit 'bbed0513abb1d98733f0eed5399f4cb195fda55f':
  Contacts Provider Training - fix minor code snippet typos.

11 years agoMerge "Lockdown VPN handles its own connection teardown." into jb-mr2-dev
Jeff Sharkey [Wed, 1 May 2013 18:30:23 +0000 (18:30 +0000)]
Merge "Lockdown VPN handles its own connection teardown." into jb-mr2-dev

11 years agoMerge "Fix an NPE and fd leak in SELinux policy updater." into jb-mr2-dev
repo sync [Wed, 1 May 2013 18:12:04 +0000 (18:12 +0000)]
Merge "Fix an NPE and fd leak in SELinux policy updater." into jb-mr2-dev

11 years agodashboard update for 5/1
Scott Main [Wed, 1 May 2013 17:32:47 +0000 (10:32 -0700)]
dashboard update for 5/1

Change-Id: I9cdcf2934a5332fee50067e0b6f8f3f159373892

11 years agoLockdown VPN handles its own connection teardown.
Jeff Sharkey [Wed, 1 May 2013 00:01:57 +0000 (17:01 -0700)]
Lockdown VPN handles its own connection teardown.

Recent changes started watching for CONNECTIVITY_ACTION broadcasts
to handle the case where a network is disconnected without the
interface going down.

However, when lockdown VPN is enabled, the broadcast contents are
augmented, and all connections appear disconnected until the VPN
comes online.  This caused a reset feedback loop to occur.

Since LockdownVpnTracker already handles networks being disconnected
separately from interfaces going down, this change disables handling
the broadcast when lockdown is enabled.

Bug: 8755148
Change-Id: I70a348aa97a4b22eaaf23aa5ed344de3e9a9ab0b

11 years agoContacts Provider Training - fix minor code snippet typos.
Adam Koch [Wed, 1 May 2013 16:21:20 +0000 (12:21 -0400)]
Contacts Provider Training - fix minor code snippet typos.

Change-Id: I3edf86d276d877914a3d97e596e1bb35d1b1ce1f

11 years agoMake sure the app is still app after launching.
Tsu Chiang Chuang [Tue, 30 Apr 2013 22:58:04 +0000 (15:58 -0700)]
Make sure the app is still app after launching.
Bug:8755950

Change-Id: Ie30d84cb94787d8b2e7bdc65e329a311581f4a3f

11 years agoMerge "Fix GLES30 JNI registration" into jb-mr2-dev
Jesse Hall [Wed, 1 May 2013 02:31:55 +0000 (02:31 +0000)]
Merge "Fix GLES30 JNI registration" into jb-mr2-dev

11 years agoMerge "Prevent TextureView from ever setting a null layer paint Bug #8760436" into...
Romain Guy [Wed, 1 May 2013 01:14:41 +0000 (01:14 +0000)]
Merge "Prevent TextureView from ever setting a null layer paint Bug #8760436" into jb-mr2-dev

11 years agoWhen installing/enabling a system app, bootstrap it
Christopher Tate [Wed, 1 May 2013 00:40:32 +0000 (17:40 -0700)]
When installing/enabling a system app, bootstrap it

Specifically, send it a BOOT_COMPLETED broadcast just as it would have
received during device (or user) startup.

Bug 8594153

Change-Id: I847c16df56d038a25758e594f951bc15348edc19

11 years agoFix an NPE and fd leak in SELinux policy updater.
repo sync [Tue, 30 Apr 2013 23:36:56 +0000 (16:36 -0700)]
Fix an NPE and fd leak in SELinux policy updater.

Bug: 8769213
Change-Id: Iff80be6109a1586d818754c8f9f5053b816fbd57

11 years agoMerge "Rebuilds ActionBar accessibility description as needed" into jb-mr2-dev
Casey Burkhardt [Wed, 1 May 2013 00:15:43 +0000 (00:15 +0000)]
Merge "Rebuilds ActionBar accessibility description as needed" into jb-mr2-dev

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 "Speed up user-switching wallpaper changes" into jb-mr2-dev
Chet Haase [Tue, 30 Apr 2013 22:42:49 +0000 (22:42 +0000)]
Merge "Speed up user-switching wallpaper changes" into jb-mr2-dev

11 years agoProperly populates AccessibilityEvents for notification and quick settings shades
Casey Burkhardt [Mon, 29 Apr 2013 19:18:32 +0000 (12:18 -0700)]
Properly populates AccessibilityEvents for notification and quick settings shades

Previously, our method of announcing the expansion of the notification shade
and quick notification shade relied on populating a contentDescription
attribute on the highest-level container.  This behavior is incorrect as it
causes accessibility services to infer importance and assign the view
accessibility focus.  This change adds descriptive text to the
AccessibilityEvent fired when the shade opens without modifying the
container's description.

Bug: 8699624
Change-Id: Id909b60d63cdec96c307dea2624b0651ab4f1f36

11 years agoSpeed up user-switching wallpaper changes
Chet Haase [Tue, 30 Apr 2013 22:10:51 +0000 (15:10 -0700)]
Speed up user-switching wallpaper changes

Previous work in ImageWallpaper cached the bitmap for a user
to avoid reloading it (an expensive operation on large-display devices)
when we could simply re-use it. User switching still caused a reload, however,
since the place where we cache the bitmap (ImageWallpaper) is in an instance
that is re-created on user-switch.

A simple fix is to have the ImageWallpaper stop telling the WallpaperManager
to erase its own cache of the bitmap prior to re-loading it. That step is
unnecessary, since a bitmap that is cached can be assumed to be valid. A wallpaper
change will correctly null out that cached version, so if the cached bitmap
is non-null, then we can simply use it as-is.

The fix is to remove the call to forgetLoadedWallpaper() and allow the caching
mechanism to do its job.

Issue #7986933 user switching on lock screen is slow (sometimes like molasses)

Change-Id: I447754ab85337bc8ae59b4ad6c3e6c2b30e13735

11 years agoPrevent TextureView from ever setting a null layer paint
Romain Guy [Tue, 30 Apr 2013 18:12:26 +0000 (11:12 -0700)]
Prevent TextureView from ever setting a null layer paint
Bug #8760436

DO NOT MERGE

Change-Id: I7e4d09fa534f539cb99ebeaa8159fb11920460cf

11 years agoMerge "Removing a debug check when logging fstrim events." into jb-mr2-dev
Svetoslav [Tue, 30 Apr 2013 18:05:48 +0000 (18:05 +0000)]
Merge "Removing a debug check when logging fstrim events." into jb-mr2-dev

11 years agoRemoving a debug check when logging fstrim events.
Svetoslav [Tue, 30 Apr 2013 17:43:56 +0000 (10:43 -0700)]
Removing a debug check when logging fstrim events.

This change is removing the check for debuggable build to
log fstrim events. While this was done everywhere else, one
place was overlooked.

bug:8688454

Change-Id: I354e1deebfd801f971dd91b9e7972c6ebfd093f3

11 years agoMerge "Perform idle maintenance when the device is charging." into jb-mr2-dev
Svetoslav [Tue, 30 Apr 2013 17:41:21 +0000 (17:41 +0000)]
Merge "Perform idle maintenance when the device is charging." into jb-mr2-dev

11 years agoPerform idle maintenance when the device is charging.
Svetoslav [Thu, 25 Apr 2013 21:45:54 +0000 (14:45 -0700)]
Perform idle maintenance when the device is charging.

Added the precondition that the device should be charging to the
existing ones of the device not being used for awhile and the
battery level being high enough. Note that even if the device is
charging, we have to check the battery level since the user can
unplug it at any time.

bug:8688454

Change-Id: I709b1620571301743dc3504a6a625e2018951bfa

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Tue, 30 Apr 2013 14:54:26 +0000 (14:54 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "Clarify behavior of fullscreen mode and softInputMode's adjustResize" into...
Chet Haase [Tue, 30 Apr 2013 14:45:45 +0000 (14:45 +0000)]
Merge "Clarify behavior of fullscreen mode and softInputMode's adjustResize" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 30 Apr 2013 05:25:03 +0000 (22:25 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Avoid crash when TextToSpeech calls onInit() from the constructor." into jb...
Alan Viverette [Tue, 30 Apr 2013 01:11:08 +0000 (01:11 +0000)]
Merge "Avoid crash when TextToSpeech calls onInit() from the constructor." into jb-mr2-dev

11 years agoClarify behavior of fullscreen mode and softInputMode's adjustResize
Chet Haase [Mon, 29 Apr 2013 23:04:40 +0000 (16:04 -0700)]
Clarify behavior of fullscreen mode and softInputMode's adjustResize

Fullscreen window's will not resize when the keyboard comes on screen,
regardless of the setting of the window's softInputMode field. This fix
clarifies the docs to make this behavior more obvious.

Issue #8754615 Clarify behavior of adjustResize and fullscreen interaction

Change-Id: Ie056db4e328cefaf0edb54fe8cfa7a08f320c8d0

11 years agoFix GLES30 JNI registration
Jesse Hall [Mon, 29 Apr 2013 22:59:35 +0000 (15:59 -0700)]
Fix GLES30 JNI registration

Bug: 8657863
Change-Id: I498f32480863b0716b2a8dfce467143087573cce

11 years agoMerge "Remove scan notification dialog on wifi off" into jb-mr2-dev
Irfan Sheriff [Mon, 29 Apr 2013 22:58:50 +0000 (22:58 +0000)]
Merge "Remove scan notification dialog on wifi off" into jb-mr2-dev

11 years agoam ec3396af: am 0412d9c7: am 4d17834a: am b83e8b69: am 292c979a: am d440ca76: am...
Nick Kralevich [Mon, 29 Apr 2013 22:53:04 +0000 (15:53 -0700)]
am ec3396af: am 0412d9c7: am 4d17834a: am b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit 'ec3396af9857bd50c6ccac692ecc12ab459239d2':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam 0412d9c7: am 4d17834a: am b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am...
Nick Kralevich [Mon, 29 Apr 2013 22:50:14 +0000 (15:50 -0700)]
am 0412d9c7: am 4d17834a: am b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit '0412d9c7c7e5977e1ffbb3a28bba9f37807876a7':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam 4d17834a: am b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm...
Nick Kralevich [Mon, 29 Apr 2013 22:48:05 +0000 (15:48 -0700)]
am 4d17834a: am b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit '4d17834ab3d4850352f3d33742945dad61722cd5':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad...
Nick Kralevich [Mon, 29 Apr 2013 22:46:21 +0000 (15:46 -0700)]
am b83e8b69: am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit 'b83e8b693b6738ba8e778d556ccdba629d372b52':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprint...
Nick Kralevich [Mon, 29 Apr 2013 22:44:43 +0000 (15:44 -0700)]
am 292c979a: am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit '292c979a0f1e503422924421557b146cd28fc0d2':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls
Nick Kralevich [Mon, 29 Apr 2013 22:42:54 +0000 (15:42 -0700)]
am d440ca76: am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit 'd440ca76029ab6f0909fdd9495941e04b90e5da7':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls
Nick Kralevich [Mon, 29 Apr 2013 22:41:36 +0000 (15:41 -0700)]
am f3a5323c: am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit 'f3a5323cc685fd78e7c4a7d7474b79cd34a4cf52':
  libdrm: fix bad strncpy / snprintf calls

11 years agoam 6d8f5b75: libdrm: fix bad strncpy / snprintf calls
Nick Kralevich [Mon, 29 Apr 2013 22:38:40 +0000 (15:38 -0700)]
am 6d8f5b75: libdrm: fix bad strncpy / snprintf calls

* commit '6d8f5b755b133b308204b84145d773d401cdcd52':
  libdrm: fix bad strncpy / snprintf calls

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

(cherry picked from commit 25619b2c6b3fd584affe20f34bfbf164a5ddbe7d)

Change-Id: I9a99c9b8a63c8b9efb3b2b650c735467b77120f2

11 years agoAvoid crash when TextToSpeech calls onInit() from the constructor.
Alan Viverette [Mon, 29 Apr 2013 21:59:04 +0000 (14:59 -0700)]
Avoid crash when TextToSpeech calls onInit() from the constructor.

If construction of a TextToSpeech object fails, it may call the
initialization listener's onInit() method before the assignment
of the constructed TextToSpeech object to a variable has occurred.

BUG: 8744558
Change-Id: I3404fdb39308009762371154b05d3653bab81ab2

11 years agoMerge "Donot start Bluetooth Manager Service when bluetooth hardware feature is missi...
Matthew Xie [Mon, 29 Apr 2013 19:35:28 +0000 (19:35 +0000)]
Merge "Donot start Bluetooth Manager Service when bluetooth hardware feature is missing" into jb-mr2-dev

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 agoRemove scan notification dialog on wifi off
Irfan Sheriff [Fri, 26 Apr 2013 22:10:26 +0000 (15:10 -0700)]
Remove scan notification dialog on wifi off

This is now only handled in settings app

Bug: 8732391
Change-Id: If232bfb9f6c3976059bde11280318901c35161e7

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 agoDonot start Bluetooth Manager Service when bluetooth hardware feature is missing
Matthew Xie [Fri, 26 Apr 2013 19:37:54 +0000 (12:37 -0700)]
Donot start Bluetooth Manager Service when bluetooth hardware feature is missing

bug 8374762

Change-Id: Iea06bd05e19eeddf3398ac446f3d6b80fce51283

11 years agoFix a crash case
Mike J. Chen [Fri, 26 Apr 2013 19:34:52 +0000 (12:34 -0700)]
Fix a crash case

There's a runtime check for a bad argument, but it is
after the usage of the bad argument.  Move the usage
after the check.

Bug 8687716

Change-Id: Iddfa457951bac69b436a430cda21b5d7a563107b
Signed-off-by: Mike J. Chen <mjchen@google.com>
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