12092 Commits

Author SHA1 Message Date
Jean-Michel Trivi
b919f6fd71 Unhide audio recording notification API
Introduce new methods and classes for the audio recording
  configuration update and query API.
Callback registration supports a Handler.

Bug 22876530

Change-Id: I819ad464f095d970b5d1d8a3781fcf8dbb310424
2016-01-21 15:09:38 -08:00
Makoto Onuki
e5fea6fad1 Merge "SUW shouldn't use hidden APIs." 2016-01-21 21:36:45 +00:00
Oleksandr Peletskyi
b7cc096fd4 Merge "Added restriction if a user is allowed to change the icon. BUG: 25305966" 2016-01-21 20:25:46 +00:00
Oleksandr Peletskyi
7f1f1dfc87 Added restriction if a user is allowed to change the icon.
BUG: 25305966

Change-Id: I3d527224f00087b2bd959879ebb143e2ecb9c914
2016-01-21 20:49:32 +01:00
Phil Weaver
75fab6b8bc Merge "Pass drawing order information to accessibility." 2016-01-21 19:17:48 +00:00
Kenny Guy
8c32981f12 Merge "Update PackageMonitor and LauncherApps for suspended apps." 2016-01-21 19:04:20 +00:00
Sergey Poromov
d3665f1f0f Merge "Introduce BackupManager#requestBackup & BackupObserver API" 2016-01-21 18:55:28 +00:00
Phil Weaver
1f2225486d Pass drawing order information to accessibility.
Bug: 22721935
Change-Id: I45a2be7c174c8b5a469b68a45dec0eb536825d92
2016-01-21 10:35:26 -08:00
Sergey Poromov
fe06bf64d2 Introduce BackupManager#requestBackup & BackupObserver API
Introduces a way to request immediate backup for list of packages
and receive callbacks on backup progress.

Bug: 25688526
Change-Id: Ib826933d44f4ebf2b981f8be366215b2d37847e2
2016-01-21 19:15:33 +01:00
Kenny Guy
772427555f Update PackageMonitor and LauncherApps for suspended apps.
Allow launchers to read ApplicationInfo from LauncherApps
to support suspended flag.
Provide callback to launchers via LauncherApps for suspend
/unsuspend broadcasts.

Change-Id: I772a121c45f60f926e8343bb6f181bef4e8929d3
2016-01-21 15:15:04 +00:00
Jinsong Mu
e09e245b92 Merge "Accessibility services can turn themselves off b/22514381 Added disableSelf() method to AccessibilityService This newly added api used used in https://googleplex-android-review.git.corp.google.com/#/c/833857/" 2016-01-21 06:01:22 +00:00
Jinsong Mu
a9e7a3bbe8 Accessibility services can turn themselves off b/22514381
Added disableSelf() method to AccessibilityService
This newly added api used used in
https://googleplex-android-review.git.corp.google.com/#/c/833857/

Change-Id: I5fe60181058ef90dd496318cf270e0825bcc411a
2016-01-20 21:56:50 -08:00
Selim Gurun
223531d88a Merge "Add the system apis for token binding" 2016-01-21 00:42:44 +00:00
Ronghua Wu
66d96977bd Merge "media: Add MIMETYPE_VIDEO_DOLBY_VISION." 2016-01-21 00:42:23 +00:00
Selim Gurun
a5171370f2 Add the system apis for token binding
Bug: 22665752

Token binding protocol is the next generation channel-ID protocol,
currently it is a draft in IETF
 https://tools.ietf.org/html/draft-ietf-tokbind-protocol-03

Add the api as a system api (will be public once the draft finalizes)

Change-Id: If971cc7e6d14f15c778b9b027df9fc48dac0160c
2016-01-20 14:26:46 -08:00
Sandra Kwan
390c9d2d91 AccountManager: add isCredentialsUpdateSuggested API.
Change-Id: I27e0db0345f3431b796a944740dab767b45f7871
2016-01-20 13:58:49 -08:00
Jeremy Klein
94e95746db Merge "Expose WifiAp methods as @SystemApi." 2016-01-20 19:27:14 +00:00
Jeremy Klein
b625377b1a Expose WifiAp methods as @SystemApi.
GTS tests to follow shortly.

BUG: 22406002
Change-Id: I42883fa5e35a11b4b2d734f07b7d72f2ac0ec1f8
2016-01-20 11:17:53 -08:00
Andrei Stingaceanu
69d5ebc59e Suspend apps - broadcast intent and API
Send a protected broadcast to registered receivers only
when packages get suspended.

Bug: 22776761
Change-Id: I043053ed45bdc202ead18518a0c1e39cce47947c
2016-01-20 17:52:41 +00:00
Jason Monk
8bcbb9bc87 Merge "Add LinearLayout#getGravity" 2016-01-20 15:55:44 +00:00
Jason Monk
efe916c3c7 Add LinearLayout#getGravity
Change-Id: I290790b8e84e14f2702c6fc9c679b1c435cc13a8
2016-01-20 10:55:09 -05:00
Junda Liu
3f4c8d21e2 Merge "Make getIccSimChallengeResponse a carrier API." 2016-01-20 06:33:09 +00:00
Rubin Xu
900fe2410d Merge "Add JNI bridge to the new logd security buffer." 2016-01-19 23:31:32 +00:00
Makoto Onuki
a2b274bd03 SUW shouldn't use hidden APIs.
Make getDeviceOwnerNameOnAnyUser() a system API.

Bug 26142341

Change-Id: I481b26f45c35215b9221d96b66833af47fcf5cf0
2016-01-19 13:31:13 -08:00
Jonathan Basseri
663d09ab42 Merge "Un-hide carrier config keys." 2016-01-19 17:09:50 +00:00
Martijn Coenen
6f9595382c Merge "NFC: Allow apps to specify they're done with tag." 2016-01-19 15:32:36 +00:00
Jaesung Chung
5a8b9627c7 Extend MediaScanner and MtpDatabase to support RAW image files
Bug: 25871812
Change-Id: Iee92632585dc9020238a9b562defd06d6d2a91dc
2016-01-19 09:43:35 +09:00
Martijn Coenen
3748600bad NFC: Allow apps to specify they're done with tag.
When an application is no longer interested in
communicating with a tag, but the tag is kept in
range of the device for a long amount of time, we
will burn a lot of power keeping the connection
to it alive.

Instead, allow the app to signal it's "done" with
the tag, which allows us to put the controller
in a low-power mode. This will save power in scenarios
such as an NFC tag embedded in a car dock or
wireless charging dock.

Bug: 26426491
Change-Id: I7a0149ede46e0c7610b06ed1776344b772677350
2016-01-18 14:53:28 -08:00
Michal Karpinski
a8c8851caa Merge "DPM changes to support remote bugreports" 2016-01-18 10:00:55 +00:00
Yohei Yukawa
ac3e599069 Merge "Introdude IC#deleteSurroundingTextInCodePoints()." 2016-01-18 05:34:26 +00:00
Ricardo Garcia
ed5865b172 Merge "Adding UNPROCESSED to the available audio_sources and SUPPORT_AUDIO_SOURCE_UNPROCESSED property" 2016-01-17 20:07:15 +00:00
rago
a7cc59c318 Adding UNPROCESSED to the available audio_sources and
SUPPORT_AUDIO_SOURCE_UNPROCESSED property

bug: 25564291
Change-Id: I05d48fcc1859501902aa38604a5b86fa5d468468
2016-01-15 18:33:13 -08:00
Amith Yamasani
12747879b0 User creation with an intent
New API for an app to request creating a new user with
a given user name and seed account information for the
SetupWizard to use when that user is switched into.

Also adds system APIs to read the seed account data from
UserManager.

Bug: 22776757
Change-Id: I0bc3f11ee19c15e0ee2a908c88d98b13296cc30d
2016-01-15 17:06:35 -08:00
Brad Ebinger
2e98cfd70b Merge "Refactoring and cleanup" 2016-01-16 00:24:43 +00:00
Mikhail Naganov
2a0a2e0129 Merge "Mark Context.BIND_EXTERNAL_SERVICE as SystemApi" 2016-01-15 23:44:23 +00:00
Paul Mclean
33c1c5560a Merge "Native Audio Routing and (Java) AudioRouting (interface)." 2016-01-15 23:07:39 +00:00
Paul McLean
ed36ca3d4f Native Audio Routing and (Java) AudioRouting (interface).
Adding AudioRouting (Java) interface for routing control
in AudioTrack and AudioRecord.
Deprecating current (Marshmallow) Routing APIs in
AudioTrack and AudioRecord.
Adding package-private constructors to AudioTrack and AudioRecord
to connect to native player/recorder.

Bug: 23899814
Change-Id: I7df7a687fbd56a34c1f5769ffe005eba2a059505
2016-01-15 15:59:37 -07:00
Jonathan Basseri
ab5acff9c7 Un-hide carrier config keys.
CarrierConfigManager is not meant to have hidden keys, but some were
needed after API 23 freeze. So add them to API 24.

Change-Id: Ibf25cd3c779bf90ccf1b113445b823707bfb918e
2016-01-15 14:51:57 -08:00
Hall Liu
3f93288bb0 Merge "Add method to dump Telecom analytics" 2016-01-15 22:28:09 +00:00
Yohei Yukawa
ccc2e0d9df Merge "Replace Locale with LocaleList in LocaleSpan." 2016-01-15 21:46:36 +00:00
Yohei Yukawa
c38b519539 Replace Locale with LocaleList in LocaleSpan.
This is a straightforward upgrading of LocaleSpan.

LocaleSpan was designed to be a mechanism to override text locale only
in a certain substring.  Since now text locale supports multiple locales
with LocaleList, it should make sense to let LocaleSpan have the ability
to have multiple locales with LocaleList.

This CL also addresses an existing issue that LocaleSpan maintained only
Language/Country/Variant tags.  Now Locale data associated with a
LocaleSpan is guaranteed to be preserved as long as each of them can be
created from a BCP 47 language tag with Locale#forLanguageTag(String).

Bug: 26567158
Change-Id: Ib754796d399cd00f9d02005df88874a5cd5c7642
2016-01-15 13:14:03 -08:00
Hall Liu
0464b9ba16 Add method to dump Telecom analytics
Add dumpAnalytics in TelecomManager to allow the connectivity stats
service to access Telecom analytics for uploading.

Change-Id: I197d6af340fac7f38b28bb44a476b5e694db4dba
2016-01-15 12:43:27 -08:00
Mikhail Naganov
8a790c0469 Mark Context.BIND_EXTERNAL_SERVICE as SystemApi
This way, it can be used in WebView's Chromium code.

Bug: 22084679
Bug: 21643067
Change-Id: Ia34f08857d02876f94b24df79c46212d34b01036
2016-01-15 11:32:14 -08:00
Rubin Xu
75431fbe36 Add JNI bridge to the new logd security buffer.
Bug: 26127031
Bug: 22860162
Change-Id: I14e08850ece7d9c0229b7213ee2e25cd089defc1
2016-01-15 17:18:49 +00:00
Julia Reynolds
f4fb94ceab Merge changes I1149cb5b,Ib89a17aa
* changes:
  Allow condition providers to specify a rule instance limit.
  Verify zen rule owners before persisting rules.
2016-01-15 16:43:57 +00:00
Julia Reynolds
43b70cdc39 Allow condition providers to specify a rule instance limit.
Bug: 25563007
Change-Id: I1149cb5be59668f8869c81cb46c5ead49aec933a
2016-01-15 10:30:17 -05:00
Benjamin Franz
d5002c1244 Merge "Introduce new intent action to set parent challenge" 2016-01-15 14:04:00 +00:00
Benjamin Franz
c992109885 Introduce new intent action to set parent challenge
Introduce a new intent action that triggers setting of the challenge of
the parent user. The existing intent action is repurposed to always
trigger setting the challenge of the calling user.

Change-Id: Ia7afe268b2de95537bed5bbb57163fd23bb55b6a
2016-01-15 11:39:16 +00:00
Yohei Yukawa
f1fc5a0fe8 Merge changes Ib5ea8131,I571d6cc9
* changes:
  Add a new API IMM#dispatchKeyEventFromInputMethod().
  BaseInputConnection shouldn't rely on @hide APIs.
2016-01-15 01:23:09 +00:00
Andre Eisenbach
2787b33708 Fix OOB pairing related API build breakage
Change-Id: I813eaec0c5e97939998f4a1b26875af222ab4f89
2016-01-15 00:35:00 +00:00