OSDN Git Service

android-x86/frameworks-base.git
11 years agoam 6555a64f: am 4d572b01: Merge "Load crypto plugins from additional shared libraries...
Jeff Tinker [Mon, 25 Mar 2013 20:27:38 +0000 (20:27 +0000)]
am 6555a64f: am 4d572b01: Merge "Load crypto plugins from additional shared libraries" into jb-mr2-dev

* commit '6555a64fb9c761113eb17a8f19312a6bd5846fa3':
  Load crypto plugins from additional shared libraries

11 years agoam 4d572b01: Merge "Load crypto plugins from additional shared libraries" into jb...
Jeff Tinker [Mon, 25 Mar 2013 20:23:00 +0000 (20:23 +0000)]
am 4d572b01: Merge "Load crypto plugins from additional shared libraries" into jb-mr2-dev

* commit '4d572b0134318433467b95f829545753147c0b43':
  Load crypto plugins from additional shared libraries

11 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Mon, 25 Mar 2013 20:22:04 +0000 (20:22 +0000)]
Merge "Import translations. DO NOT MERGE"

11 years agoMerge "Load crypto plugins from additional shared libraries" into jb-mr2-dev
Jeff Tinker [Mon, 25 Mar 2013 20:18:18 +0000 (20:18 +0000)]
Merge "Load crypto plugins from additional shared libraries" into jb-mr2-dev

11 years agoMerge "Modify StackBox and TaskStack methods."
Craig Mautner [Mon, 25 Mar 2013 19:52:58 +0000 (19:52 +0000)]
Merge "Modify StackBox and TaskStack methods."

11 years agoMerge "Introduce ActivityStackSupervisor."
Craig Mautner [Mon, 25 Mar 2013 19:49:50 +0000 (19:49 +0000)]
Merge "Introduce ActivityStackSupervisor."

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 25 Mar 2013 18:28:36 +0000 (11:28 -0700)]
Import translations. DO NOT MERGE

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

11 years agoam d7afbeb5: am f00529d9: Merge "PackageManagerService: update grantPermission /...
Nick Kralevich [Mon, 25 Mar 2013 18:19:42 +0000 (18:19 +0000)]
am d7afbeb5: am f00529d9: Merge "PackageManagerService: update grantPermission / revokePermission" into jb-mr2-dev

* commit 'd7afbeb52a289b98095872489928783fa008d424':
  PackageManagerService: update grantPermission / revokePermission

11 years agoam f00529d9: Merge "PackageManagerService: update grantPermission / revokePermission...
Nick Kralevich [Mon, 25 Mar 2013 18:17:33 +0000 (18:17 +0000)]
am f00529d9: Merge "PackageManagerService: update grantPermission / revokePermission" into jb-mr2-dev

* commit 'f00529d901da11d98ddf4b3b06d411e6879c9591':
  PackageManagerService: update grantPermission / revokePermission

11 years agoMerge "PackageManagerService: update grantPermission / revokePermission" into jb...
Nick Kralevich [Mon, 25 Mar 2013 18:14:04 +0000 (18:14 +0000)]
Merge "PackageManagerService: update grantPermission / revokePermission" into jb-mr2-dev

11 years agoPackageManagerService: update grantPermission / revokePermission
Nick Kralevich [Sun, 24 Mar 2013 21:27:17 +0000 (14:27 -0700)]
PackageManagerService: update grantPermission / revokePermission

Currently, grantPermission / revokePermission only handles development
permissions. This change extends these two functions to handle normal
and dangerous permissions.

A normal / dangerous permission can modified if it is marked as
optional (android:required="false") using the "am grant" / "am revoke"
commands.

Currently, this change is a no-op. The package parser code
does not currently honor <uses-permission android:required="false"> in
the application's manifest, and assumes a permission is always required.

This change sets the ground for future optional permissions work.

Change-Id: I34f02ffd714e8a9a37b9f87df89cef915b1b6780

11 years agoam 7d2a4b41: am 754aa113: Merge "AppSecurityPermissions: minor code cleanup" into...
Nick Kralevich [Mon, 25 Mar 2013 17:44:41 +0000 (17:44 +0000)]
am 7d2a4b41: am 754aa113: Merge "AppSecurityPermissions: minor code cleanup" into jb-mr2-dev

* commit '7d2a4b41393d3a774a403e29ebdd7eec92777f03':
  AppSecurityPermissions: minor code cleanup

11 years agoam 754aa113: Merge "AppSecurityPermissions: minor code cleanup" into jb-mr2-dev
Nick Kralevich [Mon, 25 Mar 2013 17:42:14 +0000 (17:42 +0000)]
am 754aa113: Merge "AppSecurityPermissions: minor code cleanup" into jb-mr2-dev

* commit '754aa113821046f563a5773ad07e9f4ea49804eb':
  AppSecurityPermissions: minor code cleanup

11 years agoMerge "AppSecurityPermissions: minor code cleanup" into jb-mr2-dev
Nick Kralevich [Mon, 25 Mar 2013 17:37:35 +0000 (17:37 +0000)]
Merge "AppSecurityPermissions: minor code cleanup" into jb-mr2-dev

11 years agoam e4ad1a74: am 7c566bf3: Merge "audio service: add config option for fixed volume...
Eric Laurent [Mon, 25 Mar 2013 17:13:01 +0000 (17:13 +0000)]
am e4ad1a74: am 7c566bf3: Merge "audio service: add config option for fixed volume" into jb-mr2-dev

* commit 'e4ad1a7420f6ad9b7f3b1d28205ed3d18e2dd04d':
  audio service: add config option for fixed volume

11 years agoam 7c566bf3: Merge "audio service: add config option for fixed volume" into jb-mr2-dev
Eric Laurent [Mon, 25 Mar 2013 17:10:47 +0000 (17:10 +0000)]
am 7c566bf3: Merge "audio service: add config option for fixed volume" into jb-mr2-dev

* commit '7c566bf3e4a10d74588b3e92ea3f6af310930f37':
  audio service: add config option for fixed volume

11 years agoMerge "audio service: add config option for fixed volume" into jb-mr2-dev
Eric Laurent [Mon, 25 Mar 2013 17:08:28 +0000 (17:08 +0000)]
Merge "audio service: add config option for fixed volume" into jb-mr2-dev

11 years agoModify StackBox and TaskStack methods.
Craig Mautner [Mon, 25 Mar 2013 16:13:41 +0000 (09:13 -0700)]
Modify StackBox and TaskStack methods.

Also add dump() throughout.

Change-Id: I5369d2e71262645d9b1015bd4e72fad395cc7547

11 years agoIntroduce ActivityStackSupervisor.
Craig Mautner [Mon, 25 Mar 2013 15:05:25 +0000 (08:05 -0700)]
Introduce ActivityStackSupervisor.

- New coordinating class to juggle multiple ActivityStacks.
- First job: take singleton Keyguard dismiss behavior out of
ActivityStack.

Change-Id: I68e4b44411d3ec9401e86ac23703d6540dcb12e8

11 years agoAppSecurityPermissions: minor code cleanup
Nick Kralevich [Sun, 24 Mar 2013 21:27:00 +0000 (14:27 -0700)]
AppSecurityPermissions: minor code cleanup

Convert more instance variables to private.
Delete some dead code.
Simplify some code.

Change-Id: Iedd55857138b71b2915b9886128adfcd9e4b3c57

11 years agoam dd24a32b: am 37f180b4: Merge "App ops: don\'t crash when provide read access is...
Dianne Hackborn [Sat, 23 Mar 2013 01:50:06 +0000 (01:50 +0000)]
am dd24a32b: am 37f180b4: Merge "App ops: don\'t crash when provide read access is off." into jb-mr2-dev

* commit 'dd24a32b7c14337a20071ac8afe23c48157c32aa':
  App ops: don't crash when provide read access is off.

11 years agoam 37f180b4: Merge "App ops: don\'t crash when provide read access is off." into...
Dianne Hackborn [Sat, 23 Mar 2013 01:47:45 +0000 (01:47 +0000)]
am 37f180b4: Merge "App ops: don\'t crash when provide read access is off." into jb-mr2-dev

* commit '37f180b4a52e4c1d0b6a7b400b6579b7ff25f307':
  App ops: don't crash when provide read access is off.

11 years agoMerge "App ops: don't crash when provide read access is off." into jb-mr2-dev
Dianne Hackborn [Sat, 23 Mar 2013 01:43:37 +0000 (01:43 +0000)]
Merge "App ops: don't crash when provide read access is off." into jb-mr2-dev

11 years agoApp ops: don't crash when provide read access is off.
Dianne Hackborn [Sat, 23 Mar 2013 01:42:14 +0000 (18:42 -0700)]
App ops: don't crash when provide read access is off.

If the caller supplied an empty selection string (instead
of null) we would crash due to creating a bad SQLite statement.

Change-Id: I462803b80c81815ed9a3a320c23060daa28e8114

11 years agoam 8277f248: am b685faa2: Merge "Implement #8323587, #8323342, #8323590: new features...
Dianne Hackborn [Sat, 23 Mar 2013 01:33:03 +0000 (01:33 +0000)]
am 8277f248: am b685faa2: Merge "Implement #8323587, #8323342, #8323590: new features." into jb-mr2-dev

* commit '8277f24865e52915b4825517860629c0385f79ed':
  Implement #8323587, #8323342, #8323590: new features.

11 years agoam b685faa2: Merge "Implement #8323587, #8323342, #8323590: new features." into jb...
Dianne Hackborn [Sat, 23 Mar 2013 01:30:35 +0000 (01:30 +0000)]
am b685faa2: Merge "Implement #8323587, #8323342, #8323590: new features." into jb-mr2-dev

* commit 'b685faa2cee2f8d74c82547fa7585027cbcfba5f':
  Implement #8323587, #8323342, #8323590: new features.

11 years agoMerge "Implement #8323587, #8323342, #8323590: new features." into jb-mr2-dev
Dianne Hackborn [Sat, 23 Mar 2013 01:26:07 +0000 (01:26 +0000)]
Merge "Implement #8323587, #8323342, #8323590: new features." into jb-mr2-dev

11 years agoam 4e58e9c5: am 53d13667: Fix log tags in trackball debugging
Michael Wright [Sat, 23 Mar 2013 01:02:58 +0000 (01:02 +0000)]
am 4e58e9c5: am 53d13667: Fix log tags in trackball debugging

* commit '4e58e9c579b5ca3496118177728119531c066666':
  Fix log tags in trackball debugging

11 years agoam 53d13667: Fix log tags in trackball debugging
Michael Wright [Sat, 23 Mar 2013 01:00:59 +0000 (01:00 +0000)]
am 53d13667: Fix log tags in trackball debugging

* commit '53d13667e39f12644d03278c33298351ac68ec26':
  Fix log tags in trackball debugging

11 years agoFix log tags in trackball debugging
Michael Wright [Thu, 21 Mar 2013 01:05:30 +0000 (18:05 -0700)]
Fix log tags in trackball debugging

Change-Id: I02a623c96aff8b6ffbe11161feea39ad26ba0e83

11 years agoImplement #8323587, #8323342, #8323590: new features.
Dianne Hackborn [Sat, 23 Mar 2013 00:27:25 +0000 (17:27 -0700)]
Implement #8323587, #8323342, #8323590: new features.

8323587: Add feature for supporting app widgets
8323342: Add feature for replacing the home screen
8323590: Add feature for supporting input methods

The app widget service looks for the app widget feature
and refuses to work if it doesn't exist.  I didn't do
this for the input method service because some devices
will probably want to still make use of that mechanism
without supporting third party input methods.

Change-Id: Ie3b089105e104f4d767cdb03cdbe4fdb1c17382e

11 years agoam 8d023d80: am 320a31c6: Merge "Incorrect unbinding of accessibility services."...
Svetoslav [Sat, 23 Mar 2013 00:19:43 +0000 (00:19 +0000)]
am 8d023d80: am 320a31c6: Merge "Incorrect unbinding of accessibility services." into jb-mr2-dev

* commit '8d023d80eaabac42f4abf746a126209da4997221':
  Incorrect unbinding of accessibility services.

11 years agoam 320a31c6: Merge "Incorrect unbinding of accessibility services." into jb-mr2-dev
Svetoslav [Sat, 23 Mar 2013 00:17:15 +0000 (00:17 +0000)]
am 320a31c6: Merge "Incorrect unbinding of accessibility services." into jb-mr2-dev

* commit '320a31c604230566c2d269edf4327c97d99966a1':
  Incorrect unbinding of accessibility services.

11 years agoMerge "Incorrect unbinding of accessibility services." into jb-mr2-dev
Svetoslav [Sat, 23 Mar 2013 00:14:43 +0000 (00:14 +0000)]
Merge "Incorrect unbinding of accessibility services." into jb-mr2-dev

11 years agoIncorrect unbinding of accessibility services.
Svetoslav [Sat, 23 Mar 2013 00:09:11 +0000 (17:09 -0700)]
Incorrect unbinding of accessibility services.

If no accessibility services are enabled, we disable the
accessibility event firing to save resources. When the last
such services is disabled the system was not unbinding. As
a result the user was seeing the touch exploration enable
dialog when the service that requested it is disabled. Also
there is one service the system is bound to that is not used.

bug:8439191

Change-Id: I6f37f2573a815bfb29870298aa0abbb1fa105588

11 years agoam c31dc858: am 1a89c532: Merge "New media button API." into jb-mr2-dev
Dianne Hackborn [Fri, 22 Mar 2013 23:20:02 +0000 (23:20 +0000)]
am c31dc858: am 1a89c532: Merge "New media button API." into jb-mr2-dev

* commit 'c31dc858488ce291f434ab8bb7b90629f7a0ce27':
  New media button API.

11 years agoam 1a89c532: Merge "New media button API." into jb-mr2-dev
Dianne Hackborn [Fri, 22 Mar 2013 23:18:15 +0000 (23:18 +0000)]
am 1a89c532: Merge "New media button API." into jb-mr2-dev

* commit '1a89c5324badd10dac142a5a0c40a203503db65f':
  New media button API.

11 years agoMerge "New media button API." into jb-mr2-dev
Dianne Hackborn [Fri, 22 Mar 2013 23:13:49 +0000 (23:13 +0000)]
Merge "New media button API." into jb-mr2-dev

11 years agoam 78089c3c: am 5341f377: Merge "Reduce situations where black thumbnail occurs....
Craig Mautner [Fri, 22 Mar 2013 22:57:36 +0000 (22:57 +0000)]
am 78089c3c: am 5341f377: Merge "Reduce situations where black thumbnail occurs." into jb-mr2-dev

* commit '78089c3c225c27c326f5e4aad0084e173a7075e9':
  Reduce situations where black thumbnail occurs.

11 years agoam a329c83d: am 88a0765d: Merge "Add pipelining optimization to IME dispatching"...
Michael Wright [Fri, 22 Mar 2013 22:57:33 +0000 (22:57 +0000)]
am a329c83d: am 88a0765d: Merge "Add pipelining optimization to IME dispatching" into jb-mr2-dev

* commit 'a329c83d6673f51c539a6f99d9b16e03c55eeac4':
  Add pipelining optimization to IME dispatching

11 years agoam 5341f377: Merge "Reduce situations where black thumbnail occurs." into jb-mr2-dev
Craig Mautner [Fri, 22 Mar 2013 22:54:46 +0000 (22:54 +0000)]
am 5341f377: Merge "Reduce situations where black thumbnail occurs." into jb-mr2-dev

* commit '5341f377ccdd71471894d23afaab4d7a75fd03ba':
  Reduce situations where black thumbnail occurs.

11 years agoam 88a0765d: Merge "Add pipelining optimization to IME dispatching" into jb-mr2-dev
Michael Wright [Fri, 22 Mar 2013 22:54:44 +0000 (22:54 +0000)]
am 88a0765d: Merge "Add pipelining optimization to IME dispatching" into jb-mr2-dev

* commit '88a0765dd4f18ce367f2874f5972816644090b0d':
  Add pipelining optimization to IME dispatching

11 years agoMerge "Reduce situations where black thumbnail occurs." into jb-mr2-dev
Craig Mautner [Fri, 22 Mar 2013 22:51:57 +0000 (22:51 +0000)]
Merge "Reduce situations where black thumbnail occurs." into jb-mr2-dev

11 years agoMerge "Add pipelining optimization to IME dispatching" into jb-mr2-dev
Michael Wright [Fri, 22 Mar 2013 22:49:53 +0000 (22:49 +0000)]
Merge "Add pipelining optimization to IME dispatching" into jb-mr2-dev

11 years agoLoad crypto plugins from additional shared libraries
Jeff Tinker [Fri, 22 Mar 2013 22:32:27 +0000 (15:32 -0700)]
Load crypto plugins from additional shared libraries

Currently crypto plugins are expected to be in libdrmdecrypt.so.
When there are multiple plugins supporting different schemes,
this approach requires source code integration across
vendors which is unmanagable.  Also, for integration with
MediaDrm where the crypto keys are obtained from a drm server,
the MediaCrypto plugin needs to interoperate with the MediaDrm
plugin. This change allows {MediaCrypto, MediaDrm} pairs that
are logically related to be implemented in a common shared
library.

Multi-repository commit, goes with:
https://googleplex-android-review.googlesource.com/287838

Change-Id: I08577cda0cbcb22ebe3cb874f5fcafe411c36be3

11 years agoam a35c0c04: am 57b0f363: Merge "Throw on illegal arguments to ArrayUtils.equals...
Christopher Tate [Fri, 22 Mar 2013 22:31:37 +0000 (22:31 +0000)]
am a35c0c04: am 57b0f363: Merge "Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)" into jb-mr2-dev

* commit 'a35c0c0475d66921c933b93c262bf3e8721e3710':
  Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)

11 years agoam 57b0f363: Merge "Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)...
Christopher Tate [Fri, 22 Mar 2013 22:29:14 +0000 (22:29 +0000)]
am 57b0f363: Merge "Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)" into jb-mr2-dev

* commit '57b0f3638297242baca5db3e8ab4b5aab151f09e':
  Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)

11 years agoMerge "Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)" into jb-mr2-dev
Christopher Tate [Fri, 22 Mar 2013 22:24:21 +0000 (22:24 +0000)]
Merge "Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)" into jb-mr2-dev

11 years agoam 27c809db: am 81cce37d: Merge "Restore final canvas state after deferred flush...
Chris Craik [Fri, 22 Mar 2013 22:17:07 +0000 (22:17 +0000)]
am 27c809db: am 81cce37d: Merge "Restore final canvas state after deferred flush" into jb-mr2-dev

* commit '27c809dba4b470bfcc00d7dc89ccf81ac36e1c3c':
  Restore final canvas state after deferred flush

11 years agoam 81cce37d: Merge "Restore final canvas state after deferred flush" into jb-mr2-dev
Chris Craik [Fri, 22 Mar 2013 22:15:37 +0000 (22:15 +0000)]
am 81cce37d: Merge "Restore final canvas state after deferred flush" into jb-mr2-dev

* commit '81cce37deda2bd097d245c4d54806a354971a97c':
  Restore final canvas state after deferred flush

11 years agoMerge "Restore final canvas state after deferred flush" into jb-mr2-dev
Chris Craik [Fri, 22 Mar 2013 22:11:33 +0000 (22:11 +0000)]
Merge "Restore final canvas state after deferred flush" into jb-mr2-dev

11 years agoThrow on illegal arguments to ArrayUtils.equals(a1, a2, len)
Christopher Tate [Fri, 22 Mar 2013 22:01:13 +0000 (15:01 -0700)]
Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)

Specifically, throw an explicit IllegalArgumentException if
'len' is negative, rather than falling over in some other
way further down the line.

Change-Id: If955de7ec1a15aa9aa8c42b6994b059e0cdffcee

11 years agoam 439eea83: am c1b40c79: Merge "Add some new constants." into jb-mr2-dev
Wink Saville [Fri, 22 Mar 2013 21:49:32 +0000 (21:49 +0000)]
am 439eea83: am c1b40c79: Merge "Add some new constants." into jb-mr2-dev

* commit '439eea8328f6259dd9c029f90eb90e73f940f87b':
  Add some new constants.

11 years agoam 26ebeb6d: am 7b3526d5: Merge "Fix alternate time zone display for clock widget...
Jim Miller [Fri, 22 Mar 2013 21:49:29 +0000 (21:49 +0000)]
am 26ebeb6d: am 7b3526d5: Merge "Fix alternate time zone display for clock widget." into jb-mr2-dev

* commit '26ebeb6d554e963a496d42ec3ab8213c35c51e1c':
  Fix alternate time zone display for clock widget.

11 years agoNew media button API.
Dianne Hackborn [Wed, 20 Mar 2013 21:59:43 +0000 (14:59 -0700)]
New media button API.

This allows sending media buttons to any PendingIntent,
so they can be captured with a registered receiver.

Also add some new ViewTreeObserver APIs; this is all for
a new support library API to watch media buttons while an
app has input focus.

Change-Id: I3c51cef59460662b008c9a2cc87d6a6383c21855

11 years agoam c1b40c79: Merge "Add some new constants." into jb-mr2-dev
Wink Saville [Fri, 22 Mar 2013 21:46:12 +0000 (21:46 +0000)]
am c1b40c79: Merge "Add some new constants." into jb-mr2-dev

* commit 'c1b40c79beaec77937a58ffab1de9e02d553cd44':
  Add some new constants.

11 years agoam 7b3526d5: Merge "Fix alternate time zone display for clock widget." into jb-mr2-dev
Jim Miller [Fri, 22 Mar 2013 21:46:10 +0000 (21:46 +0000)]
am 7b3526d5: Merge "Fix alternate time zone display for clock widget." into jb-mr2-dev

* commit '7b3526d536c2066ba88c5923b2419da2662b3c51':
  Fix alternate time zone display for clock widget.

11 years agoMerge "Add some new constants." into jb-mr2-dev
Wink Saville [Fri, 22 Mar 2013 21:41:31 +0000 (21:41 +0000)]
Merge "Add some new constants." into jb-mr2-dev

11 years agoMerge "Fix alternate time zone display for clock widget." into jb-mr2-dev
Jim Miller [Fri, 22 Mar 2013 21:40:47 +0000 (21:40 +0000)]
Merge "Fix alternate time zone display for clock widget." into jb-mr2-dev

11 years agoam 527b2578: am 9da8c37a: Merge "Move XML utility methods into shared location."...
Jeff Sharkey [Fri, 22 Mar 2013 20:49:17 +0000 (20:49 +0000)]
am 527b2578: am 9da8c37a: Merge "Move XML utility methods into shared location." into jb-mr2-dev

* commit '527b2578d4cde9639d9c7b833bd85a659d7829e0':
  Move XML utility methods into shared location.

11 years agoam 9da8c37a: Merge "Move XML utility methods into shared location." into jb-mr2-dev
Jeff Sharkey [Fri, 22 Mar 2013 20:47:57 +0000 (20:47 +0000)]
am 9da8c37a: Merge "Move XML utility methods into shared location." into jb-mr2-dev

* commit '9da8c37ab8bb29c813d08a8c7e4fd6431fc52191':
  Move XML utility methods into shared location.

11 years agoMerge "Move XML utility methods into shared location." into jb-mr2-dev
Jeff Sharkey [Fri, 22 Mar 2013 20:45:16 +0000 (20:45 +0000)]
Merge "Move XML utility methods into shared location." into jb-mr2-dev

11 years agoMove XML utility methods into shared location.
Jeff Sharkey [Fri, 22 Mar 2013 20:43:41 +0000 (13:43 -0700)]
Move XML utility methods into shared location.

Change-Id: I15e8f0e4a6c5546d9be956ca0d46715d3441458c

11 years agoAdd pipelining optimization to IME dispatching
Michael Wright [Thu, 21 Mar 2013 00:58:33 +0000 (17:58 -0700)]
Add pipelining optimization to IME dispatching

Rather than wait for the IME to return before sending it the next input event,
send all available input events as soon as we receive them.

Bug: 7984576
Change-Id: Ie0b1086efc4f9e1ececac22afd997829304bf180

11 years agoam 4a7fae49: am eb93cc6a: Merge "add account checks to app launch test" into jb-mr2-dev
Guang Zhu [Fri, 22 Mar 2013 19:35:33 +0000 (19:35 +0000)]
am 4a7fae49: am eb93cc6a: Merge "add account checks to app launch test" into jb-mr2-dev

* commit '4a7fae4953e4d50af9b2bf65059cfe8ea3799383':
  add account checks to app launch test

11 years agoam eb93cc6a: Merge "add account checks to app launch test" into jb-mr2-dev
Guang Zhu [Fri, 22 Mar 2013 19:34:20 +0000 (19:34 +0000)]
am eb93cc6a: Merge "add account checks to app launch test" into jb-mr2-dev

* commit 'eb93cc6abba0d8be26ace531179510bffa86782d':
  add account checks to app launch test

11 years agoMerge "add account checks to app launch test" into jb-mr2-dev
Guang Zhu [Fri, 22 Mar 2013 19:31:55 +0000 (19:31 +0000)]
Merge "add account checks to app launch test" into jb-mr2-dev

11 years agoam 8735745b: am 55187f18: Prevent NPE in new API.
Robert Greenwalt [Fri, 22 Mar 2013 19:09:00 +0000 (19:09 +0000)]
am 8735745b: am 55187f18: Prevent NPE in new API.

* commit '8735745b28ddc80b1b57c06a8ed7c752fa6fd167':
  Prevent NPE in new API.

11 years agoReduce situations where black thumbnail occurs.
Craig Mautner [Wed, 20 Mar 2013 22:40:36 +0000 (15:40 -0700)]
Reduce situations where black thumbnail occurs.

Pause and retry capturing a thumbnail if the window hasn't yet
been drawn. Still will show black thumbnails if recents is pressed
before window has anything drawn.

Improves bug 7552304.

Change-Id: I550c5a60510bfc4547bbb44451d57b4bc9f49880

11 years agoam 55187f18: Prevent NPE in new API.
Robert Greenwalt [Fri, 22 Mar 2013 19:07:01 +0000 (19:07 +0000)]
am 55187f18: Prevent NPE in new API.

* commit '55187f18505aad67f824094061af1b6d0a0ebb38':
  Prevent NPE in new API.

11 years agoPrevent NPE in new API.
Robert Greenwalt [Fri, 22 Mar 2013 19:00:17 +0000 (12:00 -0700)]
Prevent NPE in new API.

bug:8455284
Change-Id: I26ecbd024d1fe001f3af792c4e66409b2968c7ec

11 years agoRestore final canvas state after deferred flush
Chris Craik [Fri, 22 Mar 2013 17:00:48 +0000 (10:00 -0700)]
Restore final canvas state after deferred flush

bug:8450062

- Fixes overdraw indication with DeferredDisplayList
- Fixes drawHardwareLayer called after flush

Additionally changes drawLayer to pass its paint to native via setLayerPaint

Wrap flush in save/restore so that reordering doesn't affect final
transform

Change-Id: I08befa42c28500da6387699eefd4be28aedf9f4c

11 years agoadd account checks to app launch test
Guang Zhu [Fri, 22 Mar 2013 18:36:30 +0000 (11:36 -0700)]
add account checks to app launch test

This optional parameter ensures that, before test starts, device
has the listed account types configured already.

e.g. to test app launch time of Gmail, a valid Google account
must present on device

Change-Id: Idba11beff754fd1d201a9c44a562809d4a9495e2

11 years agoam 4fd46bea: (-s ours) am b7f4c7b7: Merge "Import translations. DO NOT MERGE" into...
Baligh Uddin [Fri, 22 Mar 2013 17:53:08 +0000 (17:53 +0000)]
am 4fd46bea: (-s ours) am b7f4c7b7: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

* commit '4fd46bea8b7a57fe60ff99444375a5b7580f6f69':
  Import translations. DO NOT MERGE

11 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Fri, 22 Mar 2013 17:51:45 +0000 (17:51 +0000)]
Merge "Import translations. DO NOT MERGE"

11 years agoam b7f4c7b7: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Fri, 22 Mar 2013 17:50:51 +0000 (17:50 +0000)]
am b7f4c7b7: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

* commit 'b7f4c7b7feec98adde79d6d691c0001943b16595':
  Import translations. DO NOT MERGE

11 years agoam 6eb46fd3: (-s ours) am a7452ee2: [DO NOT MERGE] Notify vold when to start fstrim.
Svetoslav [Fri, 22 Mar 2013 17:49:24 +0000 (17:49 +0000)]
am 6eb46fd3: (-s ours) am a7452ee2: [DO NOT MERGE] Notify vold when to start fstrim.

* commit '6eb46fd35921718d7e48d747d4af85ab9661151f':
  [DO NOT MERGE] Notify vold when to start fstrim.

11 years agoam a7452ee2: [DO NOT MERGE] Notify vold when to start fstrim.
Svetoslav [Fri, 22 Mar 2013 17:47:10 +0000 (17:47 +0000)]
am a7452ee2: [DO NOT MERGE] Notify vold when to start fstrim.

* commit 'a7452ee27de35e75b234adcf143c18f85d3f1aad':
  [DO NOT MERGE] Notify vold when to start fstrim.

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Fri, 22 Mar 2013 17:46:35 +0000 (17:46 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years ago[DO NOT MERGE] Notify vold when to start fstrim.
Svetoslav [Wed, 20 Mar 2013 19:06:59 +0000 (12:06 -0700)]
[DO NOT MERGE] Notify vold when to start fstrim.

Since using the discard option for mounting an Ext4 file system
could lead to unpredictable slowdowns of I/O we will explicitly
control when to perform fstrim, i.e. discard unused blocks of the
mounted volume. We are using the idle maintenance intents sent by
the system which specify a window that one can use to perform
expensive maintenance tasks while the user does not use the device.

This change is adding a broadcast receiver for the idle maintenance
start intent to the mount services which then notifies vold when to
start fstrim.

Since fstrim will be run on a daily basis we do not expect fstrim
to be too long, so it is not interruptible. We will implement
interruption only in case we see issues.

bug:8056794

Change-Id: I1438479d2956b61b82d3a130854376f7a144aaf3

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 22 Mar 2013 16:39:33 +0000 (09:39 -0700)]
Import translations. DO NOT MERGE

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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 22 Mar 2013 16:31:24 +0000 (09:31 -0700)]
Import translations. DO NOT MERGE

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

11 years agoam 8d6839b2: am 31453e5a: Merge "Reset connections on all stacked interfaces." into...
Lorenzo Colitti [Fri, 22 Mar 2013 09:51:20 +0000 (09:51 +0000)]
am 8d6839b2: am 31453e5a: Merge "Reset connections on all stacked interfaces." into jb-mr2-dev

* commit '8d6839b20b7e2871f9ab5056f7c58ac43dd1e97c':
  Reset connections on all stacked interfaces.

11 years agoam 31453e5a: Merge "Reset connections on all stacked interfaces." into jb-mr2-dev
Lorenzo Colitti [Fri, 22 Mar 2013 09:48:40 +0000 (09:48 +0000)]
am 31453e5a: Merge "Reset connections on all stacked interfaces." into jb-mr2-dev

* commit '31453e5a2b5150a18c41b8bebd85223615ad8849':
  Reset connections on all stacked interfaces.

11 years agoMerge "Reset connections on all stacked interfaces." into jb-mr2-dev
Lorenzo Colitti [Fri, 22 Mar 2013 09:45:51 +0000 (09:45 +0000)]
Merge "Reset connections on all stacked interfaces." into jb-mr2-dev

11 years agoam 1bb7b69b: am 32b9f625: Revert "make sure screenshot are in a format supported...
Mathias Agopian [Fri, 22 Mar 2013 07:34:18 +0000 (07:34 +0000)]
am 1bb7b69b: am 32b9f625: Revert "make sure screenshot are in a format supported by Bitmap.java"

* commit '1bb7b69b4ee69f139a5cabd543b35fc4379fcfd3':
  Revert "make sure screenshot are in a format supported by Bitmap.java"

11 years agoam 32b9f625: Revert "make sure screenshot are in a format supported by Bitmap.java"
Mathias Agopian [Fri, 22 Mar 2013 07:32:17 +0000 (07:32 +0000)]
am 32b9f625: Revert "make sure screenshot are in a format supported by Bitmap.java"

* commit '32b9f6258d052c8c334ae348322fed9ba032a09f':
  Revert "make sure screenshot are in a format supported by Bitmap.java"

11 years agoam bf7ac720: am c61974b0: Merge "make sure screenshot are in a format supported by...
Mathias Agopian [Fri, 22 Mar 2013 07:30:52 +0000 (07:30 +0000)]
am bf7ac720: am c61974b0: Merge "make sure screenshot are in a format supported by Bitmap.java" into jb-mr2-dev

* commit 'bf7ac72033427b3e95cb4123110fb0a91229a9a1':
  make sure screenshot are in a format supported by Bitmap.java

11 years agoam c61974b0: Merge "make sure screenshot are in a format supported by Bitmap.java...
Mathias Agopian [Fri, 22 Mar 2013 07:28:48 +0000 (07:28 +0000)]
am c61974b0: Merge "make sure screenshot are in a format supported by Bitmap.java" into jb-mr2-dev

* commit 'c61974b05082f4bd113f476e9b31e34c4974ae80':
  make sure screenshot are in a format supported by Bitmap.java

11 years agoRevert "make sure screenshot are in a format supported by Bitmap.java"
Mathias Agopian [Fri, 22 Mar 2013 07:27:46 +0000 (00:27 -0700)]
Revert "make sure screenshot are in a format supported by Bitmap.java"

This reverts commit 74beb8953789635ad50fa979cf9ac8178a78cb81.

it was checked-in by mistake

11 years agoMerge "make sure screenshot are in a format supported by Bitmap.java" into jb-mr2-dev
Mathias Agopian [Fri, 22 Mar 2013 07:26:26 +0000 (07:26 +0000)]
Merge "make sure screenshot are in a format supported by Bitmap.java" into jb-mr2-dev

11 years agomake sure screenshot are in a format supported by Bitmap.java
Mathias Agopian [Fri, 22 Mar 2013 06:40:56 +0000 (23:40 -0700)]
make sure screenshot are in a format supported by Bitmap.java

Change-Id: Ic3ab7db31f1810ea19aac55d448dd1d4d6c419e4

11 years agoam 3f6c9bae: am 921113d5: Merge "use the bitmap stride when encoding a screenshot...
Mathias Agopian [Fri, 22 Mar 2013 04:51:13 +0000 (04:51 +0000)]
am 3f6c9bae: am 921113d5: Merge "use the bitmap stride when encoding a screenshot as PNG" into jb-mr2-dev

* commit '3f6c9bae6302983d37b3a00523b8c8066fd3caa9':
  use the bitmap stride when encoding a screenshot as PNG

11 years agoam 921113d5: Merge "use the bitmap stride when encoding a screenshot as PNG" into...
Mathias Agopian [Fri, 22 Mar 2013 04:48:39 +0000 (04:48 +0000)]
am 921113d5: Merge "use the bitmap stride when encoding a screenshot as PNG" into jb-mr2-dev

* commit '921113d501b0c7136a0cbc6950f9e90ca1543277':
  use the bitmap stride when encoding a screenshot as PNG

11 years agoMerge "use the bitmap stride when encoding a screenshot as PNG" into jb-mr2-dev
Mathias Agopian [Fri, 22 Mar 2013 04:46:04 +0000 (04:46 +0000)]
Merge "use the bitmap stride when encoding a screenshot as PNG" into jb-mr2-dev

11 years agouse the bitmap stride when encoding a screenshot as PNG
Mathias Agopian [Fri, 22 Mar 2013 04:44:49 +0000 (21:44 -0700)]
use the bitmap stride when encoding a screenshot as PNG

Bug: 8444808
Change-Id: I47b74c22c940b40bd02634e9cd9dbff39b29a99f

11 years agoam 5b908ccb: am 75ebb37f: Add APP_SWITCH to app switch input dispatching optimization
Michael Wright [Fri, 22 Mar 2013 03:47:56 +0000 (03:47 +0000)]
am 5b908ccb: am 75ebb37f: Add APP_SWITCH to app switch input dispatching optimization

* commit '5b908ccbc5f60dc11314933e44abe76e027aa880':
  Add APP_SWITCH to app switch input dispatching optimization

11 years agoam 75ebb37f: Add APP_SWITCH to app switch input dispatching optimization
Michael Wright [Fri, 22 Mar 2013 03:46:59 +0000 (03:46 +0000)]
am 75ebb37f: Add APP_SWITCH to app switch input dispatching optimization

* commit '75ebb37fafcaea7692d46b5abdbcd1465d88eea2':
  Add APP_SWITCH to app switch input dispatching optimization

11 years agoAdd APP_SWITCH to app switch input dispatching optimization
Michael Wright [Fri, 15 Mar 2013 23:27:29 +0000 (16:27 -0700)]
Add APP_SWITCH to app switch input dispatching optimization

Change-Id: I8a95fbf311ebd62bcdaaeecfacaea7996ddaec74

11 years agoam 621c35e4: am 765ddb4b: Merge "Separate sessionCreated and finishedEvents callbacks...
Michael Wright [Fri, 22 Mar 2013 03:42:25 +0000 (03:42 +0000)]
am 621c35e4: am 765ddb4b: Merge "Separate sessionCreated and finishedEvents callbacks" into jb-mr2-dev

* commit '621c35e4fc83c2864a82da31aac767832ce86df6':
  Separate sessionCreated and finishedEvents callbacks