summaryrefslogtreecommitdiffstats
path: root/api/current.txt
Commit message (Collapse)AuthorAgeFilesLines
* Enhance the NotificationListenerService api.John Spurlock2014-03-281-0/+5
| | | | | | | | | | | | | | Add to NotificationListenerService: - getActiveNotificationKeys() : String[] - getActiveNotifications(String[] keys) : StatusBarNotification[] - cancelNotifications(String[] keys) : void - onListenerConnected(String[] keys) : void Add to StatusBarNotification: - getKey() : String Bug:13562828 Change-Id: Idd9605dad8f942d68b4b32ab9625faf6c8642db9
* Merge "Add a mediastore constant for playlists."Matt Casey2014-03-271-0/+1
|\
| * Add a mediastore constant for playlists.Matt Casey2014-03-261-0/+1
| | | | | | | | | | | | | | | | | | This is a followup to https://googleplex-android-review.git.corp.google.com/415218 I'm writing this change at the request of elmas@. Bug: 13657009 Change-Id: I970cc59a33af2162c2488c4ddf628f7a73009cd6
* | Make quantum text styles publicAlan Viverette2014-03-261-0/+12
| | | | | | | | Change-Id: I6deab6eb712d0910cddf1e8daeddf4737d39ba58
* | Fix build.Dianne Hackborn2014-03-261-232/+317
| | | | | | | | | | | | And prevent it from breaking again like this. Change-Id: I68ca200714420ead41bdaa96fe320260ecddb426
* | Merge "Separate ripple animation logic, remove RevealDrawable"Alan Viverette2014-03-271-5/+3
|\ \
| * | Separate ripple animation logic, remove RevealDrawableAlan Viverette2014-03-261-5/+3
| | | | | | | | | | | | Change-Id: I9d0370cea288e6caf518209b5bc94a66a0f9176f
* | | Merge "add Dynamic Drawable (vector graphics for Icons)"John Hoford2014-03-271-2/+42
|\ \ \ | |_|/ |/| |
| * | add Dynamic Drawable (vector graphics for Icons)John Hoford2014-03-261-2/+42
| | | | | | | | | | | | Change-Id: Id44b7f6d1b8dd073b8ed35e2142a380550f2449b
* | | Merge "Revert "Support for new gTLDs""Selim Gurun2014-03-261-3/+3
|\ \ \
| * | | Revert "Support for new gTLDs"Selim Gurun2014-03-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d3ff8bdf92c23d596f3e4701455223f9e3ac8873. Change-Id: I2006c4fcca54a4bc3b680ea0b0600b359cac6ca3
* | | | Merge "Support for new gTLDs"Selim Gurun2014-03-261-3/+3
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | Support for new gTLDsSelim Gurun2014-03-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 13006774 Add support for new generic Top-Level Domains (gTLDs) from ICANN and deprecate the public APIs that depend on them. Due to the fast profileration of gTLDs, it has become hard to keep this API up-to-date. Further it already fails to recognize internal domains. We thus replace them with simple "any letter sequence" regexps. Change-Id: Ib6cb5360bbb4a02b14bb34acb30d1cc8ddec771b
* | | Fix attribute extraction, use color attrs in Quantum drawablesAlan Viverette2014-03-261-174/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | Removes some unused entries in the Quantum themes and styles and collapses identical styles since we don't have separate drawables anymore. Adds some Quantum text appearances as styles. BUG: 12368046 Change-Id: I9334feb87391cd54ad3b77b297d135de436e1417
* | | Camera2: Add partial flash stateZhijun He2014-03-251-0/+1
| |/ |/| | | | | | | | | Bug 13637334 Change-Id: Ife5d943851f3f47d33b05d7450765dd273eb1036
* | Unhide touch feedback drawable and wrapperAlan Viverette2014-03-241-0/+27
| | | | | | | | Change-Id: I98926d4adfb6e8c6130b31c8f4534a1a382d0f3b
* | Merge "Implement APIs for obtaining, caching themed Drawables"Alan Viverette2014-03-251-0/+12
|\ \
| * | Implement APIs for obtaining, caching themed DrawablesAlan Viverette2014-03-241-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Drawables are inflated during preload (or otherwise without a theme) they cache their themeable attributes in their constant state as an array keyed on attribute index. Drawables inflated with a theme will simply resolve theme attributes as part of normal inflation, and they will not cache any themeable attributes. Drawables obtained from Resources are pulled from theme-specific cache when possible. If an unthemed Drawable exists in the preload cache, a new constant state will be obtained for the Drawable and the theme will be applied by resolving the cached themeable attributes and overwriting their respective constant state properties. If no cached version exists, a new Drawable is inflated against the desired theme. Constant states from themed drawables may be cached if the applied theme is "pure" and was loaded from a style resource without any subsequent modifications. This CL does not handle applying themes to several Drawable types, but it fully supports BitmapDrawable, GradientDrawable, NinePatchDrawable, ColorDrawable, and TouchFeedbackDrawable. BUG: 12611005 Change-Id: I4e794fbb62f7a371715f4ebdf946ee5f9a5ad1c9
* | | resolved conflicts for merge of 6c45157c to masterJose Lima2014-03-241-14/+16
|\ \ \ | |/ / |/| | | | | Change-Id: I95d7f927f4321405318b44a21172b99f3f16e00a
| * | am eb2c85df: Merge "Added isGame application tag to the manifest" into ↵Jose Lima2014-03-241-0/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | klp-modular-dev * commit 'eb2c85df4b2d8ea5dd3cd08cb0367d5ff666afe6': Added isGame application tag to the manifest
| | * \ Merge "Added isGame application tag to the manifest" into klp-modular-devJose Lima2014-03-241-0/+2
| | |\ \
| | | * | Added isGame application tag to the manifestJose Lima2014-03-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added the ability to flag applications as Games in the manifest, so they can receive a different treatment in the UI. Change-Id: I4c36bc1a96757030fad58ee050cd68491b31bb6c
* | | | | am 775a097f: am 3c34e5db: am c01e1aeb: Merge "Add HdmiCecManager" into ↵Jinsuk Kim2014-03-241-1/+81
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | klp-modular-dev * commit '775a097f01a349548d2124ae9d7dd562c72eaa27': Add HdmiCecManager
| * | | | am c01e1aeb: Merge "Add HdmiCecManager" into klp-modular-devJinsuk Kim2014-03-241-1/+81
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'c01e1aeb0d86bd626684c97d709d4a8e995fddfb': Add HdmiCecManager
| | * | | Merge "Add HdmiCecManager" into klp-modular-devJinsuk Kim2014-03-231-1/+81
| | |\ \ \ | | | |/ / | | |/| |
| | | * | Add HdmiCecManagerJinsuk Kim2014-03-241-1/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces HdmiCecManager/HdmiCecClient to provide apps/system components with the way to access HdmiCecService via Context.getSystemService(HDMI_CEC_SERVICE). Change-Id: I39da071a328074a4b7b049947943688bd7779c26
* | | | | Merge "Rework Outline API, remove isolatedZVolume remnants"Chris Craik2014-03-241-2/+9
|\ \ \ \ \
| * | | | | Rework Outline API, remove isolatedZVolume remnantsChris Craik2014-03-241-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I30c2fe832dcb98fa6329b1a595b3d3aafbdcad6b
* | | | | | Update current.txt for offset attributes.Will Haldean Brown2014-03-241-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0f88a6f327edfc207c081e424e3c97edd1451c90
* | | | | | am ede2a729: am ccd55a92: am f8c78b50: Update current.txt to include ↵Will Haldean Brown2014-03-241-0/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | windowSwipeToDismiss * commit 'ede2a729c394461e5b3ea674e4762e7e6feed81d': Update current.txt to include windowSwipeToDismiss
| * | | | | am f8c78b50: Update current.txt to include windowSwipeToDismissWill Haldean Brown2014-03-211-0/+1
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | * commit 'f8c78b50fc9f6c81c7ad5d76c81445653dcf3cd9': Update current.txt to include windowSwipeToDismiss
| | * | | | Update current.txt to include windowSwipeToDismissWill Haldean Brown2014-03-211-0/+1
| | | |/ / | | |/| | | | | | | | | | | | Change-Id: I5cbee85f7fe852e534a722083feead7359404732
* | | | | Merge "Add Activity methods for icons and labels."Craig Mautner2014-03-221-0/+4
|\ \ \ \ \
| * | | | | Add Activity methods for icons and labels.Craig Mautner2014-03-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New Activity methods setRecentsLabel(CharSequence) and setRecentsIcon(Bitmap) have been added. The topmost activity with either of these set will be returned in RecentTaskInfo members activityLabel and activityIcon. Fixes bug 13562992. Change-Id: Ic15d1d27b733b892a2a940063b105ac48f1ffee5
* | | | | | Merge "Add notification category for recommendations."John Spurlock2014-03-221-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Add notification category for recommendations.John Spurlock2014-03-211-0/+1
| | |_|/ / | |/| | | | | | | | | | | | | Change-Id: I3718b8273c3f901aee1b2c2cdc4fcdae25fadcad
* | | | | resolved conflicts for merge of a67e34c8 to masterColin Cross2014-03-211-0/+48
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / Change-Id: I597525886260884c9b2dfc7945e01eb8138a58c2
| * | | am c61f4dd7: Merge "Add HDMI-CEC service" into klp-modular-devJinsuk Kim2014-03-211-0/+48
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'c61f4dd744b1b0396703aa58eb22fc31d2b7050e': Add HDMI-CEC service
| | * | Merge "Add HDMI-CEC service" into klp-modular-devJinsuk Kim2014-03-211-0/+48
| | |\ \
| | | * | Add HDMI-CEC serviceJinsuk Kim2014-03-201-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL adds a system service handling HDMI-CEC protocol. The service is equipped with the capability sending/receiving HDMI-CEC messages Not all the messages are in place. Currently it has messages to support a few features only, as follows: - One touch play - System information - Routing control (partially - active source status maintenance only) - Device OSD transfer - Power status It will be extended to cover the wider usages in the follow up CLs. The CEC standard version referenced in the implementation is 1.3a. Change-Id: Ifed0b02f52ebf098eddb3bd0987efbf353b7e8fe
* | | | | Unhide notification category.John Spurlock2014-03-211-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename @hidden Notification.kind -> category, and flesh out shared values. Now a single value. Update framework references, remove unused SystemUpdateService magic value unused since 2012. Change-Id: If06d19ff3a8c3125fca1457f5d3c665e2939c66c
* | | | | App widget backup/restore infrastructureChristopher Tate2014-03-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backup/restore now supports app widgets. An application involved with app widgets, either hosting or publishing, now has associated data in its backup dataset related to the state of widget instantiation on the ancestral device. That data is processed by the OS during restore so that the matching widget instances can be "automatically" regenerated. To take advantage of this facility, widget-using apps need to do two things: first, implement a backup agent and store whatever widget state they need to properly deal with them post-restore (e.g. the widget instance size & location, for a host); and second, implement handlers for new AppWidgetManager broadcasts that describe how to translate ancestral-dataset widget id numbers to the post-restore world. Note that a host or provider doesn't technically need to store *any* data on its own via its agent; it just needs to opt in to the backup/restore process by publishing an agent. The OS will then store a small amount of data on behalf of each widget-savvy app within the backup dataset, and act on that data at restore time. The broadcasts are AppWidgetManager.ACTION_APPWIDGET_RESTORED and ACTION_APPWIDGET_HOST_RESTORED, and have three associated extras: EXTRA_APPWIDGET_OLD_IDS EXTRA_APPWIDGET_IDS EXTRA_HOST_ID [for the host-side broadcast] The first two are same-sized arrays of integer widget IDs. The _OLD_IDS values are the widget IDs as known to the ancestral device. The _IDS array holds the corresponding widget IDs in the new post- restore environment. The app should simply update the stored widget IDs in its bookkeeping to the new values, and things are off and running. The HOST_ID extra, as one might expect, is the app-defined host ID value of the particular host instance which has just been restored. The broadcasts are sent following the conclusion of the overall restore pass. This is because the restore might have occurred in a tightly restricted lifecycle environment without content providers or the package's custom Application class. The _RESTORED broadcast, however, is always delivered into a normal application environment, so that the app can use its content provider etc as expected. *All* widget instances that were processed over the course of the system restore are indicated in the _RESTORED broadcast, even if the backing provider or host is not yet installed. The widget participant is responsible for understanding that these are promises that might be fulfilled later rather than necessarily reflecting the immediate presentable widget state. (Remember that following a cloud restore, apps may be installed piecemeal over a lengthy period of time.) Telling the hosts up front about all intended widget instances allows them to show placeholder UI or similarly useful information rather than surprising the user with piecemeal unexpected appearances. The AppWidgetProvider helper class has been updated to add a new callback, onRestored(...), invoked when the _RESTORED broadcast is received. The call to onRestored() is immediately followed by an invocation of onUpdate() for the affected widgets because they will need to have their RemoteViews regenerated under the new ID values. Bug 10622506 Bug 10707117 Change-Id: Ie0007cdf809600b880d91989c00c3c3b8a4f988b
* | | | | Added accessibility APIs for introspecting interactive windows.Svetoslav2014-03-201-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The old introspection model was allowing querying only the active window which is the one the user is touching or the focused one if no window is touched. This was limiting as auto completion drop downs were not inspectable, there was not way to know when the IME toggles, non-focusable windows were not inspectable if the user taps them as until a screen-reader starts introspecting the users finger is up, accessibility focus was limited to only one window and the user couldn't use gestures to visit the whole UI, and other things I can't remember right now. The new APIs allow getting all interactive windows, i.e. ones that a sighted user can interact with. This prevents an accessibility service from interacting with content a sighter user cannot. The list of windows can be obtained from an accessibility service or the host window from an accessibility node info. Introspecting windows obey the same rules for introspecting node, i.e. the service has to declare this capability in its manifest. When some windows change accessibility services receive a new type of event. Initially the types of windows is very limited. We provide the bounds in screen, layer, and some other properties which are enough for a client to determined the spacial and hierarchical relationship of the windows. 2. Update the documentation in AccessibilityService for newer event types. 3. LongArray was not removing elements properly. 4. Composite accessibility node ids were not properly constructed as they are composed of two ints, each taking 32 bits. However, the values for undefined were -1 so composing a 64 long from -1, -1 prevents from getting back these values when unpacking. 5. Some apps were generating inconsistent AccessibilityNodeInfo tree. Added a check that enforces such trees to be well formed on dev builds. 6. Removed an necessary code for piping the touch exploration state to the policy as it should just use the AccessibilityManager from context. 7. When view's visibility changed it was not firing an event to notify clients it disappeared/appeared. Also ViewGroup was sending accessibility events for changes if the view is included for accessibility but this is wrong as there may be a service that want all nodes, hence events from them. The accessibility manager service takes care of delivering events from not important for accessibility nodes only to services that want such. 8. Several places were asking for prefetching of sibling but not predecessor nodes which resulted in prefetching of unconnected subtrees. 9. The local AccessibilityManager implementation was relying on the backing service being ready when it is created but it can be fetched from a context before that. If that happens the local manager was in a broken state forever. Now it is more robust and starts working properly once the backing service is up. Several places were lacking locking. bug:13331285 Change-Id: Ie51166d4875d5f3def8d29d77973da4b9251f5c8
* | | | | Add stream-level suppression to vibrate/audio services.John Spurlock2014-03-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add new audio restriction layer to app-ops. Restrictions add additional constraints to audio operations at a stream-level. Restrictions do not affect the persistable state, and are purely additive: that is, they can only impose additional contstraints, not enable something that has already been disabled. Restrictions also support a whitelisted set of exempt package names. - Add new audio stream-level checks to app-ops. - Implement a provisional OP_PLAY_AUDIO suppression to three java entry points MediaPlayer, AudioTrack, & SoundPool. - Enhance vibrator api to take stream information as an optional hint - the constants correspond to AudioManager stream types. OP_VIBRATE now supports the stream-level restriction check. - Simplify Vibrator subclasses by adding default implementations for two .vibrate calls. - Migrate NoMan's zen-mode control to use the new app-ops stream-level restriction mechanism. Change-Id: Ifae8952647202f728cf1c73e881452660c704678
* | | | | hal3: Add missing available mode tags.Ruben Brunk2014-03-181-0/+3
| |_|_|/ |/| | | | | | | | | | | Change-Id: I588aacade5c5638967970e2e7eb04924c0ea9cc7
* | | | Merge "Remove castsShadow and globalCamera APIs"Chris Craik2014-03-171-5/+2
|\ \ \ \
| * | | | Remove castsShadow and globalCamera APIsChris Craik2014-03-171-5/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I5c1c375f45946609b1635d952c5adf55e23bdd60
* | | | | Merge "Start enforcing explicit intents for Context.bindService()"Dianne Hackborn2014-03-171-0/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Start enforcing explicit intents for Context.bindService()Dianne Hackborn2014-03-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No longer prints a warning, now throws an exception. Also fix a bug in UserManagerService that was causing an exception while booting. Change-Id: I3b43cfe08067da840b6850b9bed58664d36d34f1
* | | | | Revert "Remove castsShadow and globalCamera APIs"Chris Craik2014-03-171-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 0334c314a5721f49b4d172a9cefe10f157cb28a4. Change-Id: I64714d17fb877e1b43c65eb44820d1128281c7a2