summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "Work on issue #22303510: Additional permissions aren't properly..." ↵Dianne Hackborn2015-07-222-0/+2
|\ \ \ \ | |_|/ / |/| | | | | | | into mnc-dev
| * | | Work on issue #22303510: Additional permissions aren't properly...Dianne Hackborn2015-07-212-0/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...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-212-0/+2
|\ \ \ | |/ / |/| | | | | mnc-dev
| * | Add callback to voice interaction session for lockscreen shownJorim Jaggi2015-07-212-0/+2
| | | | | | | | | | | | | | | Bug: 22402726 Change-Id: Iaf83e2f2b0389d74b6ecf480aa91a34443803f7b
* | | Fix issue #22564918: Request is inactiveDianne Hackborn2015-07-202-0/+2
|/ / | | | | | | | | | | | | | | | | 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-202-0/+6
|\ \ | | | | | | | | | disabled..." into mnc-dev
| * | Fix issue #22531747: Assist info should declare if user has disabled...Dianne Hackborn2015-07-202-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...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-202-0/+4
|\ \ \ | | | | | | | | | | | | SYSTEM_ALERT_WINDOW through AppOps" into mnc-dev
| * | | Bug: 22598083 Document how apps can detect WRITE_SETTINGS or SYSTEM_ALERT_WINDOWBilly Lau2015-07-202-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-172-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-162-8/+6
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Add APIs for verifier to grant at install and revoke permissions" ↵Svet Ganov2015-07-161-0/+3
|\ \ | |/ |/| | | into mnc-dev
| * Add APIs for verifier to grant at install and revoke permissionsSvet Ganov2015-07-151-0/+3
| | | | | | | | | | | | bug:22231699 Change-Id: Ie0c758bf73699f50bf99ff5aa0bf98dcc9004e37
* | Implement issue #22403908: Enable assistant to refuse context sharingDianne Hackborn2015-07-152-0/+8
|/ | | | | | | 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-122-2/+4
|\ | | | | | | permission" into mnc-dev
| * Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permissionBilly Lau2015-07-122-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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-102-2/+4
| | | | | | | | | | | | | | | | Fixes api stuff. This reverts commit f2d248db8078e716b809e0a17cacdea5c5609bd5. Change-Id: I75c05a17ebde4f245e1f3e0cc22e622d06534c4b
* | Merge "Add android.net.CaptivePortal class for captive-portal-handling-app ↵Paul Jensen2015-07-102-6/+18
|\ \ | | | | | | | | | callbacks" into mnc-dev
| * | Add android.net.CaptivePortal class for captive-portal-handling-app callbacksPaul Jensen2015-07-092-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | This new class replaces the awkward string token and ConnectivityManager APIs used by apps handling captive portals. Bug:21343774 Change-Id: I1a2c69edb17322715bf8422bb4216b0ea60bfd59
* | | Merge "Revert "Security: AccountChooser shouldn't auto reveal accounts."" ↵Bart Sears2015-07-102-4/+2
|\ \ \ | | | | | | | | | | | | into mnc-dev
| * | | Revert "Security: AccountChooser shouldn't auto reveal accounts."Baligh Uddin2015-07-102-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c3b3f46d5fcbd89deeb557556e5a695c3e5349a1. Change-Id: I6d156e1ad82c052606f76644fe6085f14e82a734
* | | | Merge "Camera2: Reorganize high-speed recording API slightly" into mnc-devEino-Ville Talvala2015-07-102-4/+10
|\ \ \ \
| * | | | Camera2: Reorganize high-speed recording API slightlyEino-Ville Talvala2015-07-102-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Split off distinct high speed capture session class from base capture session - Move createHighSpeedRequestList to CameraConstrainedHighSpeedCaptureSession Bug: 21664295 Change-Id: I67d705fdeee1eaa6e5e3e1416771d5d0df642843
* | | | | Merge "Security: AccountChooser shouldn't auto reveal accounts." into mnc-devCarlos Valdivia2015-07-102-2/+4
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | | Security: AccountChooser shouldn't auto reveal accounts.Carlos Valdivia2015-07-092-2/+4
| | | | | | | | | | | | | | | | | | | | Bug: 9739125 Change-Id: Ib9032271def423aaafdab2505afaf6b1d3fcad06
* | | | Merge "Add an API for apps to query if a permisison is denied by policy." ↵Svet Ganov2015-07-102-0/+4
|\ \ \ \ | |/ / / |/| | | | | | | into mnc-dev
| * | | Add an API for apps to query if a permisison is denied by policy.Svet Ganov2015-07-082-0/+4
| | |/ | |/| | | | | | | | | | | | | bug:22177216 Change-Id: I32227f55097fae997f33743fd1eee06cb18f47f1
* | | Fix issue #22328792: Fix scalability issues in AssistStructureDianne Hackborn2015-07-092-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can now stream the AssistStructure across processes, avoiding IPC size limitations for large structures. There is also a new API that gets called on the VoiceInteractionSession if there is a failure retrieving the assist data. Also fix issue #22351981: Runtime restart due to ANR in system server, getting rid of a deadlock. And also tweak object lifecycles to try to avoid keeping around in an app the previous AssistStructure after we request a new one. Change-Id: Ifb136a0d31a14e56a8db6b90768d9fc65557a17f
* | | Remove "final" qualifier from AuthenticationResultJim Miller2015-07-092-2/+2
|/ / | | | | | | | | | | | | | | | | This allows mock implementations to be created for testing purposes. Fixes bug 22362080 Change-Id: I5ff002c077d22b1338f2f4e394ad19827bb2ae9c
* | Merge "audio: add definitions for devices connected over IP" into mnc-devEric Laurent2015-07-082-0/+2
|\ \
| * | audio: add definitions for devices connected over IPEric Laurent2015-07-062-0/+2
| | | | | | | | | | | | | | | | | | Bug: 22068684. Change-Id: I0411679d2852135d4af3016844ced74f7718fa0d
* | | Add new "preinstalled" permission flag.Dianne Hackborn2015-07-072-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows you to specify that a permission can be granted to any pre-installed system app (not just privileged ones). And as long as I am doing this, clean up the old "system" permission flag, renaming it to "privileged" which is what it really is today, deprecating the old names. And switch the platform's permission declarations to use the new name. Change-Id: Iabf484746af232144786851ec7fe90e3de9dddb2
* | | Merge "Implement better handling of text in assist." into mnc-devDianne Hackborn2015-07-072-0/+6
|\ \ \
| * | | Implement better handling of text in assist.Dianne Hackborn2015-07-072-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TextView is now much smarter about the text it reports, limiting it to what is visible (plus a bit more). Also add a facility for it to report where the lines of text are, both as offsets in the text string and their baselines on screen. Part of fixing issue #22328792: Fix scalability issues in AssistStructure Change-Id: Idddb8c3a3331355f381e2d4af06d520fe7c7ce8e
* | | | Merge "Grant installer and verifier install permissions robustly" into mnc-devSvetoslav2015-07-072-2/+6
|\ \ \ \
| * | | | Grant installer and verifier install permissions robustlySvetoslav2015-07-072-2/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | bug:22248271 Change-Id: I3a47ae9a112ba7d88b421fcb5f9651d1168ba7a5
* | | | Merge "Camera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge ↵Eino-Ville Talvala2015-07-072-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | enhancement" into mnc-dev
| * | | | Camera: Add ZERO_SHUTTER_LAG modes to noise reduction and edge enhancementEino-Ville Talvala2015-07-072-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This mode splits processing quality based on stream resolution, to enable ZSL operation where low-resolution (preview/recording) streams require more processing since they are immediately user-visible, while the high-resolution intermediate ZSL stream should have minimal/no processing since it will be reprocessed into final quality when necessary Bug: 22266686 Change-Id: Ib41102b66b07d61a099f021f8c6251f28c62686f
* | | | | Merge "Report specific exception type on decrypt with invalid session" into ↵Jeff Tinker2015-07-072-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | mnc-dev
| * | | | | Report specific exception type on decrypt with invalid sessionJeff Tinker2015-07-062-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 22235465 Change-Id: Ic1e1a86529d4f2246b9768799aacde5cd1070d04
* | | | | | Revert "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permission"Ian Pedowitz2015-07-072-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d6b404c72da7e2475508c7d5948494b2e9b1a262. This CL seems to have broken the build, causing GMSCore to continuously crash. Bug: 22313634 Bug: 22312938 Bug: 22314605 Bug: 22308392 Bug: 22307889
* | | | | | Merge "Add WebView permission MIDI sysex" into mnc-devRichard Coles2015-07-072-0/+2
|\ \ \ \ \ \
| * | | | | | Add WebView permission MIDI sysexTao Bai2015-06-232-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0d27e8ca48ee35b02dddc5d85ecfebfdaa3ec8cb
* | | | | | | Merge "Final resource IDs." into mnc-devIan Pedowitz2015-07-072-116/+64
|\ \ \ \ \ \ \
| * | | | | | | Final resource IDs.Dianne Hackborn2015-07-062-116/+64
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Change-Id: I6200a013375f1b3e196b6426a6c925f4e9dfe4b1
* | | | | | | Merge "Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW ↵Billy Lau2015-07-072-2/+4
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | permission" into mnc-dev
| * | | | | | Bug: 21589105 Rescope WRITE_SETTINGS and SYSTEM_ALERT_WINDOW permissionBilly Lau2015-07-072-2/+4
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Raised the protection level of WRITE_SETTINGS permission to appop and also allowed backwards compatibility with pre23 flag. 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: I939a95b9a8b1ae75bf67aa6d8190c92a8d2001d3
* | | | | | Merge "Unhide signal strength constants used by getLevel." into mnc-devCasey Ho2015-07-062-0/+10
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Unhide signal strength constants used by getLevel.Casey Ho2015-06-222-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 22008966 Change-Id: I0c1dc993cbf33a7109d8a4e329b05a897df6ea1b
* | | | | | Merge "Minor doc fixes for VoiceInteractor." into mnc-devBarnaby James2015-07-062-10/+0
|\ \ \ \ \ \