summaryrefslogtreecommitdiffstats
path: root/api/current.txt
Commit message (Collapse)AuthorAgeFilesLines
* Properly expose methods that override a non-hidden method in a hidden ↵C. Sean Young2015-09-181-0/+8
| | | | | | | | superclass in the API files. Updates the api files to reflect a doclava change. Change-Id: I416773be3aa3a8536684549011fa63b34f0d5251
* Revert "Handle KEYCODE_SOFT_SLEEP from Ungaze."Nick Armstrong-Crews2015-09-081-1/+0
| | | | | | | | This reverts commit 677adf1e66ba83b8fb2c849c181303b35bd489bc. Hiding new keycode to prevent change to public API before resubmitting. Change-Id: Ic43273dd0c7ade1d51a36b77f363543f1df466e8
* Handle KEYCODE_SOFT_SLEEP from Ungaze.Nick Armstrong-Crews2015-09-041-0/+1
| | | | | | | | | | | Needed for Ungaze to trigger "soft sleep" (respecting wake locks); operates by sending new KEYCODE_SOFT_SLEEP to PhoneWindowManager, which calls PowerManagerService's new method setUserInactiveOverride (thereby causing immediate sleep, modulo wakelocks, upon next iteration of PowerManagerService's main loop). BUG: b/23589870 Change-Id: I24a96bd6db8ff28674c907f2898e49c4f6140209
* Merge "Fix issue #23116383: Include security patch level in Settings" into ↵Dianne Hackborn2015-08-131-0/+2
|\ | | | | | | mnc-dev
| * Fix issue #23116383: Include security patch level in SettingsDianne Hackborn2015-08-121-0/+2
| | | | | | | | Change-Id: I4934c7d26bf69b5c599962cd74ac1e4ea4ad4b51
* | Fix issue #23122445: Add 420 densityDianne Hackborn2015-08-111-0/+1
|/ | | | Change-Id: I15c113eb7e22f1d882db071c007224746f9d408f
* Fix issue #23037899: Support for Battery Optimization permission + DialogDianne Hackborn2015-08-101-0/+2
| | | | | | New permission, new Intent action. Change-Id: I1d9ba55be8f72074e29d33ad7a0a12a820bbac39
* Merge "DO NOT MERGE. Add new media navigation keys." into mnc-devMichael Wright2015-08-071-0/+4
|\
| * DO NOT MERGE. Add new media navigation keys.Michael Wright2015-08-071-0/+4
| | | | | | | | | | Bug: 22059484 Change-Id: Ifd8fd18178fed45ead2980b957dd1d177e40f165
* | Merge "Fix issue #22843150: fragment transaction crash from ↵Dianne Hackborn2015-08-061-0/+1
|\ \ | | | | | | | | | onRequestPermisssionResult" into mnc-dev
| * | Fix issue #22843150: fragment transaction crash from onRequestPermisssionResultDianne Hackborn2015-08-051-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | Add new Activity callback to tell it when its saved state has been invalidated. The problem is that delivering the permission result does not go through a path where the compatibility code can see it first to mark its fragment manager as no longer having saved state. So this new callback gives it a place to do that. Change-Id: I5a4a185d9c746bae1afb5c588aba82c8daccf079
* | Merge "Correctly hide setConnectionService" into mnc-devYorke Lee2015-08-051-1/+0
|\ \ | |/ |/|
| * Correctly hide setConnectionServiceYorke Lee2015-08-041-1/+0
| | | | | | | | | | Bug: 22957023 Change-Id: Ia3bd74f2fcc9f9dd5c9298f4505c18ee652436be
* | Fix issue #22860466: viapi security bug - rubber stamping in nested VIsDianne Hackborn2015-08-031-0/+1
|/ | | | | | | | | | | | | | | | | Add new Activity.isVoiceInteractionRoot() API that an activity can use to determine whether it is the root activity of a voice interaction session started by the user's designated voice interaction service. This is a special new API that apps must explicitly check, because as with visual activities the model behind an activity should usually be that it accomplishes its task by interacting with the user (implicitly getting their approval) rather than trusting that whoever invoked it is telling it to do what the user once. In the voice world, however, there are some cases where quick interactions want to allow for immediate execution without further user involvement, so this API allows for that without opening up security holes from other applications. Change-Id: Ie02d2458f16cb0b12af825641bcf8beaf086931b
* Merge "Change MNC codename to just M." into mnc-devDianne Hackborn2015-07-311-1/+1
|\
| * Change MNC codename to just M.Dianne Hackborn2015-07-291-1/+1
| | | | | | | | Change-Id: I4281d200ff6560791c47cf9073ceea1cb509361e
* | Add telecom extra keys required for DMR release.Tyler Gunn2015-07-301-0/+4
| | | | | | | | | | Bug: 22848290 Change-Id: I3328234e3f07d83d0dbe5b61b959344b6cc5cc3f
* | Bug: 21589105 Rescope WRITE_SETTINGS permission (framework services perm checkBilly Lau2015-07-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes) AppOpsManager: Changed the default operating mode for WRITE_SETTINGS to MODE_DEFAULT from MODE_ALLOWED. packages/SettingsProvider: We no longer do static permission checks for WRITE_SETTINGS in early checks and defer that to app op when MODE_DEFAULT is returned. For some operations, checking against WRITE_SECURE_SETTINGS is sufficient. ActivityManagerService & PowerManagerService: Incorporated app op checks and handled the MODE_DEFAULT case. provider/Settings: Added helper function to do checks on whether app ops protected operations can be performed by a caller. This includes checks for WRITE_SETTINGS and SYSTEM_ALERT_WINDOW. Also added a public API (with javadocs) for apps to query if they can modify system settings. Changed the javadocs description for ACTION_MANAGE_WRITE_SETTINGS and ACTION_MANAGE_OVERLAY_PERMISSION. Added public API (with javadocs) for apps to query whether they can draw overlays or not, and also javadocs description on how to use that check. Change-Id: I7b651fe8af836c2074defdbd6acfec3f32acdbe9
* | Merge "Fix and deprecate lock pattern related settings" into mnc-devAdrian Roos2015-07-291-1/+1
|\ \ | |/ |/|
| * Fix and deprecate lock pattern related settingsAdrian Roos2015-07-271-1/+1
| | | | | | | | | | Bug: 22557690 Change-Id: Ib4b3ef7cebe815ba9d9d2284f945a9ec746b216c
* | Merge "Send a public broadcast when the device owner is set." into mnc-devNicolas Prévot2015-07-291-0/+1
|\ \
| * | Send a public broadcast when the device owner is set.Nicolas Prevot2015-07-281-0/+1
| |/ | | | | | | | | | | | | Make it a protected broadcast. BUG: 22623518 Change-Id: Ia36e8f0b80a6301d7d8e0461476842c78762b5e8
* | Merge "Add "Call subject" capability to phone accounts." into mnc-devTyler Gunn2015-07-281-0/+1
|\ \
| * | Add "Call subject" capability to phone accounts.Tyler Gunn2015-07-271-0/+1
| |/ | | | | | | | | | | | | | | | | Indicates whether the phone account supports displaying a subject line for incoming calls and sending a subject line for outgoing calls. Supports the IMS Instant Lettering feature. Bug: 22769741 Change-Id: I6d803dc288bfd6d4e356310a8d10d5468c5d4186
* | Merge "Work on issue #21516866: Implement voice interaction in ↵Dianne Hackborn2015-07-281-0/+1
|\ \ | | | | | | | | | ResolverActivity" into mnc-dev
| * | Work on issue #21516866: Implement voice interaction in ResolverActivityDianne Hackborn2015-07-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main change here is to not allow the dialog to go in to its "focus on the last app the user selected" when running in voice interaction mode, instead just always giving a simple list. This also fixes some problems with cleaning up active commands when an activity finishes and not forcing the current session to go away when the screen is turned off. Also added some debug help, having activity print the state of the voice interactor. Change-Id: Ifebee9c74d78398a730a280bb4970f47789dadf5
* | | Un-remove legacy ConnectivityManager API.Robert Greenwalt2015-07-281-0/+3
|/ / | | | | | | | | | | | | | | These were @removed too soon. We need to keep them @deprecated until the bulk of devices support the new API and then we can remove them. bug:22728205 Change-Id: If1b46ff1878f1778517624112b195c461645ddd1
* | Merge "Added the content description for the fingerprint icon" into mnc-devSelim Cinek2015-07-271-0/+1
|\ \ | |/ |/|
| * Added the content description for the fingerprint iconSelim Cinek2015-07-241-0/+1
| | | | | | | | | | | | | | | | Added a content description for the fingerprint icon, which should be used throughout the platform. Bug: 22616421 Change-Id: I8d65a568af926a692fd6be3e27d40b5d2dd6cbb1
* | Merge "Add FEATURE_FINGERPRINT to PackageManager's feature list" into mnc-devJim Miller2015-07-241-1/+2
|\ \ | |/ |/|
| * Add FEATURE_FINGERPRINT to PackageManager's feature listJim Miller2015-07-221-1/+2
| | | | | | | | | | | | Fixes bug 22674557 Change-Id: I3d78e6bedc3ac18a25a06ac50e3a7eee4161fe70
* | Merge "Add a privileged permission to get user accounts" into mnc-devSvetoslav Ganov2015-07-221-0/+1
|\ \
| * | Add a privileged permission to get user accountsSvet Ganov2015-07-211-0/+1
| | | | | | | | | | | | | | | | | | bug:22602794 Change-Id: I6e5429f0eb5f2cb274d4740755070e588735e179
* | | Merge "Work on issue #22303510: Additional permissions aren't properly..." ↵Dianne Hackborn2015-07-221-0/+1
|\ \ \ | |_|/ |/| | | | | into mnc-dev
| * | Work on issue #22303510: Additional permissions aren't properly...Dianne Hackborn2015-07-211-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | ...disabled after toggling them off Keep track of whether a permission that has been declared by an app was able to actually be installed in the system, along with an API to find this information so that system UI can tell whether that permission is of interest. Also clean up some of the permission debug output. Change-Id: If4541bedb857789b255bb18f03cad155dcda0b95
* | Merge "Add callback to voice interaction session for lockscreen shown" into ↵Jorim Jaggi2015-07-211-0/+1
|\ \ | |/ |/| | | mnc-dev
| * Add callback to voice interaction session for lockscreen shownJorim Jaggi2015-07-211-0/+1
| | | | | | | | | | Bug: 22402726 Change-Id: Iaf83e2f2b0389d74b6ecf480aa91a34443803f7b
* | Fix issue #22564918: Request is inactiveDianne Hackborn2015-07-201-0/+1
|/ | | | | | | | | Add Request.isActive() API. Also improve documentation to tell people what things cause it to become inactive. And fix a race where we were modifying the active list from outside the main thread without locking it. Change-Id: I9248e014126cb121612edbe595108ace753456e2
* Merge "Fix issue #22531747: Assist info should declare if user has ↵Dianne Hackborn2015-07-201-0/+3
|\ | | | | | | disabled..." into mnc-dev
| * Fix issue #22531747: Assist info should declare if user has disabled...Dianne Hackborn2015-07-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...context and/or screenshot Added new API to find out what contextual data has been globally disabled. Also updated various documentation to make it clear what kind of contextual data you will get (and when it will be null). Also added a new Activity.showAssist() API because... well, I was already in there, it was easy to do, it is safe, and maybe people will build cool things with it. Change-Id: Ia553d6bcdd098dc0fce4b9237fbfaca9652fc74b
* | Merge "Bug: 22598083 Document how apps can detect WRITE_SETTINGS or ↵Billy Lau2015-07-201-0/+2
|\ \ | | | | | | | | | SYSTEM_ALERT_WINDOW through AppOps" into mnc-dev
| * | Bug: 22598083 Document how apps can detect WRITE_SETTINGS or SYSTEM_ALERT_WINDOWBilly Lau2015-07-201-0/+2
| |/ | | | | | | | | | | | | | | | | | | through AppOps Expose OP_STR strings that describes the ops for WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permissions such that apps can query AppOpsManager whether this capability is turned on or off by the user. Change-Id: I0e7a6f39e02389290232e450624b40ffb255abfb
* | Icon-related Notifications API changes:Dan Sandler2015-07-171-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | - Deprecate Notification.icon and largeIcon. setSmallIcon(Icon) and setLargeIcon(Icon) should be used instead. - Add Icon support to Notification actions; deprecate Action.icon and methods/ctors that use int. Bug: 21310773 Bug: 21271587 Change-Id: Iddac8121e7690e9d7a0360edb488ab77e3e8fb3a
* | Update ChooserTarget constructor to take ComponentName, BundleAdam Powell2015-07-161-4/+3
|/ | | | | | | | | | | | | | Simplify ChooserTarget handling by requiring a target component and an extras bundle instead of a full PendingIntent/IntentSender. This simplifies the handling of URI grants from sending apps. Prune ChooserTargets that point at ComponentNames that don't share a package with the original matching Activity target or that aren't exported so that we don't show the user something they can't launch. Bug 22516282 Change-Id: I3439c0910b4fa4f95c7a881b529942c96ffc953e
* Implement issue #22403908: Enable assistant to refuse context sharingDianne Hackborn2015-07-151-0/+4
| | | | | | | New APIs allow the voice interaction service to set/retrieve a filter for which of the show flags are allowed. Change-Id: I588cbe55afee0548ad3afa22d3a7d3bc43cb54a6
* Merge "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW ↵Billy Lau2015-07-121-1/+2
|\ | | | | | | permission" into mnc-dev
| * Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permissionBilly Lau2015-07-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Raised the protection level of WRITE_SETTINGS permission to appop and also allowed backwards compatibility with pre23 flag. Also made sure that this permission is not added as RuntimePermission in DefaultPermissionGrantPolicy as that breaks a lot of gmscore stuff. Introduced new action to manage write system settings as a new API and renamed the string that describes the managing of overlay permission. Change-Id: Ifd25a6ddc06de68ee37015cb9fb23452e4ef10f4
* | Revert "Revert "Security: AccountChooser shouldn't auto reveal accounts.""Carlos Valdivia2015-07-101-1/+2
| | | | | | | | | | | | | | | | Fixes api stuff. This reverts commit f2d248db8078e716b809e0a17cacdea5c5609bd5. Change-Id: I75c05a17ebde4f245e1f3e0cc22e622d06534c4b
* | Merge "Add android.net.CaptivePortal class for captive-portal-handling-app ↵Paul Jensen2015-07-101-3/+9
|\ \ | | | | | | | | | callbacks" into mnc-dev
| * | Add android.net.CaptivePortal class for captive-portal-handling-app callbacksPaul Jensen2015-07-091-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | This new class replaces the awkward string token and ConnectivityManager APIs used by apps handling captive portals. Bug:21343774 Change-Id: I1a2c69edb17322715bf8422bb4216b0ea60bfd59