12407 Commits

Author SHA1 Message Date
Julia Reynolds
146d931ece Merge "Allow apps to know what users think of their notifications." into nyc-dev 2016-02-10 14:10:24 +00:00
Shawn Willden
ea46bb2cbf Merge "Add attestation API to Android KeyStore." into nyc-dev 2016-02-09 22:57:24 +00:00
Julia Reynolds
81afbcdbf9 Allow apps to know what users think of their notifications.
- App wide blocking
- Topic importance

Change-Id: I9026e5c26c5dbcab1c86c385beede891f961933f
2016-02-09 14:54:08 -05:00
Andres Morales
7364905303 Merge "updates to FrameStatsObserver API" into nyc-dev 2016-02-09 19:00:32 +00:00
Andres Morales
910beb8f5d updates to FrameStatsObserver API
- Rename to FrameMetrics to avoid collision with existing
  android.view.FrameStats class
- Make FrameMetricsObserver implementation detail,
  exposing FrameMetricsListener interface as public API
  and wrapping in FrameStatsObserver to maintain state
- Remove dropped frame count call, in favor of passing as
  parameter to callback method.
- Move away from raw timestamp access in favor of Metric IDs
  which represent higher-level, more stable stages in a frame
  lifecycle and match the categories exposed in the onscreen
  bars.
- Support many-to-many Window<->FrameMetricsListener relationship

Change-Id: I00e741d664d4c868b1b6d0131a23f8316bd8c5c2
2016-02-09 10:40:01 -08:00
Selim Gurun
2d291d89f9 Introduce a use32bitAbi flag
Bug: 26874366

On Multiarch apps, it might be necessary to prioritize 32bit Abi ahead
of 64bit ones. The use32bitAbi flag enables this.

This CL also reverts the public api changes in  I2c1fd1d036efe72b28b5fe996416df69a583959f and Ie3ecea6d84e2cb1522e736a21c3a3a24ac62eb27. Previously
the same functionality was provided using a raw abi string that
utilized cpuabioverride flag.

Change-Id: Idce3cbfedd11ef9079ce8a2901e69d30b1cf9ef4
2016-02-09 10:20:21 -08:00
Neil Fuller
3fcec1a8dc Add java.util.function APIs
Bug: 26814204
(cherry picked from commit 311a97e7f41c494bc355f5d77adc276e2a400970)

Change-Id: I3fab2b12676bd1460553b4cb45b1ff602f6c09c1
2016-02-09 10:17:38 +00:00
Jae Seo
2a061b5bcf Merge "TIF: Allow the application to indicate a TV program to record" into nyc-dev 2016-02-09 02:14:12 +00:00
Wei Wang
c5c898640f Merge "Enable RTT Responder Role (1/4)." into mm-wireless-dev
am: 03a6b18350

* commit '03a6b1835060b6c2082ea231fb1ad539aefd916e':
  Enable RTT Responder Role (1/4).
2016-02-09 01:14:34 +00:00
Wei Wang
03a6b18350 Merge "Enable RTT Responder Role (1/4)." into mm-wireless-dev 2016-02-09 01:07:34 +00:00
Jean-Michel Trivi
c315398694 Merge "Support for Bundle in AudioAttributes" into nyc-dev 2016-02-08 23:13:19 +00:00
Jae Seo
4eee6a73e4 TIF: Allow the application to indicate a TV program to record
Bug: 26962040
Change-Id: I2f062a4621c8a9a6765543826ba2cd607f1468d4
2016-02-08 14:51:52 -08:00
Amit Mahajan
c08268e647 Make permission RECEIVE_EMERGENCY_BROADCAST public.
It is required to receive intent SMS_EMERGENCY_CB_RECEIVED_ACTION
which is already public.

Bug: 24914029
Change-Id: I2d5461fcedb2cb347c818ab6f94577008f6af242
(cherry picked from commit 45d9b36fc6a609893022b812084987cda3e3717d)
2016-02-08 22:20:03 +00:00
Tao Bao
6af1d75a0c Merge "Add system APIs for A/B update." into nyc-dev 2016-02-08 22:07:05 +00:00
Shawn Willden
8d8c747774 Add attestation API to Android KeyStore.
Bug: 22914603
Change-Id: I7c6162dc7a390aa48a2542494780959b01c23bd4
2016-02-08 19:29:54 +00:00
Jean-Michel Trivi
f82f746903 Support for Bundle in AudioAttributes
Bug 25449464

Change-Id: I99cdfd4589e3161b52620e439ba993ce21d256b4
2016-02-08 19:24:19 +00:00
Adam Powell
44ba79e47d Permit setRetainInstance(true) on nested fragments, framework edition
Save arbitrarily nested fragments across config changes as
nonconfiguration objects. This permits the use of retain-instance
child fragments as arbitrary opaque dependencies within other
fragments.

Change-Id: Ia6640b76cfcf7ec28ba252628957a0c14863e957
(cherry picked from commit 7466be66263d5ebffb786ea402d9ed6e36c254f0)
2016-02-08 19:10:44 +00:00
Adam Powell
8585ed66b9 FragmentTransaction.commitNow, framework edition
Offer commitNow and commitNowAllowingStateLoss methods on Fragment for
use by encapsulated components using fragments as implementation
details. This can help prevent unexpected ordering side effects at the
app level when a call to a library method wants to commit and
immediately initialize a fragment as an implementation detail.

Note that this change still does not permit reentrant FragmentManager
operations. It is still an error to add/remove/change fragments in the
same FragmentManager while a fragment transaction is being executed.

Have the commonly used ViewPager adapters use commitNow instead of
executePendingTransactions.

Change-Id: Ia37a871234a287423063f0c2c3e4c93d69116cad
(cherry picked from commit f6b30662f87f7339d0d3946dcf71e930c2fead9b)
2016-02-08 19:00:52 +00:00
Tao Bao
43cd1bcb10 Add system APIs for A/B update.
Add android.os.UpdateEngine and UpdateEngineCallback classes that
communicate with the update engine via binder APIs for A/B update.

Bug: 26695366
Change-Id: I2471858d28df5443bc0b56d9a20281ccebde4484
2016-02-08 10:38:35 -08:00
Julia Reynolds
d560729ce3 Update DND visual interruption choices.
Change-Id: I7050264839c566dcef1dd01d155dda694a8d1ec0
2016-02-08 15:20:02 +00:00
Abhijith Shastry
d48935879a Carrier config to support overriding block suppress duration after emergency contact.
BUG: 26989170
Change-Id: I6d8f13dd4f2b69730826cc8440a22c7154255ac8
2016-02-05 15:06:56 -08:00
Chris Wren
10c63d8a12 move assistant to system API
Bug: 26693581
Change-Id: I7e29b8521e2c33683b8032e63da734cfde1dfcc9
2016-02-05 14:55:35 -05:00
Chris Wren
3b543ca859 Revert "move assistant to system API"
This reverts commit c441856bb6c5712efab9d5ef422c95210884a1d8.
2016-02-05 10:49:22 -05:00
Chris Wren
c441856bb6 move assistant to system API
Bug: 22455414
Change-Id: I2fbb37fceef3058bc70d540a58fdcd8af5e7a76d
2016-02-05 08:22:18 -05:00
Jae Seo
0cc5a9d8f6 MediaBrowser: Add extra lookup keys to specify media items to retrieve
Bug: 25821318, Bug: 25153123, Bug: 25153113
Change-Id: I50cc99439a4a6dd714cf7bfd0950e2583554668a
2016-02-05 12:52:17 +09:00
Roozbeh Pournader
fee4484637 Various LocaleList cleanups
- Remove the LocaleList#getPrimary() API. It had become confusing
  after locale negotiation was completely implemented. For example,
  it could create the confusion that calling getPrimary() on the
  default locale list would provide the default locale, etc.
- Use the adjusted locale list from LocaleList.getAdjustedDefault()
  in Paints created with no locale list provided.
- Change LocaleList#get() to treat out of bound indexes from both
  negative indexes and too large indexes the same way.

Bug: 26984092
Bug: 26193251
Bug: 26834387
Change-Id: I75f77aea6b75e38793ed8477e5e5a4420d5e6d85
2016-02-04 15:44:03 -08:00
Igor Murashkin
b6aae68912 Merge "api: Un-@hide new annotation APIs from java 8" 2016-02-04 18:56:24 +00:00
Mikhail Naganov
cc83ea7967 Merge "Make flags related for "external services" public" 2016-02-04 17:41:19 +00:00
Felipe Leme
5f5d707bad Defined an intent to let apps launch the Data Saver settings screen.
BUG: 26451391
BUG: 26820898
Change-Id: Ie9dbe2d08d362aa548e385967d101faafb87c9b7
2016-02-04 17:20:13 +00:00
Neil Fuller
49d34d995b Merge "Revert "Add java.util.function APIs"" 2016-02-04 13:11:00 +00:00
Neil Fuller
b7b1db11d6 Revert "Add java.util.function APIs"
Premature submission. Need to wait until stubs support 1.8.

This reverts commit 311a97e7f41c494bc355f5d77adc276e2a400970.

Change-Id: Iba1361b90f75cad139f94044184c5295483fedcd
2016-02-04 13:09:42 +00:00
Neil Fuller
14ea90e824 Merge "Add java.util.function APIs" 2016-02-04 13:07:43 +00:00
Steven Ng
ee081d5bd0 Merge "Add new permission and action for managed provisioning (QR flow)" 2016-02-04 10:24:44 +00:00
Abhijith Shastry
3af4eb5b50 Merge "Add API in TelecomManager to launch the UI to manage blocked numbers." 2016-02-04 03:43:54 +00:00
Mikhail Naganov
278fb3b359 Make flags related for "external services" public
ServiceInfo.FLAG_EXTERNAL_SERVICE is set when the service is
exported with the new public manifest attribute "android:externalService"

Context.BIND_EXTERNAL_SERVICE is used by clients when they
are binding such service.

Bug: 22084679
Bug: 21643067
Change-Id: Ifd708f90b47a1571cd54c5ec9fc217f0567d5ff4
2016-02-03 16:22:33 -08:00
Vladislav Kaznacheev
383b7aa01b Merge "Make pointer-icon attrs public" 2016-02-03 21:51:48 +00:00
Jan Nordqvist
f52a8f6ef7 Fixed API merge issue in master.
Change-Id: I4bf0104ee703daa4da78d6637c1fa82ace57f073
2016-02-03 13:01:03 -08:00
Jan Nordqvist
962c6a81e3 Merge "New System APIs for Passpoint r2 app." into mm-wireless-dev
am: fd600b1113

* commit 'fd600b1113af6f66e28b65f5b53f4a7c751cdef9':
  New System APIs for Passpoint r2 app.
2016-02-03 20:00:47 +00:00
Wei Wang
564527dc5a Enable RTT Responder Role (1/4).
Change-Id: Ic1cd9056b3ebc67759d628a45b34287e5b0320b6
2016-02-03 11:32:50 -08:00
Vinit Deshpande
a772f0cf34 New System APIs for Passpoint r2 app.
Change-Id: I09428e9a393999f43aefe5efd77cffe4b1b17da5
2016-02-03 11:28:21 -08:00
Antonio Cansado
1e3f04f090 Merge "Adding a callback to notify data usage." 2016-02-03 18:16:51 +00:00
Selim Gurun
061371b3ee Merge "Make abiOverride attribute public" 2016-02-03 17:09:09 +00:00
Tomasz Mikolajewski
9b055e1d84 Hide DocumentsContract.FLAG_ARCHIVE.
The API is internal for now.

Bug: 20176812
Change-Id: I9f2c796b144906fdf4a838240c85d26f02dbe175
2016-02-03 15:11:07 +09:00
Lifu Tang
d7a4da42bd Merge changes from topic 'API renaming'
* changes:
  Worked around the crash caused by API renaming
  Rename Gps to Gnss for measurement-related APIs
2016-02-03 02:08:28 +00:00
Vladislav Kaznacheev
3d40fb804b Make pointer-icon attrs public
Bug: 25777986
Change-Id: Id8d2b8f2b7f0983486528265ea76a2ec40da70a5
2016-02-02 17:27:42 -08:00
Lifu Tang
d46d308562 Worked around the crash caused by API renaming
Bug: 26885642
Change-Id: I1f1ad76d18444d5f250397ef491e1dd4858f0a1d
2016-02-02 17:25:32 -08:00
Lifu Tang
818aa2c2c4 Rename Gps to Gnss for measurement-related APIs
Bug: 26895757
Change-Id: I12d89dc251e356cf976a4bcd3589a8925a8ad745
2016-02-02 16:15:03 -08:00
Felipe Leme
f933871976 Merge "Created a ACTION_RESTRICT_BACKGROUND_CHANGED intent." 2016-02-02 23:59:30 +00:00
Wale Ogunwale
e8c9238de1 Merge "Added onMultiWindowChanged and onPictureInPictureChanged methods to Fragement class" 2016-02-02 23:53:47 +00:00
Wale Ogunwale
7c796811c0 Added onMultiWindowChanged and onPictureInPictureChanged methods to Fragement class
Bug: 26688489
Change-Id: I611444b29199b4686c9f78dbdd33c9b71820aec4
2016-02-02 15:45:00 -08:00