Commit Graph

90999 Commits

Author SHA1 Message Date
Kevin Chyn
81ebf42e2e Merge "Update BiometricPrompt API naming" 2019-03-05 18:25:27 +00:00
Julien Desprez
535616e2d5 Merge "Fix test mapping conflit of class vs. package" 2019-03-05 18:17:41 +00:00
Julien Desprez
8b19677c30 Fix test mapping conflit of class vs. package
Temporarily fix the test mapping conflict of class vs
package due to two differents modules including different
types of filters.

Test: none
Bug: 127470443
Change-Id: I3dbf0012177b858655c0c29f52404eb51a9364b2
2019-03-05 10:15:29 -08:00
TreeHugger Robot
3b913d7a52 Merge "Add nullability to ScrollView#scrollToDescendant." 2019-03-05 18:13:48 +00:00
TreeHugger Robot
48636daaf8 Merge "Add new permission to guard Intent.REVIEW_ACCESSIBILITY_SERVICES." 2019-03-05 17:51:36 +00:00
TreeHugger Robot
c4b4aaab27 Merge "Add temporary packageName-based whitelist for allowing background activity launches" 2019-03-05 17:06:05 +00:00
TreeHugger Robot
33d1c7047c Merge "Adds android.permission.BIND_CONTENT_SUGGESTIONS_SERVICE." 2019-03-05 17:04:08 +00:00
Leland Miller
e4099d58ae Merge "Mark manage holder flag as test API" 2019-03-05 15:41:59 +00:00
TreeHugger Robot
b21765f2f3 Merge "WindowInsets: Add system gesture insets" 2019-03-05 15:27:34 +00:00
Michal Karpinski
666631b28e Add temporary packageName-based whitelist for allowing
background activity launches

Necessary for early stages of enabling the feature in
enforcing mode - we'll need to temporarily whitelist
apps like Duo, so dogfooders can still use them.

Bug: 123354556
Test: atest WmTests:ActivityStarterTests
Test: adb shell settings put global background_activity_starts_package_names_whitelist com.ejc.bbc:com.whatever.dude
Change-Id: I2515b8ba334e87e7f201569ba5a6bb1b79395354
2019-03-05 14:30:43 +00:00
TreeHugger Robot
5c73d2a82d Merge "Refactoring and some fixes around TextClassifierService" 2019-03-05 12:20:38 +00:00
Nicolas Geoffray
5735cc7a11 Remove calls to VMRuntime methods that are no-ops.
Test: m
Change-Id: Ibe849f56f5fe8af1415dc6c85b484d0edca518ec
2019-03-05 09:26:43 +00:00
TreeHugger Robot
55805af719 Merge "Add receiver info to IncidentdDetails in statsd_config" 2019-03-05 09:15:31 +00:00
TreeHugger Robot
1cfb214c96 Merge "Add annotations to new APIs" 2019-03-05 09:08:40 +00:00
Yao Chen
a8e78b9b88 Add receiver info to IncidentdDetails in statsd_config
This can be used for sending a broadcast to an app which incidentd
would share the incident report with.

Test: added unit test in statsd_test

Change-Id: Ieaf5b3b4d67168e2a99ff54e6392c77d8372ed4e
2019-03-04 23:47:27 -08:00
Kevin Chyn
e64d74ecaf Update BiometricPrompt API naming
Fixes: 126190552

Test: make -j56 update-api
Test: make -j56
Change-Id: I1c0700106e46b8dbfb825df341a8196a33f8bc83
2019-03-04 22:34:07 -08:00
Varun Shah
af597830ff Merge "Allow only Recents to query app usage limit info." 2019-03-05 05:23:57 +00:00
Joel Galenson
3f5c6995fd Add new permission to guard Intent.REVIEW_ACCESSIBILITY_SERVICES.
Fixes: 126944474
Test: Boot.
Change-Id: I90c5a9732469ba206d83d301390d52d3d2ad9518
2019-03-04 21:09:05 -08:00
TreeHugger Robot
1354a960be Merge "Camera: Temporarily add @UnsupportedAppUsage to various Key things." 2019-03-05 02:57:17 +00:00
TreeHugger Robot
f57f492b2c Merge "Add some test mappings" 2019-03-05 02:04:37 +00:00
TreeHugger Robot
f5fa919ac6 Merge "Allow RollbackManager to downgrade apks on user builds" 2019-03-05 02:00:21 +00:00
Adam He
8059ab819c Merge "Minor changes on LocusId APIs." 2019-03-05 01:30:07 +00:00
Jeff Sharkey
004dd4d4fc Merge "Include UUID in MediaStore version." 2019-03-05 01:12:54 +00:00
TreeHugger Robot
e8306fedcc Merge "Add NonNull annotation to getTextDirectionHeuristics" 2019-03-05 01:06:28 +00:00
Haoyu Zhang
1c06abe487 Merge "Add NonNull annotaion for LineHeightSpan.Standard" 2019-03-05 00:55:44 +00:00
Eino-Ville Talvala
60331e278d Camera: Temporarily add @UnsupportedAppUsage to various Key things.
To fix compatibility problems with existing devices.

Test: Vendor extension libraries work as expected on Pixel.
      Camera app starts.
Bug: 126901248

Change-Id: Id585eaf7126828093497f0600767381b85d9fb6b
2019-03-04 16:48:00 -08:00
John Reck
70ddefc673 Add some test mappings
Test: none
Change-Id: If8b5b51f28669416bcd15ee9df851a263f838802
2019-03-04 15:55:22 -08:00
Leland Miller
2293da2467 Mark manage holder flag as test API
RoleManager methods that use this flag are marked as test APIs, this
marks the flag that they can accept as well.

Bug: 122852169
Test: Test package using test_current sdk using this flag builds
Change-Id: I6b5219d851b83f3392d668aa560b7fec5152f496
2019-03-04 15:08:00 -08:00
Michael Wright
9c57ba2010 Merge "Add DisplayModeDirector to determine set of allowed modes." 2019-03-04 23:07:25 +00:00
TreeHugger Robot
5ee812a499 Merge "Update #registerAppUsageLimitObserver to accept time remaining." 2019-03-04 23:00:22 +00:00
TreeHugger Robot
983b500cbf Merge "Add PermissionControllerService.isRoleVisible() for app info shortcut." 2019-03-04 22:49:23 +00:00
Siyamed Sinir
f408f3620c Add NonNull annotation to getTextDirectionHeuristics
Test: None
Bug: 126700617
Change-Id: Idaf5cc0237cd82c5d317a66d9e22fe7d2ac41f3d
2019-03-04 14:35:57 -08:00
Felipe Leme
7e7357515f Minor changes on LocusId APIs.
- Uses a String instead of URI for the main id.
- Uses FLAG_IS_PREFIX instead of isRecursive for UserDataRemovalRequest.

Test: m update-api
Test: atest CtsContentCaptureServiceTestCases CtsContentTestCases:LocusIdTest \
            FrameworksCoreTests:android.view.contentcapture.ContentCaptureEventTest
Bug: 126945732

Change-Id: I34ae42678aa4021ea53ed66279cad4049ac2dcb3
2019-03-04 14:02:37 -08:00
Nikita Ioffe
a1111ffe95 Allow RollbackManager to downgrade apks on user builds
- If running on a debug build, same behaviour is preserved.
- In case of a user build, INSTALL_ALLOW_DOWNGRADE flag is respected
  only if it's system_server who commits the session.

Test: atest RollbackTest on user build
Test: manually tried to downgrade apk on a user build, it failed.
Bug: 125657835
Change-Id: I469f6513831cc727fc7e62ce1ff4f6ef472ab5e9
2019-03-04 21:28:03 +00:00
Haoyu Zhang
7c89460967 Add NonNull annotaion for LineHeightSpan.Standard
Bug: 126699237
Test: atest LineHeightSpan_StandardTest
Change-Id: I527f622077e0899e84ed28dc91f481e5195d735d
2019-03-04 13:23:13 -08:00
Android Build Merger (Role)
ff58fc895c Merge "Merge "Add NonNull and Nullable annotations" am: 56bd70db86 am: 808b57db7f am: d83e34413d" 2019-03-04 20:50:42 +00:00
Jordan Liu
5c76cae6a6 Merge "Add NonNull and Nullable annotations" am: 56bd70db86 am: 808b57db7f
am: d83e34413d

Change-Id: I9aafeef3ecb26ec24ccd3c68affdb47b0ac53133
2019-03-04 12:49:46 -08:00
Matt Pape
782a75a688 Merge "Remove interfaces for namespaces used in native code." 2019-03-04 20:47:28 +00:00
Jordan Liu
d83e34413d Merge "Add NonNull and Nullable annotations" am: 56bd70db86
am: 808b57db7f

Change-Id: Icd0be937c76db55d2950af8ae44f7501899be849
2019-03-04 12:39:59 -08:00
TreeHugger Robot
f80eb9dcde Merge "Camera: Add support for camera access permission callback" 2019-03-04 20:36:37 +00:00
Jordan Liu
808b57db7f Merge "Add NonNull and Nullable annotations"
am: 56bd70db86

Change-Id: I1ede74a2cbb1e6a8e5d0c0e82347ec27f3ac438e
2019-03-04 12:30:53 -08:00
Jordan Liu
56bd70db86 Merge "Add NonNull and Nullable annotations" 2019-03-04 20:18:50 +00:00
Philip P. Moltmann
6ce9003ef0 Merge "Add null-checks: RuntimePermissionPresentationInfo" 2019-03-04 20:14:29 +00:00
Beverly
b0989653b6 Add annotations to new APIs
Test: atest ZenPolicyTest
Test: atest AutomaticZenRuleTest
Fixes: 126698794
Fixes: 126700812
Change-Id: Ifed34452faed6de3330663cec8ef19ea002b90ff
2019-03-04 14:41:17 -05:00
Zak Cohen
969d39d430 Adds android.permission.BIND_CONTENT_SUGGESTIONS_SERVICE.
Adds permission required for being bound as a ContentSuggestionsService.

Bug: 126596331
Test: CTS test
Change-Id: Idf211f11dfb2addc348a46974e79cf1f5c21dc6b
2019-03-04 19:37:46 +00:00
Zak Cohen
28bfe37108 Merge "ContentSuggestions - mark request builder returns as NonNull." 2019-03-04 19:33:09 +00:00
Zak Cohen
5749c76b11 Merge "ContentSuggestions - make extras in request @NonNull." 2019-03-04 19:33:03 +00:00
Android Build Merger (Role)
bebec75d6e Merge "Merge "Adding new APN type for Mission Critical Services." am: 36791ef41e am: c45dc5916a am: aec43bb247" 2019-03-04 19:13:17 +00:00
Amit Mahajan
cee0e5935e Merge "Adding new APN type for Mission Critical Services." am: 36791ef41e am: c45dc5916a
am: aec43bb247

Change-Id: Iaa216ae164b1bbc1c27be0549bd9e19fa9803cb8
2019-03-04 11:10:07 -08:00
TreeHugger Robot
b1b4a4fc14 Merge "Improve documentation of secure lock screen feature." 2019-03-04 19:08:56 +00:00