summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused settings constants from the SDK (framework).Svetoslav2015-03-104-18/+32
| | | | | | | | | | | The settings constants for various volumes do nothing and are used by nothing since API version 2. These are however backed up in the cloud which is a waste of resource. This change removes these constants from the SDK while keeping them hidden to avoid breaking released apps and also prevents unnecessary backup. Change-Id: I2e91863115f5a4b997a14f8d0f57b4dc9689cfab
* Merge "Cache photo URI too in calllog (contract)"Makoto Onuki2015-03-102-0/+2
|\
| * Cache photo URI too in calllog (contract)Makoto Onuki2015-03-092-0/+2
| | | | | | | | | | | | | | | | | | | | Enterprise phone lookup returns special photo URLs for corp contacts, which can't be obtained just with contact IDs. So we need to cache the URIs too and otherwise pictures sometimes don't show up. Bug 19546108 Change-Id: Iffd5ed16527a143ea55e40e42667e7d0c16d814a
* | Merge "Add DEPTH image formats, support in ImageReader"Eino-Ville Talvala2015-03-102-0/+4
|\ \
| * | Add DEPTH image formats, support in ImageReaderEino-Ville Talvala2015-03-092-0/+4
| |/ | | | | | | | | | | | | | | | | | | - Add an explicit mapping between public ImageFormat/ PixelFormat enums and internal HAL format/dataspace. - Add DEPTH16 and DEPTH_POINT_CLOUD formats - Wire up mapping layer to ImageReader to support depth formats Change-Id: I8197eccef900cc91baddcfcb934ccd4d8c972eff
* | enable FM tuner and hotword capture for system apps.Eric Laurent2015-03-091-0/+5
|/ | | | | | | | | AudioRecord constructor with AudioAttributes and session ID as well as HOTWORD and RADIO_TUNER audio sources are now system APIs. Renamed MediaRecorder.AudioSource.FM_TUNER to MediaRecorder.AudioSource.RADIO_TUNER. Change-Id: I231c20c21e3e8cffe1837482976ebe284c9af541
* Merge "Revert "Remove TrustAgent whitelisting API""Adrian Roos2015-03-092-0/+4
|\
| * Revert "Remove TrustAgent whitelisting API"Adrian Roos2015-03-052-0/+4
| | | | | | | | | | | | | | | | This reverts commit bc4f2ccf6cfd1a512ad907eda2713ea3c4a1755e and re-enables the API for MNC. Bug: 19461292 Change-Id: I53b94bacb6a879fcc0598edfc0f3d44a9dd9e84c
* | Merge "Add a new extra to specify the admin component for provisioning."Nicolas Prevot2015-03-092-2/+4
|\ \
| * | Add a new extra to specify the admin component for provisioning.Nicolas Prevot2015-03-092-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | An app may have several device admins. For this case, allow the caller to specify which one will become an active device admin, and the profile owner (in the profile owner flow). BUG:19348295 Change-Id: Ia5f995eed6c7f8933eb00d3250daa703ba6ee616
* | | Block setting wallpapers from managed profiles.Benjamin Franz2015-03-092-0/+2
|/ / | | | | | | | | | | | | | | | | | | Silently fail when a managed profile app tries to change the wallpaper and return default values for getters in that case. This is implemented through a new AppOp that is controlled by a new user restriction that will be set during provisioning. Bug: 18725052 Change-Id: I1601852617e738be86560f054daf3435dd9f5a9f
* | Merge "Deprecate things that rely on Debug.startAllocCounting."Hiroshi Yamauchi2015-03-062-48/+48
|\ \
| * | Deprecate things that rely on Debug.startAllocCounting.Hiroshi Yamauchi2015-03-052-49/+49
| | | | | | | | | | | | | | | | | | | | | | | | android.os.Debug.startAllocCounting() is deprecated but other things that rely on it or do not make sense without it aren't deprecated. Bug: 8241521 Change-Id: Ib769cb8f4e96f41ed310e17e7345acb2a630a076
* | | Provide better error reporting for WebViewMikhail Naganov2015-03-062-4/+42
| | | | | | | | | | | | | | | | | | | | | | | | Add new callbacks into WebViewClient that will provide notifications about subresource loading errors and HTTP errors received from servers. Bug: 19313118 Change-Id: Idb47f53ef7e72cb95f3e9b89d1e238d69e896b8b
* | | Merge "Add methods for device telephony configs."Andrew Lee2015-03-062-0/+4
|\ \ \
| * | | Add methods for device telephony configs.Andrew Lee2015-03-042-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Expose method for whether DTMF length can be changed. + Expose method for whether the device is a world phone. Bug: 19372734 Change-Id: I542e87cab1924eb600fdce929f5227e36112964b
* | | | Merge "Allow device and profile owners to set a user icon."Julia Reynolds2015-03-052-0/+2
|\ \ \ \
| * | | | Allow device and profile owners to set a user icon.Julia Reynolds2015-03-042-1/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: I7c2bafb85cff3fa063af7a2f27b76c69172f0525
* | | | | Merge "Prioritize regular names over phonetic names. P1"Brian Attwell2015-03-052-0/+2
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Prioritize regular names over phonetic names. P1Brian Attwell2015-03-052-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19587274 Change-Id: I503c0fff6da30b9f1d6b6cbeaedfc4d9314f8a00
* | | | | Add security check for clearDeviceInitializer in the service.Julia Reynolds2015-03-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19230954 Change-Id: I5c648492bef0d2b579b6f59b91afc890e3092d36
* | | | | Clean up the lock task APIs for COSU devices.Benjamin Franz2015-03-052-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up and increase readability of internal handling of lock task mode APIs. Add a public API to query the lock task mode state with pinned and locked as possible outcomes. Additionally, change wording in lock task toasts when in locked mode and update the javadoc regarding onLockTaskModeEntering and onLockTaskModeExiting to represent the actual behaviour. Bug: 19377096 Change-Id: Ia563078ca6ef6d6fc7e75130e6b94ba18af69340
* | | | | Merge "Add ChooserTargetService API"Adam Powell2015-03-052-0/+50
|\ \ \ \ \
| * | | | | Add ChooserTargetService APIAdam Powell2015-03-042-1/+51
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A ChooserTargetService can be implemented by apps that wish to offer additional deep-link targets for the system intent chooser to in turn offer to the user. This allows apps to create contextually relevant shortcuts for UI flows that would otherwise require several steps of explicit disambiguation. For example, a chat app might offer one-touch access to recent conversations when sharing a photo to it from elsewhere. The chooser implementation must limit the number of ChooserTargetServices it elects to query in order to respect available system resources. Only the system chooser is permitted to bind to a ChooserTargetService. Change-Id: Ia7e075ee649c51cf2035f20aee166c5a27d91aeb
* | | | | DOs can clear the DI; rehide hasUserSetupCompleted.Julia Reynolds2015-03-042-3/+1
|/ / / / | | | | | | | | | | | | | | | | Bug: 19230954 Change-Id: I97467229b23f3c9be1c3c4fff1c888a812f14a95
* | | | Allow the device initializer to perform user setup tasks.Julia Reynolds2015-03-042-0/+23
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A device initializer is an application that is allowed to run during user provisioning on device owner devices. During device provisioning (or, user provisioning of the first user of the device), a device initializer is granted device owner permissions. During secondary user provisioning, a device initializer is granted profile owner permissions. Once provisioning is complete for a user, all elevated permissions are removed from the device initializer and the device admin component of the app is disabled. Bug: 19230954 Change-Id: Ib6725fb3b09bb21e4198a5dc0b445ccebb40b27e
* | | MediaPlayer: add setPlaybackRate JAVA API.Wei Jia2015-03-032-0/+4
| | | | | | | | | | | | | | | Bug: 19196501 Change-Id: I43daced7d9b53bcaca4e6a8d81ca729b32efc79f
* | | Merge "CameraManager: implement flashlight controls"Chien-Yu Chen2015-03-032-2/+0
|\ \ \
| * | | CameraManager: implement flashlight controlsChien-Yu Chen2015-03-032-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the flashlight controls and callbacks and update the torch mode states. Bug: 2682206 Change-Id: I59025f34f9ece75dd535166a25c428b8d68c6e4b
* | | | Hide calllog entries for unregistered phone accountsSantos Cordon2015-03-031-0/+1
| | | | | | | | | | | | | | | | Change-Id: If1f873dd41c973442fa7a24020e56d13b7b5ad2c
* | | | Merge "Add generic "INTERACTION" event type to UsageStatsManager"Adam Lesinski2015-03-022-0/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | Add generic "INTERACTION" event type to UsageStatsManagerAdam Lesinski2015-03-022-0/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | This will allow for updating a package's last time used property for packages that are interacted in ways other than launching their activities (interacting with notifications, etc.) Change-Id: Ic6f9519f46fa04abd37ea6fc9475bcd9ea721003
* | | Merge "Add TextView XML attribute for undo support"James Cook2015-02-272-0/+2
|\ \ \
| * | | Add TextView XML attribute for undo supportJames Cook2015-02-272-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Defaults to true, but can easily be changed if we decide that undo should be off by default. Bug: 19332904 Change-Id: Ic4f3814a1b0a5e25171a910f2fe628606e16104e
* | | | Merge "Add fingerprint settings support to the framework"Jim Miller2015-02-272-0/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Add fingerprint settings support to the frameworkJim Miller2015-02-272-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - cleanup thread issue and simplify native FingerprintService methods - add new permissions and enforce them - add fingerprint hardware detection API Change-Id: I87c2243ea2412061f1e85b044138480d0161bcdf
* | | | Merge "Reland: Add basic support for Ctrl-Z to editable TextViews"James Cook2015-02-272-0/+4
|\ \ \ \ | |/ / / |/| | |
| * | | Reland: Add basic support for Ctrl-Z to editable TextViewsJames Cook2015-02-272-0/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reland 9201e797833f35b9afb219f88c10d3b6fda02a4e which was reverted in c8f08e07a47cc259a25caed3f731ee7044328635. Original description: * Add an UndoManager to the Editor for each editable TextView * Record operations as being owned by that Editor * Parcel the undo state * Wire hardware keyboard shortcuts Ctrl-Z for undo and Ctrl-Shift-Z for redo into TextView shortcut handling. * Expose IDs for "undo" and "redo" for symmetry with cut/copy/paste. Additional fix: * Ensure each UndoOwner always has a valid mManager, even after the UndoManager is parceled and restored. Bug: 19332904 Bug: 19505388 Change-Id: Iad4476e6e9ca952281e69bf22c07cca915dfa7bd
* | | Merge "Implement landscape layout for time picker dialog"Alan Viverette2015-02-272-0/+2
|\ \ \
| * | | Implement landscape layout for time picker dialogAlan Viverette2015-02-262-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support overriding default alert dialog panel elements by including them in the dialog's custom content view, but no public API (yet!) since the panel IDs have never been public. Some minor cleanup and refactoring in TimePickerDialog. Removes Holo styles for "clock" and "calendar" style pickers since they are new in Material. If the new styles are used against Holo they will match Material but with Holo primary/accent colors. Also implements themed color state lists to resolve TODOs in both time and date pickers. Bug: 19431361 Change-Id: I095fd8d653e02d9e5d20d66611432a08a7a5685e
* | | | Merge "expose ST_* in OsConstants"Nick Kralevich2015-02-272-0/+18
|\ \ \ \
| * | | | expose ST_* in OsConstantsNick Kralevich2015-02-262-0/+18
| | |_|/ | |/| | | | | | | | | | Change-Id: I7982843502cf8a17188b2422af44e8d41450a586
* | | | MenuItem, navigation and overflow icon tintingChris Banes2015-02-272-0/+28
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - iconTint and iconTintMode attrs for MenuItem, with associated setters. - navigationTint and navigationTintMode attrs for Toolbar with associated setters. - overlflowTint and overflowTintMode attrs for Toolbar with associated setters. BUG: 18126050 BUG: 19148351 BUG: 19305408 Change-Id: Ibd1fae7cdbc7a7c42809e52541fae5d8beb18e92
* | | Add intent for call accessibility settings.Andrew Lee2015-02-262-0/+2
| |/ |/| | | | | | | | | | | | | Preparatory work for adding a new Accessibility settigns activity in Telephony, which we will need an intent to be able to launch. Bug: 19372734 Change-Id: Ibf72ffe21da3ba2819eb165dda9bde30204bab68
* | Merge "Revert "Add basic support for Ctrl-Z to editable TextViews""James Cook2015-02-262-6/+2
|\ \
| * | Revert "Add basic support for Ctrl-Z to editable TextViews"James Cook2015-02-262-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9201e797833f35b9afb219f88c10d3b6fda02a4e. It causes crashes on typing after device orientation change. Bug: 19332904 Bug: 19505388 Change-Id: I0d9fb728eb6f8d591beb35fab333c0a182e24542
* | | Merge "QuickContacts can prioritize phone mimetype. Part1"Brian Attwell2015-02-262-0/+8
|\ \ \ | |/ / |/| |
| * | QuickContacts can prioritize phone mimetype. Part1Brian Attwell2015-02-262-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Define the ContactsContract for a new QuickContact extra. This can be used to tell QuickContacts to prioritize a given mimetype. Bug: 18391003 Change-Id: Ie5a93ad9e1919f470a638d4235d91fe337cb5ca3
* | | Merge "Rework voice interaction session lifecycle."Dianne Hackborn2015-02-262-2/+10
|\ \ \ | |_|/ |/| |
| * | Rework voice interaction session lifecycle.Dianne Hackborn2015-02-252-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now have a formal concept of the session being shown and hidden, with it being able to continue running while hidden as long as there is enough RAM. This changes the flow that a VoiceInteractionSession will see: onCreate() is when it is first created, onCreateContentView() is when its UI first needs to be built, onShow() is called each time it needs to be shown and has the arguments given when the show request was made (which has been renamed from startSession to showSession), and then onHide() will be called when the UI is no longer shown. The methods show() and hide() now allow a VoiceInteractionSession subclass to control when it is shown and hidden, working with the shown state being maintained by the system. Change-Id: Ic4a430ec7e8bf76a5441fd0425e2932806170fcc