Commit Graph

24658 Commits

Author SHA1 Message Date
danielle cohen
b67cb62204 Add ODI_CAPTIONS_OPTED_OUT to secure settings.
Test: none
Bug: 128978908
Change-Id: I3d49ea4e071ace0e457f29fc1a19ef0a279e51f9
2019-03-21 04:05:37 +00:00
Dongwon Kang
455756633c Merge "Address feedback on MediaTimestamp, SubtitleData and TimeMetadata" 2019-03-21 03:37:05 +00:00
Lajos Molnar
5e8dc2c87c Merge "media: refine MediaCodecInfo video PerformancePoints" 2019-03-21 02:51:48 +00:00
Lajos Molnar
2e7ec95cbe Merge "media: break out subprofiles for AV1" 2019-03-21 02:28:59 +00:00
Patrick Huang
9609c2c2a1 Merge "Add "from" extra for ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED" 2019-03-21 01:39:10 +00:00
Yu-Han Yang
6b49665d79 Add CONSTELLATION_IRNSS constant in GnssStatus
Bug: 119270132
Test: builds and existing tests passed.
Change-Id: Ida9c33ddf87d799ff6e46dab7312d4e3dfc66d33
2019-03-20 17:47:22 -07:00
Dongwon Kang
b911907651 Address feedback on MediaTimestamp, SubtitleData and TimeMetadata
Test: MediaTimestampTest, SubtitleDataTest, TimeMetadataTest
Bug: 128547839, Bug: 128460405
Change-Id: I9f2b0e10b6fecbf7b0338586974ab8a720ab77b7
2019-03-21 00:33:15 +00:00
Jeff Sharkey
8c6eee1124 Merge "Implement dual-permission model for storage." 2019-03-20 23:49:08 +00:00
Jeff Sharkey
5212157f0b Merge "Fix reading app ops data - framework" 2019-03-20 23:44:16 +00:00
Anil Admal
500b316a02 Merge "Update getGnssCapabilities() in LMS to include sub-HAL capabilities" 2019-03-20 23:05:12 +00:00
TreeHugger Robot
84c457fb39 Merge "API cleanup: remove PackageInstaller.SessionParams#setEnableRollback" 2019-03-20 22:39:25 +00:00
Lajos Molnar
0c21cc9096 media: break out subprofiles for AV1
Bug: 128933583
Change-Id: I7d664736908d049602e88e927983d7d46b802f77
2019-03-20 15:33:07 -07:00
Brad Ebinger
d2b1925d5f Merge "Make ImsException final" am: cdc0da732d am: ec6bf56d64
am: 89a9462bfa

Change-Id: I71956dd999c8ec4be67bb6d58e1a1c3101e7c2b8
2019-03-20 13:53:13 -07:00
Brad Ebinger
89a9462bfa Merge "Make ImsException final" am: cdc0da732d
am: ec6bf56d64

Change-Id: I21066c2da0f05fdb0fd7b34744d173ab9a63a43d
2019-03-20 13:39:29 -07:00
Brad Ebinger
ec6bf56d64 Merge "Make ImsException final"
am: cdc0da732d

Change-Id: Ic2aafb555b69398852409fc80f6ace5f0f92d1dc
2019-03-20 13:29:07 -07:00
Todd Kennedy
29162935f0 Merge "OMS: expose getOverlayInfo API" 2019-03-20 20:15:48 +00:00
TreeHugger Robot
e0bbc2761f Merge "RRO: Flag ApplicationInfo if it's an RRO" 2019-03-20 20:13:44 +00:00
Brad Ebinger
cdc0da732d Merge "Make ImsException final" 2019-03-20 20:10:32 +00:00
Nadav Bar
67122808dc Merge "Annotate ODI_CAPTIONS_ENABLED with @SystemApi" 2019-03-20 19:32:06 +00:00
Matt Pape
8b7b17b8f9 Merge "Remove interface for Storage." 2019-03-20 19:15:52 +00:00
Pengquan Meng
a70d308d65 Merge "[API feedback] fixed API for NR" am: 7afba9e583
am: ffddf67508

Change-Id: Ic3d7bf6773c61b8f738164e6a41ea616dd0286ac
2019-03-20 11:52:27 -07:00
Pengquan Meng
ffddf67508 Merge "[API feedback] fixed API for NR"
am: 7afba9e583

Change-Id: I703b745d276171f57092668d502441d45ae6ded6
2019-03-20 11:42:00 -07:00
TreeHugger Robot
100bb0e692 Merge "[Magnifier-80] Make API getters relative to window" 2019-03-20 18:20:36 +00:00
Pengquan Meng
546c24ccb6 [API feedback] fixed API for NR
This CL included the follow change:
1. Change getPreferredNetworkTypeBitmap to
getPreferredNetworkTypeBitmask [b/126552419]
2. Change setPreferredNetworkTypeBitmap to
setPreferredNetworkTypeBitmask [b/126552419]
3. Add @IntRange annonation to CellIdentityNr.getNrarfcn() [b/126552419]

4. In javadoc, explain the acronym NR to say: (New Radio 5G)
[b/126552559]

5. Mark CellInfoNr.getCellSignalStrength and CellInfoNr.getCellIdentity
    as @NonNull [b/126699572]

6. Mark CellIdentityNr.getMncString() and CellIdentityNr.getMccString()
    as @Nullable [b/126702744]

Bug: 126552419
Bug: 126552559
Bug: 126699572
Bug: 126702744
Test: build
Merged-In: I133075a3688c3fa7550c8a2f43bc13d8b25999b2
Change-Id: I133075a3688c3fa7550c8a2f43bc13d8b25999b2
2019-03-20 11:19:21 -07:00
Felipe Leme
1047cba3e8 Merge "Added manifest metadata to define the content capture settings activity." 2019-03-20 18:04:06 +00:00
Wonsik Kim
d0bcc39f55 Merge "MediaFormat: add a key for B frames" 2019-03-20 17:38:28 +00:00
shafik
2603027f99 API cleanup: remove PackageInstaller.SessionParams#setEnableRollback
Test: build
Fixes: 127282838
Change-Id: Id17b88cc0f8e73fefc1047cd571298ae75086e96
2019-03-20 16:57:37 +00:00
Anil Admal
993497864e Update getGnssCapabilities() in LMS to include sub-HAL capabilities
The GNSS capabilities in the gnss@2.0 HAL have been refactored
(b/128028791, b/127434062, b/128309220). The sub-HAL capabilities
in the top level IGnssCallback.hal have been moved into their
respective sub-HALs. Consequently, the getGnssCapabilities()
method in LocationManagerService is hereby modified to include
the capabilities from all sub-HALs and the top level HAL.

A new GnssCapabilities class needs to be added so that we don't
expose the implementation details of the capabilities (a Java
int bitmask of capability flags) to the LocationManager client.

Bug: 128913861
Test: TBD
Change-Id: I5ed90332c7c0e783de771f573a58f79d1d6d89ff
2019-03-20 09:51:39 -07:00
Mihai Popa
ef456970fe [Magnifier-80] Make API getters relative to window
The CL updates Magnifier#getPosition() and Magnifier#getSourcePosition()
to return coordinates relative to the main application window, rather
than relative to the surface backing it. Working with window relative
coordinates is the better approach for public APIs. The CL also makes
View#getLocationInSurface public. Magnifier CTS tests still need it,
when testing MAX_IN_SURFACE behavior.

Bug: 124012182
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: I684f27aa466e0390c7801b616331f4682784c423
2019-03-20 16:08:46 +00:00
Felipe Leme
a5d5e2db8f Added manifest metadata to define the content capture settings activity.
Test: m update-api
Test: mmm frameworks/base/:doc-comment-check-docs
Test: adb shell dumpsys content_capture
Test: CtsContentCaptureServiceTestCases

Bug: 119264902

Change-Id: I656c50d9a45f68312898c8857572d5fe3f55c193
2019-03-20 08:36:24 -07:00
Svet Ganov
8e5bf968c1 Fix reading app ops data - framework
There was an optimized code path that is hit if the op
has not been accessed that does not write the uid state
information which did not add the closing tag which
resulted in producing a malformed XML.

Test: atest android.app.appops.cts.AppOpsTest#testNonHistoricalStatePersistence

bug:128872367

Change-Id: Iaddcce09b41f3e124e1838b65731d8dac9ca64e3
2019-03-20 15:12:23 +00:00
Felipe Leme
34b24bd409 Merge "New ContentCapture constant: ActivityEvent.TYPE_ACTIVITY_DESTROYED" 2019-03-20 14:33:21 +00:00
danielle cohen
2577712683 Annotate ODI_CAPTIONS_ENABLED with @SystemApi
Test: none
Bug: 128974602
Change-Id: I46a339819c86bef0925873025ca3cf59cd968081
2019-03-20 16:14:13 +02:00
Zoran Jovanovic
946e32f394 RRO: Flag ApplicationInfo if it's an RRO
This is important when deciding whether or not to create
a hidden app detail activity or within AppInfo in Settings
application.

Bug: 119440359
Bug: 124556507
Test: build and test with Settings app
Change-Id: I02324e5c0a146f4df4cc4a5b1b62059bc9153d23
2019-03-20 06:47:00 -07:00
TreeHugger Robot
544ff6d65b Merge "Revert "Add Foldable feature flag"" 2019-03-20 12:22:17 +00:00
Sam Lin
dbf5312511 Revert "Add Foldable feature flag"
This reverts commit 821f43aa64.

Reason for revert: better fit:
- restrict the Package Manager feature flags to features for which the app developer would need to "target"
- typically hardware types should be mutually exclusive to each other

Bug: 124406307
Test: make checkbuild
Change-Id: Ie247a21eb8bbc83efad833ca8db675fd11e7ea4e
2019-03-20 12:21:45 +00:00
Richard Uhler
ce844797cd Merge "Only allow rollback to be enabled on modules." 2019-03-20 09:40:13 +00:00
Jack Yu
dc025370cd Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo" am: 936c536bba
am: 55e73c27a8

Change-Id: I84a8dcfbfad1e9d2b8b342f1f4cce9d8c9a4c69d
2019-03-20 00:03:39 -07:00
Jack Yu
55e73c27a8 Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"
am: 936c536bba

Change-Id: I8142e09fbee353c95a4b429e8d1bc7365aa5863e
2019-03-19 23:42:34 -07:00
Xiangyu/Malcolm Chen
588663fb09 Merge "Better description and parameter name of setPreferredDataSubscriptionId" 2019-03-20 06:41:26 +00:00
Jack Yu
936c536bba Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo" 2019-03-20 06:30:53 +00:00
Wonsik Kim
d28eaf750e MediaFormat: add a key for B frames
Bug: 127315857
Test: builds
Change-Id: I680712fd11515579c56dd17173c28faa545a7ad3
2019-03-19 22:34:38 -07:00
Remi NGUYEN VAN
c3f661ffdb Merge "Add Parcelable implementation for ApfCapabilities" am: cea27f4327 am: 39e5f3feaf
am: 61ac53a0fc

Change-Id: I4d878b8dc0928aca47f944050becaa4d5206e336
2019-03-19 18:09:23 -07:00
Remi NGUYEN VAN
61ac53a0fc Merge "Add Parcelable implementation for ApfCapabilities" am: cea27f4327
am: 39e5f3feaf

Change-Id: Iecec6a6376e2ff64d24813dbdb5b958f6968d627
2019-03-19 17:59:22 -07:00
Remi NGUYEN VAN
39e5f3feaf Merge "Add Parcelable implementation for ApfCapabilities"
am: cea27f4327

Change-Id: I218b583755259a8c0824777c3247a090bdbd348b
2019-03-19 17:51:34 -07:00
Remi NGUYEN VAN
cea27f4327 Merge "Add Parcelable implementation for ApfCapabilities" 2019-03-20 00:34:53 +00:00
Felipe Leme
01f07e5fb7 Merge "Added @Nullable to ContentCaptureContext.getLocusId()" 2019-03-19 22:33:33 +00:00
Patrick Huang
0d081f4c17 Add "from" extra for ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED
Bug: 126242076
Test: Test on phone to ensure the extra is received by LPA
Change-Id: I1367fa988dbc71eb30631ebf9903309eba3ef96d
2019-03-19 14:58:51 -07:00
Matt Pape
19ea8a6aa4 Remove interface for Storage.
Per API council feedback, we are making changes to include only the
namespace in the system API defined in DeviceConfig.java. Strings which
define property names should be defined in code local to the feature
instead.

Bug: 126411407
Test: atest FrameworksCoreTests:DeviceConfigTest

Change-Id: I751254a183c8a9d150022d964539fb997c1d89fa
2019-03-19 14:52:52 -07:00
Brad Ebinger
264915fd18 Make ImsException final
Bug: 128902253
Test: atest FrameworksTelephonyTests
Change-Id: I88058f8382978163718de8194249fad87ae52d10
2019-03-19 14:48:37 -07:00