summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename DroidNaskh UI fontRaph Levien2013-03-294-3/+3
| | | | | | | Renames DroidNaskh-Regular-SystemUI to DroidNaskhUI-Regular to be consistent with naming scheme for Noto fonts. Change-Id: I3319ee5cd85360c85b0523bd932d461eb05d1b18
* Switch indic fonts to NotoRaph Levien2013-03-281-6/+34
| | | | | | | | | | | | This change switches from the older (cibu and lohit) Indic fonts to the new Noto fonts. All the new fonts come in both normal and bold weights, and with system ui (more compact vertical metrics, to match Roboto) variants as well as normal. The fonts have been tested on a phone (Galaxy Nexus) and seem to work, but should be more carefully evaluated by native speakers. Change-Id: Ib0a10ee5a130bab258ff198e22b8304e00141073
* Merge "Validate restored file paths against their nominal domain" into ↵Christopher Tate2013-03-251-9/+19
|\ | | | | | | jb-mr2-dev
| * Validate restored file paths against their nominal domainChristopher Tate2013-03-251-9/+19
| | | | | | | | | | | | Bug 8460775 Change-Id: Ib16d740a001adf4f9cb9ccaa31066ac7cadfb430
* | Merge "Import translations. DO NOT MERGE" into jb-mr2-devBaligh Uddin2013-03-252-2/+2
|\ \
| * | Import translations. DO NOT MERGEBaligh Uddin2013-03-252-2/+2
| | | | | | | | | | | | | | | Change-Id: I62d1b7581b9598af132ec708c358848ac2edb32a Auto-generated-cl: translation import
* | | Merge "Load crypto plugins from additional shared libraries" into jb-mr2-devJeff Tinker2013-03-251-1/+1
|\ \ \
| * | | Load crypto plugins from additional shared librariesJeff Tinker2013-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "PackageManagerService: update grantPermission / revokePermission" ↵Nick Kralevich2013-03-251-20/+38
|\ \ \ \ | | | | | | | | | | | | | | | into jb-mr2-dev
| * | | | PackageManagerService: update grantPermission / revokePermissionNick Kralevich2013-03-251-20/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge "AppSecurityPermissions: minor code cleanup" into jb-mr2-devNick Kralevich2013-03-251-67/+25
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | |
| * | | AppSecurityPermissions: minor code cleanupNick Kralevich2013-03-241-67/+25
| | |/ | |/| | | | | | | | | | | | | | | | | | | Convert more instance variables to private. Delete some dead code. Simplify some code. Change-Id: Iedd55857138b71b2915b9886128adfcd9e4b3c57
* | | Merge "audio service: add config option for fixed volume" into jb-mr2-devEric Laurent2013-03-255-13/+94
|\ \ \ | |/ / |/| |
| * | audio service: add config option for fixed volumeEric Laurent2013-03-215-13/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a boolean configuration option config_useFixedVolume indicating if stream volumes or master volume can be modified. If the option is true, the AudioManager volume and mute APIs will be no ops and the volumes will be maxed out. To be consistent: - the ringer mode is forced to normal and cannot be modified - volume panel is never displayed - volume settings are not available - ringer mode global action is not displayed. The default for this option if false. This is useful for a class of devices intended for connection to a digital audio output only, where the volume is directly controlled on the audio sink. Bug 8161458 Change-Id: I2571d5ee79952ef0914d8fd1985816467a80adcd
* | | Merge "App ops: don't crash when provide read access is off." into jb-mr2-devDianne Hackborn2013-03-231-1/+1
|\ \ \
| * | | App ops: don't crash when provide read access is off.Dianne Hackborn2013-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If the caller supplied an empty selection string (instead of null) we would crash due to creating a bad SQLite statement. Change-Id: I462803b80c81815ed9a3a320c23060daa28e8114
* | | | Merge "Implement #8323587, #8323342, #8323590: new features." into jb-mr2-devDianne Hackborn2013-03-234-7/+109
|\ \ \ \
| * | | | Implement #8323587, #8323342, #8323590: new features.Dianne Hackborn2013-03-224-7/+109
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Fix log tags in trackball debuggingMichael Wright2013-03-231-2/+2
| | | | | | | | | | | | | | | | Change-Id: I02a623c96aff8b6ffbe11161feea39ad26ba0e83
* | | | Merge "Incorrect unbinding of accessibility services." into jb-mr2-devSvetoslav2013-03-231-8/+8
|\ \ \ \ | |/ / / |/| | |
| * | | Incorrect unbinding of accessibility services.Svetoslav2013-03-221-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "New media button API." into jb-mr2-devDianne Hackborn2013-03-225-22/+226
|\ \ \ \
| * | | | New media button API.Dianne Hackborn2013-03-225-22/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge "Reduce situations where black thumbnail occurs." into jb-mr2-devCraig Mautner2013-03-221-103/+181
|\ \ \ \ \
| * | | | | Reduce situations where black thumbnail occurs.Craig Mautner2013-03-221-103/+181
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge "Add pipelining optimization to IME dispatching" into jb-mr2-devMichael Wright2013-03-222-51/+110
|\ \ \ \ \
| * | | | | Add pipelining optimization to IME dispatchingMichael Wright2013-03-222-51/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge "Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)" into ↵Christopher Tate2013-03-221-0/+4
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | jb-mr2-dev
| * | | | | Throw on illegal arguments to ArrayUtils.equals(a1, a2, len)Christopher Tate2013-03-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, throw an explicit IllegalArgumentException if 'len' is negative, rather than falling over in some other way further down the line. Change-Id: If955de7ec1a15aa9aa8c42b6994b059e0cdffcee
* | | | | | Merge "Restore final canvas state after deferred flush" into jb-mr2-devChris Craik2013-03-223-7/+12
|\ \ \ \ \ \
| * | | | | | Restore final canvas state after deferred flushChris Craik2013-03-223-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Merge "Add some new constants." into jb-mr2-devWink Saville2013-03-222-2/+14
|\ \ \ \ \ \ \
| * | | | | | | Add some new constants.Wink Saville2013-03-212-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add EVENT_DISCONNECT_DC_RETRYING, EVENT_SETUP_DATA_COMPLETE_ERROR and State.RETRYING to DctContants. Add MDC_INITIAL_MAX_RETRY to Settings.Global. Bug: 4772191 Change-Id: Id54a20ab192783c63939158670faaf531a527640
* | | | | | | | Merge "Fix alternate time zone display for clock widget." into jb-mr2-devJim Miller2013-03-221-2/+2
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix alternate time zone display for clock widget.Jim Miller2013-03-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug where the widget resize event was being sent for the wrong user. The issue was with creating AppWidgetHostViews with Keyguard's context which contains the wrong user id. Fixes bug 8392718 Change-Id: I7efbc13161800224a342880c35470ed0b45824d0
* | | | | | | | | Merge "Move XML utility methods into shared location." into jb-mr2-devJeff Sharkey2013-03-222-51/+47
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Move XML utility methods into shared location.Jeff Sharkey2013-03-222-51/+47
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I15e8f0e4a6c5546d9be956ca0d46715d3441458c
* | | | | | | | | Merge "add account checks to app launch test" into jb-mr2-devGuang Zhu2013-03-221-0/+47
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | add account checks to app launch testGuang Zhu2013-03-221-0/+47
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | Prevent NPE in new API.Robert Greenwalt2013-03-221-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:8455284 Change-Id: I26ecbd024d1fe001f3af792c4e66409b2968c7ec
* | | | | | | | Merge "Import translations. DO NOT MERGE" into jb-mr2-devBaligh Uddin2013-03-2249-50/+490
|\ \ \ \ \ \ \ \
| * | | | | | | | Import translations. DO NOT MERGEBaligh Uddin2013-03-2249-50/+490
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8c0470426c37a3a357e64c6143b49abd4e0dd682 Auto-generated-cl: translation import
* | | | | | | | | [DO NOT MERGE] Notify vold when to start fstrim.Svetoslav2013-03-221-0/+26
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Merge "Reset connections on all stacked interfaces." into jb-mr2-devLorenzo Colitti2013-03-222-19/+29
|\ \ \ \ \ \ \ \
| * | | | | | | | Reset connections on all stacked interfaces.Lorenzo Colitti2013-03-202-19/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8276725 Change-Id: I7fe99c6ea123037cef3e89e3c2c17ed43cc0b1ea
* | | | | | | | | Revert "make sure screenshot are in a format supported by Bitmap.java"Mathias Agopian2013-03-221-65/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 74beb8953789635ad50fa979cf9ac8178a78cb81. it was checked-in by mistake
* | | | | | | | | Merge "make sure screenshot are in a format supported by Bitmap.java" into ↵Mathias Agopian2013-03-221-13/+65
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jb-mr2-dev
| * | | | | | | | | make sure screenshot are in a format supported by Bitmap.javaMathias Agopian2013-03-211-13/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic3ab7db31f1810ea19aac55d448dd1d4d6c419e4
* | | | | | | | | | Merge "use the bitmap stride when encoding a screenshot as PNG" into jb-mr2-devMathias Agopian2013-03-221-1/+1
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | / / | |_|_|_|_|_|_|/ / |/| | | | | | | |
| * | | | | | | | use the bitmap stride when encoding a screenshot as PNGMathias Agopian2013-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8444808 Change-Id: I47b74c22c940b40bd02634e9cd9dbff39b29a99f