OSDN Git Service

android-x86/frameworks-base.git
10 years agoAdd a config variable to control radio power cycle on SIM refresh reset.
Shishir Agrawal [Wed, 3 Sep 2014 16:05:23 +0000 (09:05 -0700)]
Add a config variable to control radio power cycle on SIM refresh reset.

This was required for legacy devices and causes issues in the newer devices.

Bug: 17154939
Change-Id: Ib231975d3210a8c4f3f10ac3af1b636e3de5fcbf

10 years agoFix some wrong-thread issues around animator management
John Reck [Wed, 3 Sep 2014 23:46:05 +0000 (16:46 -0700)]
Fix some wrong-thread issues around animator management

 Bug: 17372309

 Fixes a case where UI thread and RT thread both used the same method
 which wasn't safe for either of them.

 Adds additional assertions & logging in unusual circumstances to
 try and track down where the issue is occuring from.

Change-Id: I93d31a6fd0c5927259b67bdf96a475944226eee6

10 years agoam 14f413be: am 048d8baa: am 0ccf80c3: Merge "docs: b/15790433 updated for xxhdpi...
Scott Rowe [Thu, 4 Sep 2014 00:20:15 +0000 (00:20 +0000)]
am 14f413be: am 048d8baa: am 0ccf80c3: Merge "docs: b/15790433 updated for xxhdpi and xxxhdpi" into klp-modular-docs

* commit '14f413be3c7701750b996b90c95471e8cf04ae96':
  docs: b/15790433 updated for xxhdpi and xxxhdpi

10 years agoMerge "Rename ro.config.music_vol_steps into ro.config.media_vol_steps." into lmp-dev
Jungshik Jang [Thu, 4 Sep 2014 00:13:40 +0000 (00:13 +0000)]
Merge "Rename ro.config.music_vol_steps into ro.config.media_vol_steps." into lmp-dev

10 years agoam 048d8baa: am 0ccf80c3: Merge "docs: b/15790433 updated for xxhdpi and xxxhdpi...
Scott Rowe [Thu, 4 Sep 2014 00:13:02 +0000 (00:13 +0000)]
am 048d8baa: am 0ccf80c3: Merge "docs: b/15790433 updated for xxhdpi and xxxhdpi" into klp-modular-docs

* commit '048d8baaffadc28ee8e7bab0ce61a868c09c311a':
  docs: b/15790433 updated for xxhdpi and xxxhdpi

10 years agoMerge "Clear binder identity when sending window change accessibility events." into...
Svetoslav [Thu, 4 Sep 2014 00:03:43 +0000 (00:03 +0000)]
Merge "Clear binder identity when sending window change accessibility events." into lmp-dev

10 years agoam 0ccf80c3: Merge "docs: b/15790433 updated for xxhdpi and xxxhdpi" into klp-modular...
Scott Rowe [Wed, 3 Sep 2014 23:58:25 +0000 (23:58 +0000)]
am 0ccf80c3: Merge "docs: b/15790433 updated for xxhdpi and xxxhdpi" into klp-modular-docs

* commit '0ccf80c31dbf236ec8ffafc8c72f036c3137bc5a':
  docs: b/15790433 updated for xxhdpi and xxxhdpi

10 years agoMerge "docs: b/15790433 updated for xxhdpi and xxxhdpi" into klp-modular-docs
Scott Rowe [Wed, 3 Sep 2014 23:52:11 +0000 (23:52 +0000)]
Merge "docs: b/15790433 updated for xxhdpi and xxxhdpi" into klp-modular-docs

10 years agoam 17aec620: am 15abafe2: am c0393e7f: Merge "docs: Docs for Android project view...
Ricardo Cervera [Wed, 3 Sep 2014 23:47:48 +0000 (23:47 +0000)]
am 17aec620: am 15abafe2: am c0393e7f: Merge "docs: Docs for Android project view. Bug: 17108468" into klp-modular-docs

* commit '17aec62001a60c191c21d7cbf34ecd9d2f2683bd':
  docs: Docs for Android project view. Bug: 17108468

10 years agoMerge "Only use default backgrounds when not extending AlertDialog style" into lmp-dev
Alan Viverette [Wed, 3 Sep 2014 23:42:41 +0000 (23:42 +0000)]
Merge "Only use default backgrounds when not extending AlertDialog style" into lmp-dev

10 years agoam 15abafe2: am c0393e7f: Merge "docs: Docs for Android project view. Bug: 17108468...
Ricardo Cervera [Wed, 3 Sep 2014 23:37:46 +0000 (23:37 +0000)]
am 15abafe2: am c0393e7f: Merge "docs: Docs for Android project view. Bug: 17108468" into klp-modular-docs

* commit '15abafe2c0bbe034a63162ff409922225f55aed9':
  docs: Docs for Android project view. Bug: 17108468

10 years agoMerge "Add PhoneStateListener(Looper looper) and some documentation." into lmp-dev
Wink Saville [Wed, 3 Sep 2014 23:37:14 +0000 (23:37 +0000)]
Merge "Add PhoneStateListener(Looper looper) and some documentation." into lmp-dev

10 years agoMerge "Hide SubscriptionManager using individual @hide on fields and methods." into...
Wink Saville [Wed, 3 Sep 2014 23:37:05 +0000 (23:37 +0000)]
Merge "Hide SubscriptionManager using individual @hide on fields and methods." into lmp-dev

10 years agoam a1a3c8a1: am 9de22952: am ab833be6: Merge "docs: Fix bug with Accessibility Servic...
Joe Fernandez [Wed, 3 Sep 2014 23:36:30 +0000 (23:36 +0000)]
am a1a3c8a1: am 9de22952: am ab833be6: Merge "docs: Fix bug with Accessibility Services dev guide" into klp-modular-docs

* commit 'a1a3c8a126032596b722d9faa74c616a4a8974e7':
  docs: Fix bug with Accessibility Services dev guide

10 years agoRename ro.config.music_vol_steps into ro.config.media_vol_steps.
Jungshik Jang [Wed, 3 Sep 2014 23:36:21 +0000 (08:36 +0900)]
Rename ro.config.music_vol_steps into ro.config.media_vol_steps.

Bug: 17342612
Change-Id: I77b08a606d26e3d3fd909e28c5ecb9898d214be0

10 years agoMerge "Switching to raw byte copy of bitmaps for print preview." into lmp-dev
Svet Ganov [Wed, 3 Sep 2014 23:33:29 +0000 (23:33 +0000)]
Merge "Switching to raw byte copy of bitmaps for print preview." into lmp-dev

10 years agoMerge "Fix crash in KeySet dump" into lmp-dev
Christopher Tate [Wed, 3 Sep 2014 23:33:04 +0000 (23:33 +0000)]
Merge "Fix crash in KeySet dump" into lmp-dev

10 years agoam 9de22952: am ab833be6: Merge "docs: Fix bug with Accessibility Services dev guide...
Joe Fernandez [Wed, 3 Sep 2014 23:29:46 +0000 (23:29 +0000)]
am 9de22952: am ab833be6: Merge "docs: Fix bug with Accessibility Services dev guide" into klp-modular-docs

* commit '9de229527e710a90b03a415a9b752cc6e2a11592':
  docs: Fix bug with Accessibility Services dev guide

10 years agoam c0393e7f: Merge "docs: Docs for Android project view. Bug: 17108468" into klp...
Ricardo Cervera [Wed, 3 Sep 2014 23:29:38 +0000 (23:29 +0000)]
am c0393e7f: Merge "docs: Docs for Android project view. Bug: 17108468" into klp-modular-docs

* commit 'c0393e7fba742027e2cb4b72cb9e7d9e52887516':
  docs: Docs for Android project view. Bug: 17108468

10 years agoClear binder identity when sending window change accessibility events.
Svetoslav [Wed, 3 Sep 2014 23:28:43 +0000 (16:28 -0700)]
Clear binder identity when sending window change accessibility events.

We get calls for window changes from the window manager and
as a result send accessibility events for these changes. It
is possible that the call for a windows change from the window
manager comes as a result of an unprivileged client calling
into the window manager. However, the event sending code
is performing security checks.

bug:17364244

Change-Id: Ief016f9dafd13ac35418676817848b3ea3ed4d66

10 years agoOnly use default backgrounds when not extending AlertDialog style
Alan Viverette [Wed, 3 Sep 2014 23:27:51 +0000 (16:27 -0700)]
Only use default backgrounds when not extending AlertDialog style

BUG: 17368867
Change-Id: I440dad33cfb093c13b450a5f2369481fb30665ad

10 years agoMerge "docs: Docs for Android project view. Bug: 17108468" into klp-modular-docs
Ricardo Cervera [Wed, 3 Sep 2014 23:22:52 +0000 (23:22 +0000)]
Merge "docs: Docs for Android project view. Bug: 17108468" into klp-modular-docs

10 years agoMerge "Fix some print UI issues." into lmp-dev
Svetoslav [Wed, 3 Sep 2014 23:18:29 +0000 (23:18 +0000)]
Merge "Fix some print UI issues." into lmp-dev

10 years agoam ab833be6: Merge "docs: Fix bug with Accessibility Services dev guide" into klp...
Joe Fernandez [Wed, 3 Sep 2014 23:18:16 +0000 (23:18 +0000)]
am ab833be6: Merge "docs: Fix bug with Accessibility Services dev guide" into klp-modular-docs

* commit 'ab833be68e3e51f6be032d552bc53802f3fc52f2':
  docs: Fix bug with Accessibility Services dev guide

10 years agoMerge "docs: Fix bug with Accessibility Services dev guide" into klp-modular-docs
Joe Fernandez [Wed, 3 Sep 2014 23:12:19 +0000 (23:12 +0000)]
Merge "docs: Fix bug with Accessibility Services dev guide" into klp-modular-docs

10 years agoFix crash in KeySet dump
Christopher Tate [Wed, 3 Sep 2014 23:11:31 +0000 (16:11 -0700)]
Fix crash in KeySet dump

This was unfortunately DOSing some important parts of the Package
Manager's dumpsys output.

Change-Id: I228f23e8e26820b40a8d8772cd5f5b04ee8317d9

10 years agoMerge "Clean up connectivity tests." into lmp-dev
Eric Rowe [Wed, 3 Sep 2014 23:01:04 +0000 (23:01 +0000)]
Merge "Clean up connectivity tests." into lmp-dev

10 years agoClean up connectivity tests.
Eric Rowe [Wed, 3 Sep 2014 16:49:18 +0000 (09:49 -0700)]
Clean up connectivity tests.

Change-Id: I407cb78aecb43aa8413835a25b4558241d69fd2e

10 years agoMerge "Update print chooser drop down width." into lmp-dev
Svetoslav [Wed, 3 Sep 2014 22:46:30 +0000 (22:46 +0000)]
Merge "Update print chooser drop down width." into lmp-dev

10 years agoAdd PhoneStateListener(Looper looper) and some documentation.
Wink Saville [Wed, 3 Sep 2014 22:28:12 +0000 (15:28 -0700)]
Add PhoneStateListener(Looper looper) and some documentation.

Bug: 17374935
Change-Id: I1eeb77fd7478cb81cde92f43a26ed19697323e6a

10 years agoMerge "Invoke the callback only when DeviceInfo is available." into lmp-dev
Yuncheol Heo [Wed, 3 Sep 2014 22:41:40 +0000 (22:41 +0000)]
Merge "Invoke the callback only when DeviceInfo is available." into lmp-dev

10 years agoHide SubscriptionManager using individual @hide on fields and methods.
Wink Saville [Wed, 3 Sep 2014 22:13:33 +0000 (15:13 -0700)]
Hide SubscriptionManager using individual @hide on fields and methods.

Doing this so the unhide for API Council will just be unhiding a few
fields/methods.

Change-Id: Iebc995c1aebe1f17a6552c28f771be7584bf0acb

10 years agoMerge "Remove unpublished optOutDataReductionProxyApi" into lmp-dev
Selim Gurun [Wed, 3 Sep 2014 22:16:53 +0000 (22:16 +0000)]
Merge "Remove unpublished optOutDataReductionProxyApi" into lmp-dev

10 years agoMerge "Reduce RAM requirements of grayscale icon testing" into lmp-dev
Dan Sandler [Wed, 3 Sep 2014 22:15:37 +0000 (22:15 +0000)]
Merge "Reduce RAM requirements of grayscale icon testing" into lmp-dev

10 years agoMerge "Adjust iconography in notification guts." into lmp-dev
Dan Sandler [Wed, 3 Sep 2014 22:14:30 +0000 (22:14 +0000)]
Merge "Adjust iconography in notification guts." into lmp-dev

10 years agoUpdate print chooser drop down width.
Svetoslav [Wed, 3 Sep 2014 21:59:51 +0000 (14:59 -0700)]
Update print chooser drop down width.

bug:16324744

Change-Id: I1f0b79ae5da06de97ca80a800537d815ce59bf41

10 years agoam 2ad54d53: am a32f29e2: am a4fe79a4: docs: Adding Sony logo to wear page
Ricardo Cervera [Wed, 3 Sep 2014 21:58:00 +0000 (21:58 +0000)]
am 2ad54d53: am a32f29e2: am a4fe79a4: docs: Adding Sony logo to wear page

* commit '2ad54d53ccea8e17cdeabc71e37f73ad0e1982da':
  docs: Adding Sony logo to wear page

10 years agoam ce04c532: am 734ef513: am 2d80f931: docs: Adding Sony logo to Wear partners
Ricardo Cervera [Wed, 3 Sep 2014 21:57:48 +0000 (21:57 +0000)]
am ce04c532: am 734ef513: am 2d80f931: docs: Adding Sony logo to Wear partners

* commit 'ce04c532ca6134463011fd7f66468363375eb4c4':
  docs: Adding Sony logo to Wear partners

10 years agoReduce RAM requirements of grayscale icon testing
Dan Sandler [Tue, 2 Sep 2014 22:16:27 +0000 (00:16 +0200)]
Reduce RAM requirements of grayscale icon testing

The isGrayscale family of methods is designed to identify
drawables and bitmaps that apps are using in the largeIcon
position to pose as small icons in order to get the
appropriate background treatment (a solid blue or gray block
in KK/JB, or geniune selvedge denim in ICS/HC).

We can optimize this search two ways:

(1) Reject immediately any largeIcon that is larger than
    largeIcons should be (64x64dp). We could one day simply
    reject, or resize, these in the notification manager,
    but regardless these are not plausible smallIcon
    subsitutes. This new constraint is commemorated in the
    new name, isGrayscaleIcon().

(2) Shrink the bitmap even smaller before scanning it slowly
    in Java.  This lets native_drawBitmap do the heavy
    lifting across the entire bitmap; we need only scan a
    few pixels.

Bug: 16513124
Change-Id: I3a2b79130ed2465a4aedfbb5a556db7f8a7aa132

10 years agoam a32f29e2: am a4fe79a4: docs: Adding Sony logo to wear page
Ricardo Cervera [Wed, 3 Sep 2014 21:45:54 +0000 (21:45 +0000)]
am a32f29e2: am a4fe79a4: docs: Adding Sony logo to wear page

* commit 'a32f29e225e989fad682df91cb0a1cd36e7b7279':
  docs: Adding Sony logo to wear page

10 years agoam 734ef513: am 2d80f931: docs: Adding Sony logo to Wear partners
Ricardo Cervera [Wed, 3 Sep 2014 21:45:49 +0000 (21:45 +0000)]
am 734ef513: am 2d80f931: docs: Adding Sony logo to Wear partners

* commit '734ef51380a4f6fce0a633f56f9db5b6eef5be71':
  docs: Adding Sony logo to Wear partners

10 years agoMerge "Unregister from the remote renderer only if bound." into lmp-dev
Svetoslav [Wed, 3 Sep 2014 21:43:12 +0000 (21:43 +0000)]
Merge "Unregister from the remote renderer only if bound." into lmp-dev

10 years agoam f557832a: (-s ours) am 1c9d1485: am 6d4873f5: am 0511ba50: Do not persist and...
Jean-Michel Trivi [Wed, 3 Sep 2014 21:41:49 +0000 (21:41 +0000)]
am f557832a: (-s ours) am 1c9d1485: am 6d4873f5: am 0511ba50: Do not persist and restore the media button event receiver

* commit 'f557832ad82041b17a15448e3b776fdef4ba747b':
  Do not persist and restore the media button event receiver

10 years agoRemove unpublished optOutDataReductionProxyApi
Selim Gurun [Wed, 3 Sep 2014 19:34:16 +0000 (12:34 -0700)]
Remove unpublished optOutDataReductionProxyApi

Bug: 17253647

Per Api council's request, remove this API.

Change-Id: I8e706cc7173b88f3f13b2ac0697f54b25f163798

10 years agoam a4fe79a4: docs: Adding Sony logo to wear page
Ricardo Cervera [Wed, 3 Sep 2014 21:34:17 +0000 (21:34 +0000)]
am a4fe79a4: docs: Adding Sony logo to wear page

* commit 'a4fe79a4c4e36770c95f8450b664d7a1fa111004':
  docs: Adding Sony logo to wear page

10 years agoam 2d80f931: docs: Adding Sony logo to Wear partners
Ricardo Cervera [Wed, 3 Sep 2014 21:34:13 +0000 (21:34 +0000)]
am 2d80f931: docs: Adding Sony logo to Wear partners

* commit '2d80f9317fe69b932d5d9aeb9fc14017fab1af9c':
  docs: Adding Sony logo to Wear partners

10 years agoUnregister from the remote renderer only if bound.
Svetoslav [Wed, 3 Sep 2014 21:27:41 +0000 (14:27 -0700)]
Unregister from the remote renderer only if bound.

bug:8213791

Change-Id: Ia9efa33331437c4db447acf0c510d4cb4932a593

10 years agoMerge "The transport system API needs to manage binder identity" into lmp-dev
Christopher Tate [Wed, 3 Sep 2014 21:33:02 +0000 (21:33 +0000)]
Merge "The transport system API needs to manage binder identity" into lmp-dev

10 years agoMerge "NumberPicker not announcing current selection." into lmp-dev
Svetoslav [Wed, 3 Sep 2014 21:29:15 +0000 (21:29 +0000)]
Merge "NumberPicker not announcing current selection." into lmp-dev

10 years agodocs: Adding Sony logo to wear page
Ricardo Cervera [Wed, 3 Sep 2014 21:26:59 +0000 (14:26 -0700)]
docs: Adding Sony logo to wear page

Change-Id: I5e56ca313364d832bb26f7b07891381a0c2b55df

10 years agoam 1c9d1485: am 6d4873f5: am 0511ba50: Do not persist and restore the media button...
Jean-Michel Trivi [Wed, 3 Sep 2014 21:23:49 +0000 (21:23 +0000)]
am 1c9d1485: am 6d4873f5: am 0511ba50: Do not persist and restore the media button event receiver

* commit '1c9d1485f381d610152abd64bfaa6d5d963878d2':
  Do not persist and restore the media button event receiver

10 years agodocs: Adding Sony logo to Wear partners
Ricardo Cervera [Wed, 3 Sep 2014 21:17:06 +0000 (14:17 -0700)]
docs: Adding Sony logo to Wear partners

Change-Id: I3c4b52d647f0a942ef5d5daad6fb6d5197839f2d

10 years agoThe transport system API needs to manage binder identity
Christopher Tate [Wed, 3 Sep 2014 20:50:23 +0000 (13:50 -0700)]
The transport system API needs to manage binder identity

...around writing settings.  It does its own proper permission check;
it just needs to make sure not to accidentally crash the caller in
strange and wondrous ways because of failing to clear binder identity
before writing the result to secure settings.

Bug 16542048

Change-Id: I88d1f2dbeebd24eed5d86989f0ca0d834878b054

10 years agoam 6d4873f5: am 0511ba50: Do not persist and restore the media button event receiver
Jean-Michel Trivi [Wed, 3 Sep 2014 21:11:13 +0000 (21:11 +0000)]
am 6d4873f5: am 0511ba50: Do not persist and restore the media button event receiver

* commit '6d4873f577774e5e7427e2675e4c6ff8049646be':
  Do not persist and restore the media button event receiver

10 years agoam 0511ba50: Do not persist and restore the media button event receiver
Jean-Michel Trivi [Wed, 3 Sep 2014 20:59:53 +0000 (20:59 +0000)]
am 0511ba50: Do not persist and restore the media button event receiver

* commit '0511ba506d30d0a517491a92eda8d001a441d557':
  Do not persist and restore the media button event receiver

10 years agoMerge "JobScheduler: Fix doc build break" into lmp-dev
Eino-Ville Talvala [Wed, 3 Sep 2014 20:53:33 +0000 (20:53 +0000)]
Merge "JobScheduler: Fix doc build break" into lmp-dev

10 years agoJobScheduler: Fix doc build break
Eino-Ville Talvala [Wed, 3 Sep 2014 20:40:16 +0000 (13:40 -0700)]
JobScheduler: Fix doc build break

Change-Id: I769da7274fe5e3f64a47c82f893afeee6a11254e

10 years agoMerge "Update api for onConnectionAdded/Removed" into lmp-dev
Nancy Chen [Wed, 3 Sep 2014 20:51:05 +0000 (20:51 +0000)]
Merge "Update api for onConnectionAdded/Removed" into lmp-dev

10 years agoMerge "Disconnect TrustAgent when not active." into lmp-dev
Marco Fucci [Wed, 3 Sep 2014 20:39:03 +0000 (20:39 +0000)]
Merge "Disconnect TrustAgent when not active." into lmp-dev

10 years agoUpdate api for onConnectionAdded/Removed
Nancy Chen [Wed, 3 Sep 2014 20:33:46 +0000 (13:33 -0700)]
Update api for onConnectionAdded/Removed

Removed methods from public API for previous change.

Bug: 17262026
Change-Id: Ic41eccf8b9c1489b6261758640a35664b39ea819

10 years agoNumberPicker not announcing current selection.
Svetoslav [Wed, 3 Sep 2014 20:26:31 +0000 (13:26 -0700)]
NumberPicker not announcing current selection.

bug:17299486

Change-Id: I73fd33ef3518ef8e6cdd40cd036e8f104dc492b6

10 years agoMerge "Add some @SystemApi tags for internal user-related APIs" into lmp-dev
Amith Yamasani [Wed, 3 Sep 2014 20:26:09 +0000 (20:26 +0000)]
Merge "Add some @SystemApi tags for internal user-related APIs" into lmp-dev

10 years agoMerge "Bug 17262099: MMS API changes (multi-project)." into lmp-dev
Julian Odell [Wed, 3 Sep 2014 20:20:33 +0000 (20:20 +0000)]
Merge "Bug 17262099: MMS API changes (multi-project)." into lmp-dev

10 years agoAdd some @SystemApi tags for internal user-related APIs
Amith Yamasani [Wed, 3 Sep 2014 20:17:28 +0000 (13:17 -0700)]
Add some @SystemApi tags for internal user-related APIs

Also added an internal isManagedProfile()

Bug: 17371392
Change-Id: Ibcc26771d954505cbd530192bf4a8a25a8d4cae0

10 years agoBug 17262099: MMS API changes (multi-project).
Julian Odell [Tue, 26 Aug 2014 00:53:52 +0000 (17:53 -0700)]
Bug 17262099: MMS API changes (multi-project).

Move MMS api to using content provider rather than byte[] to pass MMS message contents.
Rebased and merged into TOT.

Change-Id: I3509b2774b1cb30a1c8100bb25d283140c963b6b

10 years agoMerge "Remove startActivityFromInCall API" into lmp-dev
Evan Charlton [Wed, 3 Sep 2014 20:07:46 +0000 (20:07 +0000)]
Merge "Remove startActivityFromInCall API" into lmp-dev

10 years agoMerge "Restrict lazy dexopt to eng builds only" into lmp-dev
Brian Carlstrom [Wed, 3 Sep 2014 20:02:41 +0000 (20:02 +0000)]
Merge "Restrict lazy dexopt to eng builds only" into lmp-dev

10 years agoMerge "Rename getActivatedXxx to getActiveXxx" into lmp-dev
Wink Saville [Wed, 3 Sep 2014 19:50:53 +0000 (19:50 +0000)]
Merge "Rename getActivatedXxx to getActiveXxx" into lmp-dev

10 years agoSwitching to raw byte copy of bitmaps for print preview.
Svet Ganov [Fri, 29 Aug 2014 22:35:49 +0000 (15:35 -0700)]
Switching to raw byte copy of bitmaps for print preview.

Using compression and decompression for moving bitmap data
acorss processes is slow as compression is expensive. This
change switches to using direct streaming of the bitmap
data.

bug:15938254

Change-Id: I78bc450031ee60ada4c3b66f14586a73c72ce34f

10 years agoFix some print UI issues.
Svetoslav [Wed, 3 Sep 2014 04:12:04 +0000 (21:12 -0700)]
Fix some print UI issues.

1. Fixed a crash when orientation changes and the content
   is scrolled due to wrong size bitmap being requested.

2. Closed a file dscriptior that was being left open.

3. Clearing the bitmap before passing it to the renderer to
   ensure it is white for pixels not touched when rendering.

4. Removed debug logs.

5. Switched to the correct layout manager for RecyclerView.

bug:16966145

Change-Id: I8ab9d22635c93cac5ff85c6f4b5d82e58cd8df5c

10 years agoMerge "Close the base socket when bindListen fails" into lmp-dev
Matthew Xie [Wed, 3 Sep 2014 19:29:02 +0000 (19:29 +0000)]
Merge "Close the base socket when bindListen fails" into lmp-dev

10 years agoClose the base socket when bindListen fails
Matthew Xie [Wed, 3 Sep 2014 17:04:00 +0000 (10:04 -0700)]
Close the base socket when bindListen fails

Bug: 10773872
Change-Id: I0a72b2eb65055fa1959070d2dc32d40a573bd6f2

10 years agoDisconnect TrustAgent when not active.
Marco Fucci [Fri, 29 Aug 2014 19:31:48 +0000 (12:31 -0700)]
Disconnect TrustAgent when not active.

Bug: 17191952
Change-Id: I470261f659a573400b2eb1421eeb953c87e58b66

10 years agoRename getActivatedXxx to getActiveXxx
Wink Saville [Wed, 3 Sep 2014 19:22:54 +0000 (12:22 -0700)]
Rename getActivatedXxx to getActiveXxx

Change-Id: Iba6d2805a69d3385c93b7ed3c6267b5b8b252a28

10 years agoMerge "Use alarm rather than delayed message to end lingering." into lmp-dev
Paul Jensen [Wed, 3 Sep 2014 19:08:14 +0000 (19:08 +0000)]
Merge "Use alarm rather than delayed message to end lingering." into lmp-dev

10 years agoRestrict lazy dexopt to eng builds only
Brian Carlstrom [Wed, 3 Sep 2014 15:55:05 +0000 (08:55 -0700)]
Restrict lazy dexopt to eng builds only

Bug: 16696554
Change-Id: I56bb63ce534842994a70df6b09843b4e3153c845

10 years agoMerge "Remove onConnectionAdded/Removed() from ConnectionService API" into lmp-dev
Nancy Chen [Wed, 3 Sep 2014 18:41:20 +0000 (18:41 +0000)]
Merge "Remove onConnectionAdded/Removed() from ConnectionService API" into lmp-dev

10 years agoMerge "Fix regression in CTS for AudioTrack" into lmp-dev
Glenn Kasten [Wed, 3 Sep 2014 18:31:58 +0000 (18:31 +0000)]
Merge "Fix regression in CTS for AudioTrack" into lmp-dev

10 years agoMerge "Remove partial support for hotspot changes on focus movement" into lmp-dev
Alan Viverette [Wed, 3 Sep 2014 18:31:47 +0000 (18:31 +0000)]
Merge "Remove partial support for hotspot changes on focus movement" into lmp-dev

10 years agoMerge "Prepare to make SubscriptionManager public." into lmp-dev
Wink Saville [Wed, 3 Sep 2014 18:25:44 +0000 (18:25 +0000)]
Merge "Prepare to make SubscriptionManager public." into lmp-dev

10 years agoMerge "Have destroy call freePrefetchedLayers" into lmp-dev
John Reck [Wed, 3 Sep 2014 18:17:44 +0000 (18:17 +0000)]
Merge "Have destroy call freePrefetchedLayers" into lmp-dev

10 years agoHave destroy call freePrefetchedLayers
John Reck [Wed, 3 Sep 2014 14:39:53 +0000 (07:39 -0700)]
Have destroy call freePrefetchedLayers

 Bug: 17208461

 There's a potential race condition between HardwareRenderer.destroy()
 being called (which calls destroyCanvasAndSurface()) and the renderer
 being finalized (which is what calls freePrefetchedLayers), during which
 time it's possible we get a TRIM_MEMORY_COMPLETE and destroy the EGL
 context.

 Fix this race condition by moving stopDrawing() and freePrefetchedLayers()
 into destroyCanvasAndSurface() where they should have been in the first
 place.

 Also, if we hit the assertion failure, dump the current state of
 Caches to try and provide more context for the failure.

Change-Id: Ife0ba3562041e8b08e87e3e13640472b3004eed6

10 years agoMerge "Add supported URI scheme to PhoneAccounts. (1/4)" into lmp-dev
Tyler Gunn [Wed, 3 Sep 2014 18:12:57 +0000 (18:12 +0000)]
Merge "Add supported URI scheme to PhoneAccounts. (1/4)" into lmp-dev

10 years agoMerge "Adds carrier-specific GPS parameters. Bug: 17288144 Change-Id: Ibafef473221385...
Tsuwei Chen [Wed, 3 Sep 2014 17:53:50 +0000 (17:53 +0000)]
Merge "Adds carrier-specific GPS parameters. Bug: 17288144 Change-Id: Ibafef473221385b304f2ef77df7d9862b348cdf7" into lmp-dev

10 years agoMerge "SysUI: Suppress HUNs from non-profile users" into lmp-dev
Christoph Studer [Wed, 3 Sep 2014 17:52:54 +0000 (17:52 +0000)]
Merge "SysUI: Suppress HUNs from non-profile users" into lmp-dev

10 years agoMerge "Add timeout when waiting to bind to JobService" into lmp-dev
Matthew Williams [Wed, 3 Sep 2014 17:49:06 +0000 (17:49 +0000)]
Merge "Add timeout when waiting to bind to JobService" into lmp-dev

10 years agoAdd timeout when waiting to bind to JobService
Matthew Williams [Tue, 2 Sep 2014 23:17:53 +0000 (16:17 -0700)]
Add timeout when waiting to bind to JobService

BUG: 17322886

bindService() to an invalid service might never actually result in
onServiceConnected being called , for e.g. if the client service doesn't
actually implement JobService. This wastes an execution slot as we end
up waiting forever.

Also made the javadocs clearer for the JobScheduler class.

Change-Id: Ie15ebbe18c0b7579f2ab77dd46428d354ef632c3

10 years agoMerge "Add lock task checking to moving tasks to back" into lmp-dev
Jason Monk [Wed, 3 Sep 2014 17:41:40 +0000 (17:41 +0000)]
Merge "Add lock task checking to moving tasks to back" into lmp-dev

10 years agoMerge "Unconditionally move stack to front." into lmp-dev
Craig Mautner [Wed, 3 Sep 2014 17:35:18 +0000 (17:35 +0000)]
Merge "Unconditionally move stack to front." into lmp-dev

10 years agoMerge "Fix ChangeTransform to work with interruptions" into lmp-dev
George Mount [Wed, 3 Sep 2014 17:30:23 +0000 (17:30 +0000)]
Merge "Fix ChangeTransform to work with interruptions" into lmp-dev

10 years agoMerge "Additional fixes for "back" with translucent windows." into lmp-dev
George Mount [Wed, 3 Sep 2014 17:30:08 +0000 (17:30 +0000)]
Merge "Additional fixes for "back" with translucent windows." into lmp-dev

10 years agoAdditional fixes for "back" with translucent windows.
George Mount [Wed, 3 Sep 2014 14:27:47 +0000 (07:27 -0700)]
Additional fixes for "back" with translucent windows.

Ensure background is mutated before changing its alpha.
Ensure resetViews is called when activity options is set.

Bug 16215650

Change-Id: I8482532777652a93b2c0d05c1b902516d281baf0

10 years agoFix ChangeTransform to work with interruptions
George Mount [Tue, 2 Sep 2014 22:06:02 +0000 (15:06 -0700)]
Fix ChangeTransform to work with interruptions

Bug 17372872

If ChangeTransform was interrupted after its animation completed,
but before the parent's Transition completed, it would think
that its start location was relative to its parent's current
position and not relative to its end position.

Change-Id: Iad25aafc03c41c1e0a7530548fb38acafbaffb8e

10 years agoMerge "Pass ComponentName to probing certificate methods" into lmp-dev
Esteban Talavera [Wed, 3 Sep 2014 17:22:39 +0000 (17:22 +0000)]
Merge "Pass ComponentName to probing certificate methods" into lmp-dev

10 years agoSysUI: Suppress HUNs from non-profile users
Christoph Studer [Wed, 3 Sep 2014 15:35:54 +0000 (17:35 +0200)]
SysUI: Suppress HUNs from non-profile users

Bug: 17364652
Change-Id: Ic7a971d64cecc1624b872c776efeaccd09144db7

10 years agoAdd lock task checking to moving tasks to back
Jason Monk [Wed, 3 Sep 2014 17:17:05 +0000 (13:17 -0400)]
Add lock task checking to moving tasks to back

Chrome seems to use this method of moving itself to the back on
back presses, causing it to escape lock task mode.

Bug: 17365048
Change-Id: I2e8bc614f771951ed96cfc36f9789d12b1742e70

10 years agoMerge "New keycode definitions for TV remotes." into lmp-dev
Wally Yau [Wed, 3 Sep 2014 17:15:49 +0000 (17:15 +0000)]
Merge "New keycode definitions for TV remotes." into lmp-dev

10 years agoMerge "ActivityTransition: fix activity not finished on back" into lmp-dev
Dake Gu [Wed, 3 Sep 2014 17:07:07 +0000 (17:07 +0000)]
Merge "ActivityTransition: fix activity not finished on back" into lmp-dev

10 years agoRemove startActivityFromInCall API
Evan Charlton [Wed, 3 Sep 2014 17:07:03 +0000 (10:07 -0700)]
Remove startActivityFromInCall API

Rip out the startActivityFromInCall API until we can replace it with
something better.

Bug: 16988478
Change-Id: Ib7b0493353262d9e795d78b78a98dd29e7a3f88e

10 years agoChange SmsManager.getSmsManagerForSubId to getSmsManagerUsingSubId
Tom Taylor [Wed, 3 Sep 2014 17:04:04 +0000 (10:04 -0700)]
Change SmsManager.getSmsManagerForSubId to getSmsManagerUsingSubId

Bug 17371475

Change-Id: I2da8e355a3c7b037b55d38484c903f7f387aa97c