summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Stop marking gamepads as keyboards"Ken Wakasa2013-07-051-8/+5
| | | | | | | This reverts commit 74c8fb601ef75d8e12df5221489c41c125e3b846. Change-Id: If8ca4d09b4d52f11d48dabebf2dff2984760cdc0 bug: 8896129
* Stop marking gamepads as keyboardsMichael Wright2013-04-081-5/+8
| | | | Change-Id: I0ba49aa3235b2e0a50405cf6d68632e268fe4183
* Fix off by one in ListView's upward focus traversalMichael Wright2013-04-081-1/+1
| | | | | Bug: 7985315 Change-Id: Ic67c8e346d6b51a5cfb05cc7d0c2b145b591b2db
* Merge "Fix SignalStrength response." into jb-mr2-devWink Saville2013-04-081-0/+27
|\
| * Fix SignalStrength response.Wink Saville2013-04-081-0/+27
| | | | | | | | | | | | | | | | Add makeSignalStrengthFromRilParcel for use by RIL responseRilSignalStrength. Bug: 8561333 Change-Id: Ie6eb3b0335e8d7ea114ec70b3fb72e917094632e
* | Merge "Have audio service clean up new receivers in crashing processes." ↵Dianne Hackborn2013-04-0811-324/+813
|\ \ | | | | | | | | | into jb-mr2-dev
| * | Have audio service clean up new receivers in crashing processes.Dianne Hackborn2013-04-0811-324/+813
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new media button receiver with only a pending intent (no component name) could be left hanging if the process that registered it went away. These semantically need to be tied to the calling process's lifetime; we now clean them up when the calling process goes away. Also added some additional cleanup of media button receivers when packages change (updated, cleared). And on top of that, a new "media" command for doing media things. Currently lets you send media keys and monitor remote display data. Oh and finally added a new BaseCommand base class for implementing these command line utilities. Change-Id: Iba1d56f10bab1eec4a94a7bb1d1c2ae614c8bcf5
* | | Merge "AppSecurityPermissions: minor UI changes" into jb-mr2-devNick Kralevich2013-04-081-3/+3
|\ \ \
| * | | AppSecurityPermissions: minor UI changesNick Kralevich2013-04-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Make the box with the permission really go away when a permission is revoked, not just invisible. 2) Change the order of the buttons, making the negative button the "revoke" button, and the positive button "ok". Change-Id: I73694583cbd014d3820f8df6c6b770caae299499
* | | | Merge "Awaken dreams on home + recents." into jb-mr2-devJohn Spurlock2013-04-082-1/+21
|\ \ \ \
| * | | | Awaken dreams on home + recents.John Spurlock2013-04-082-1/+21
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the KEYCODE_HOME case, awakes when home is started for any reason. Also awaken when toggling recents (and not locked). Bug:8557212 Change-Id: I6578ae3971740a03c27596b838d27a5ab9b03752
* | | | Merge "HTML5Audio should handle content URI" into jb-mr2-devztenghui2013-04-081-1/+8
|\ \ \ \
| * | | | HTML5Audio should handle content URIztenghui2013-04-081-1/+8
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib7ef4ad5fdd5b6b051ae32b0968a9bddef5c65ba
* | | | | Merge "Always take padding and margins into account Bug #8565842" into ↵Romain Guy2013-04-081-9/+21
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | jb-mr2-dev
| * | | | | Always take padding and margins into accountRomain Guy2013-04-081-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #8565842 Change-Id: I8ee398b5c36b3011950265eb7e22cc8338f1aeee
* | | | | | Merge "Clean up language in forced foreground service notifications." into ↵Daniel Sandler2013-04-082-34/+34
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | jb-mr2-dev
| * | | | | Clean up language in forced foreground service notifications.Daniel Sandler2013-04-082-34/+34
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old: [ IC ] %s running [ ON ] %s is running New: [ IC ] %s is running [ ON ] Touch for more information or to stop the app. Additionally, disallow these misbehaving services from supplying their own content views; if you attempt to run a foreground service with icon == 0, this is the notification you will get, period. Bug: 8525548 Change-Id: I2bfd7340396ef925885e8c2160a720f9eff07a35
* | | | | Merge "Update the documentiation for MediaMuxer::writeSampleData()" into ↵ztenghui2013-04-081-2/+4
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | jb-mr2-dev
| * | | | Update the documentiation for MediaMuxer::writeSampleData()ztenghui2013-04-031-2/+4
| | |/ / | |/| | | | | | | | | | Change-Id: I7a5591c7b14728c1833e6401dcd8f0272c4ee56c
* | | | Set FLAG_SHOW_LIGHTS if *either* on or off is nonzero.Daniel Sandler2013-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously they each had to be nonzero, which prevented using the builder methods to create solid-on LED notifications. Change-Id: I30314ec33daa28ee2e1f0b87a184c3540254471c
* | | | Add tag "foo" to builder test's notifications.Daniel Sandler2013-04-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows them to be conveniently cleared via adb: $ adb shell service call notification 5 \ s16 com.android.statusbartest \ s16 foo \ i32 <NOTIFICATIONID> \ i32 <USERID> Bug: 8564511 Change-Id: I9fae5a4a0be64d6707cc06ca938adeb8b3c0b735
* | | | Make adding views specific to a ViewGroup's overlayChet Haase2013-04-086-261/+316
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding views to views (possible with the new Overlay API) is weird. This change moves the view-management facilities of Overlay to a subclass that is specific to the overlay returned from ViewGroup.getOverlay(). So now you can add drawables to all view overlays, but only add/remove views to/from the overlay returned from ViewGroup.getOverlay(). Also, the previous approach of using an interface for Overlay was changed to classes for both ViewOverlay and ViewGroupOverlay. Finally, this change makes not handling touch correctly the proper, and documented, behavior of overlay views. There are various tricky issues to sort out with input in overlays (including click handling as well as focus) and we don't want developers starting to use overlays as some kind of general container hierarchy, so we're purposely constraining overlays to have visual-only behavior. Issue #8459085 Overlay needs to handle touch correctly Change-Id: I207b8dbf528f87c92369d270d8b0a6556826d207
* | | fix buildNick Kralevich2013-04-071-1/+1
| | | | | | | | | | | | Change-Id: I7f3b8a4df84630f40f5a3f19434df86b6287fb75
* | | Merge "AppSecurityPermissions: add support for revoking permissions" into ↵Nick Kralevich2013-04-073-10/+55
|\ \ \ | | | | | | | | | | | | jb-mr2-dev
| * | | AppSecurityPermissions: add support for revoking permissionsNick Kralevich2013-04-053-10/+55
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add UI support for revoking optional permissions. When the user taps on an optional permission, two new boxes will appear: [Cancel] | [Revoke] Selecting [Revoke] will revoke the permission from the app. The [Cancel] / [Revoke] options are only shown for apps which support optional permissions. Bug: 8332307 Change-Id: I27e374773747737e3a6d7f48ea1448a0178e3393
* | | Revert "Remove AndroidKeyStore from API"Kenny Root2013-04-063-2/+17
| | | | | | | | | | | | | | | | | | This reverts commit ce24985ad636c38b6ee01ec9cdecfb038bfeaeb6. Change-Id: I02d6492c8db869619694c7209bb37522a7ec5a29
* | | Merge "Update Roboto to version 1.200311" into jb-mr2-devRaph Levien2013-04-0512-0/+0
|\ \ \
| * | | Update Roboto to version 1.200311Raph Levien2013-04-0312-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates Roboto to the latest version. This change should fix a number of problems, including bug 7306377 (vietnamese o with horn), bug 6679075 (vietnamese u+1ee1), bug 7568194 (cyrillic yeru), and is also on the critical path of bug 7291977 (t comma accent), bug 8278292 (E ogonek) and likely others. Change-Id: Ife3db2aec4784a54cfe0287b61eac8339c198c71
* | | | Fix accessibility in action bars and add extra customizationAdam Powell2013-04-057-7/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bug where the content description of the big unified Home/Up button was not getting set properly. Add the ability to change the home-as-up glyph from ActionBar. Add the ability to set a custom action description for the home-as-up button, useful if the above functionality is used. Bug 8548229 Change-Id: I0635799772c7234b68247dfc105dce7f11acda32
* | | | Merge "Remove all public mention of RS graphics from docs." into jb-mr2-devTim Murray2013-04-0517-1462/+35
|\ \ \ \
| * | | | Remove all public mention of RS graphics from docs.Tim Murray2013-04-0517-1462/+35
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie43b5fb0353149aa9af433b6f5c5141349388ea0
* | | | | Merge "Specify SDK version for RS graphics tests." into jb-mr2-devTim Murray2013-04-058-4/+13
|\ \ \ \ \ | |/ / / /
| * | | | Specify SDK version for RS graphics tests.Tim Murray2013-04-058-4/+13
| | | | | | | | | | | | | | | | | | | | Change-Id: Ia61c753392432b91f91260a9b8769dfd396c259f
* | | | | Merge "AudioService: do not use virtual call for bt sco" into jb-mr2-devEric Laurent2013-04-051-9/+5
|\ \ \ \ \
| * | | | | AudioService: do not use virtual call for bt scoEric Laurent2013-04-051-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not use startScoUsingVirtualVoiceCall() BluetoothHeadset API to connect SCO audio. This will cause headsets to act as if an incoming call was received which is not what we want for voice commands. Bug 8157702 Change-Id: I271909d4d1f3822758740a8484e3d2d8b4f34c00
* | | | | | Merge "Fix crash in ConfigUpdater when the target dir doesn't exist." into ↵Geremy Condra2013-04-051-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | jb-mr2-dev
| * | | | | | Fix crash in ConfigUpdater when the target dir doesn't exist.Geremy Condra2013-04-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I44ee0e3791938da0bf890fb38cd886330c0ee01d
* | | | | | | Merge "Pipe through device resolution information" into jb-mr2-devMichael Wright2013-04-057-38/+73
|\ \ \ \ \ \ \
| * | | | | | | Pipe through device resolution informationMichael Wright2013-04-047-38/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8424494 Change-Id: Iafeeee0d5cd29342c1cdc86b9616222aaa5d1b94
* | | | | | | | Merge "Use float textures to render gradients when possible" into jb-mr2-devRomain Guy2013-04-056-122/+192
|\ \ \ \ \ \ \ \
| * | | | | | | | Use float textures to render gradients when possibleRomain Guy2013-04-056-122/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Float textures offer better precision for dithering. In addition this change removes two uniforms from gradient shaders. These uniforms were used to dither gradients but their value is a build time constant. Instead we hardcode the value directly in the shader source at compile time. Change-Id: I05e9fd3eef93771843bbd91b453274452dfaefee
* | | | | | | | | Merge "Fix AlertDialog in RTL mode" into jb-mr2-devFabrice Di Meglio2013-04-052-2/+4
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fix AlertDialog in RTL modeFabrice Di Meglio2013-04-012-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - the list view need to define textAlignment to "viewStart" so that the list view items will inherit it. Change-Id: Ib8cd75f28dcaf8a1afb22dd595490afa8e24d25f
* | | | | | | | | | Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-devJeff Brown2013-04-057-10/+58
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | |
| * | | | | | | | | Correctly manage the lifecycle of IME InputChannels.Jeff Brown2013-04-047-10/+58
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | InputChannels are normally duplicated when sent to a remote process over Binder but this does not happen if the recipient is running within the system server process. This causes problems for KeyGuard because the InputMethodManagerService may accidentally dispose the channel that KeyGuard is using. Fixed the lifecycle of InputChannels that are managed by the IME framework. We now return a duplicate of the channel to the application and then take care to dispose of the duplicate when necessary. In particular, InputBindResult disposes its InputChannel automatically when returned through Binder (using PARCELABLE_WRITE_RETURN_VALUE). Bug: 8493879 Change-Id: I08ec3d13268c76f3b56706b4523508bcefa3be79
* | | | | | | | | New NotificationListenerService.Daniel Sandler2013-04-0526-93/+573
| |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the best and only way for apps to listen for notifications: create a NotificationListenerService, wait for the NoMan to bind to you (as a result of the user checking a box somewhere in Settings and agreeing to a scary dialog box), and you'll start receiving notification posted and dismissed callbacks. Your service, while enabled, will also be able to clear one or all notifications. Use this power wisely. This change moves StatusBarNotification out of com.android.internal into android.service.notification. [Internal customers, including System UI and early users of the system-only listener binder API, will need to be updated.] Bug: 8199624 Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
* | | | | | | | Merge "Make the min layer go down through all windows" into jb-mr2-devCraig Mautner2013-04-051-19/+18
|\ \ \ \ \ \ \ \
| * | | | | | | | Make the min layer go down through all windowsCraig Mautner2013-04-051-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The min layer was set to only show the windows that matched the specified app token. But that meant when dialogs were launched it only showed the dialogs and not the background windows. Added improved debugging. fixes bug 8502844. Change-Id: I26b49568b872801ec9aa088df20317aa752dacd6
* | | | | | | | | Merge "Adding new Chomium-WebView property key, and deprecating old key." ↵Kristian Monsen2013-04-051-5/+25
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into jb-mr2-dev
| * | | | | | | | | Adding new Chomium-WebView property key, and deprecating old key.Jared Duke2013-03-281-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adding isExperimentalWebViewAvailable(), which is required to show/hide the corresponding setting in Developer Options. BUG=8383477 Change-Id: I82608cb4a3c7a85c3ad9091365913df5f2663f9c