Commit Graph

24648 Commits

Author SHA1 Message Date
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
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
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
Robert Shih
0b4649213a Merge "Annotate MediaPlayer2 DRM APIs with @NonNull/@Nullable" 2019-03-19 21:32:29 +00:00
Zoran Jovanovic
d507e2f49f OMS: expose getOverlayInfo API
Expose getOverlayInfo API on OMS in order to
implement additional AppInfo UI for resource
overlay in Settings app.

Bug: 124556507
Bug: 124540315
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AppButtonsPreferenceControllerTest
Change-Id: Ib2cc257fe628e9cc855047cce7ed81a9786b2635
2019-03-19 14:15:09 -07:00
Malcolm Chen
7a7e06d968 Better description and parameter name of setPreferredDataSubscriptionId
Bug: 128455935 128456058
Test: build
Change-Id: I41ae6752756d998739fd7635bcc7765f255806d7
2019-03-19 14:04:01 -07:00
Matt Pape
09eb96c4c7 Merge "Remove interface for Scheduler." 2019-03-19 20:35:52 +00:00
Xiangyu/Malcolm Chen
2fa9c1c238 Merge "Remove SubscriptionManager#setMetered API." 2019-03-19 20:32:34 +00:00
Felipe Leme
29eb0bc25b New ContentCapture constant: ActivityEvent.TYPE_ACTIVITY_DESTROYED
Test: m update-api
Test: atest ChildlessActivityTest#testLaunchAnotherActivity_onTopOfIt
Test: atest CtsContentCaptureServiceTestCases # sanity check
Fixes: 128904560

Change-Id: I32169c6a74d834858d8e22ec6adeb478b676bece
2019-03-19 13:14:20 -07:00
Felipe Leme
56bddaab68 Added @Nullable to ContentCaptureContext.getLocusId()
Test: m update-api
Fixes: 128922706

Change-Id: I541d0b33732069d6df85f6dbe12d1f599e4cb241
2019-03-19 13:01:37 -07:00
TreeHugger Robot
cf49db1265 Merge "WindowInsets: Add mandatory system gesture and tappable element insets" 2019-03-19 19:29:45 +00:00
Robert Shih
478f5a8fd5 Annotate MediaPlayer2 DRM APIs with @NonNull/@Nullable
Bug: 126702259
Bug: 126701361
Bug: 126702080
Bug: 126701672
Bug: 126702082
Test: Build
Change-Id: I983d508c3ea96e536d3496e705dbd23bdcf5844e
2019-03-19 11:51:26 -07:00