Julia Reynolds
d0ceefa989
API changes for NAS
...
- make NAS @SystemApi and guard with permission
- Add missing Nullable/NonNull annotations
Fixes: 126699678
Fixes: 127146476
Test: make, gts
Change-Id: Ie024983f7c440d5b4d3065af031b27958395f2f1
2019-03-06 09:40:36 -05:00
Issei Suzuki
d23038e5b9
Merge "Made inheritShowWhenLocked() API public."
2019-03-06 11:05:43 +00:00
TreeHugger Robot
04ae1ad9ab
Merge "Update Nullability of Apis"
2019-03-06 10:05:30 +00:00
TreeHugger Robot
dd823c03d2
Merge "Add APIs to notify and restart activity in size compatibility mode"
2019-03-06 08:05:30 +00:00
Ivan Chiang
ffba15565f
Update Nullability of Apis
...
Update Nullability of apis in DocumentsContract,
DocumentsProvider.
Test: make
Change-Id: Icc81333707bbeb9fe6d410ee35ade761e2d3b254
Fix: 126700626
Fix: 126702360
Fix: 126700352
2019-03-06 15:04:49 +08:00
Chiachang Wang
5df93de035
Merge "Update description based on API feedback" am: f397b39442 am: 784556da5b
...
am: d12b6c929e
Change-Id: Iae04c9f13a9bdd12b69e7780381f202a55bfc44f
2019-03-05 19:23:19 -08:00
Weien Wang
e3e3b3c030
Fix getSettingsSliceUri API review issues
...
1. Permissions for wallpaper settings Slice.
2. Return value must be marked either @NonNull or @Nullable.
Solution:
1. Add more explanation for settingsSliceUri API usage in javadoc.
2. Follow the public API annotation rule.
Bug: 119118548
Bug: 126699851
Test: atest tests/Internal/src/android/app/WallpaperInfoTest.java
Change-Id: I5db88ce35ba11b018abe42f2192afed44a19fea5
2019-03-06 03:04:35 +00:00
Satoshi Sanno
83950247d0
Merge "Fix that the update to v1 signed version fails if apk verity is enabled" am: 0b3fe647ef am: b6fd88c4fc
...
am: 6f113ecebe
Change-Id: Iaf80875375068f17fe12f8846fae8c5afc2cbc2f
2019-03-05 18:21:49 -08:00
Chiachang Wang
d12b6c929e
Merge "Update description based on API feedback" am: f397b39442
...
am: 784556da5b
Change-Id: I109f34999885be3bc9b8d7e5763039b266183d45
2019-03-05 18:07:27 -08:00
Peiyong Lin
95378b2cae
Merge "[WindowManager] Add PRIVATE_FLAG_COLOR_SPACE_AGNOSTIC."
2019-03-06 01:31:49 +00:00
chen xu
c3d7707d90
Merge "add missing annotation for CarrierIdentifier" am: fd46a0aaeb am: 26fa24bf4f
...
am: d5a7fd1ec2
Change-Id: Id5e9745d43184a8dce70775f1fe811e05688b6ef
2019-03-05 17:29:11 -08:00
Satoshi Sanno
6f113ecebe
Merge "Fix that the update to v1 signed version fails if apk verity is enabled" am: 0b3fe647ef
...
am: b6fd88c4fc
Change-Id: If43c23abdd7448610be9cd6aacd5b79e3a49c0a6
2019-03-05 17:27:56 -08:00
Chiachang Wang
784556da5b
Merge "Update description based on API feedback"
...
am: f397b39442
Change-Id: I4abb8d87ecd681105a059b264b3c4808fce535bc
2019-03-05 17:23:24 -08:00
TreeHugger Robot
aa447cfa81
Merge "Add @NonNull to createPredefined"
2019-03-06 01:08:20 +00:00
TreeHugger Robot
380edb9e1e
Merge "Resource ID support for view inspector"
2019-03-06 00:57:38 +00:00
Chiachang Wang
f397b39442
Merge "Update description based on API feedback"
2019-03-06 00:49:20 +00:00
chen xu
d5a7fd1ec2
Merge "add missing annotation for CarrierIdentifier" am: fd46a0aaeb
...
am: 26fa24bf4f
Change-Id: I3f19f615f5a042c4e041430fc94f3b3d918e6388
2019-03-05 16:43:50 -08:00
Satoshi Sanno
b6fd88c4fc
Merge "Fix that the update to v1 signed version fails if apk verity is enabled"
...
am: 0b3fe647ef
Change-Id: If94e803f747e160a406bb3a80b583bc8c8d4af87
2019-03-05 16:22:58 -08:00
TreeHugger Robot
1d4059d217
Merge "[Magnifier-79] Make Magnifier#Builder final"
2019-03-05 23:42:21 +00:00
chen xu
26fa24bf4f
Merge "add missing annotation for CarrierIdentifier"
...
am: fd46a0aaeb
Change-Id: Ifbee0be758972174191967de245523e003790fb1
2019-03-05 15:33:18 -08:00
TreeHugger Robot
20a4d2d04f
Merge "Add javadoc for the SOURCE_ constants."
2019-03-05 23:26:31 +00:00
Ashley Rose
e8914812c9
Resource ID support for view inspector
...
This allows for inspectors to do special handling on values known to be
resource IDs, such as converting them to a string format.
+ Add PropertyMapper#mapResourceId(String, int) and
PropertyReader#readResourceId(int, int)
+ Add RESOURCE_ID to @InspectableProperty.ValueType
+ Add code generation support in the annotation processor, and value
type inference for accessors annotated with a resource ID annotation
like @AnyRes.
Bug: 127348933
Test: atest --host view-inspector-annotation-processor-test
Change-Id: I132aea319dcddf51c553057c036ce5609e3c381a
2019-03-05 17:16:14 -05:00
Treehugger Robot
0b3fe647ef
Merge "Fix that the update to v1 signed version fails if apk verity is enabled"
2019-03-05 21:33:25 +00:00
TreeHugger Robot
4876191cad
Merge "Checks for null id on LocusId constructor."
2019-03-05 21:05:38 +00:00
Mihai Popa
53fd6965d2
[Magnifier-79] Make Magnifier#Builder final
...
Bug: 126699623
Test: none
Change-Id: I7a406fe5ffc79df2fc33e8bc1e9bc506798e9709
2019-03-05 20:47:10 +00:00
Peiyong Lin
88eb6a20b5
Merge "Add setColorSpaceAgnostic API to SurfaceControl."
2019-03-05 20:18:10 +00:00
TreeHugger Robot
d6f7187db3
Merge "Annotate Notification.Action.Builder building methods with @NonNull."
2019-03-05 19:51:41 +00:00
Yueming Wang
707b4655d1
Merge "Improve javadoc for cross-profile calendar."
2019-03-05 19:29:54 +00:00
Philip P. Moltmann
06f309c1c0
Merge "Add annotations and finals to PermissionGroupInfo"
2019-03-05 19:26:54 +00:00
TreeHugger Robot
244022a5ba
Merge "Set the "settings_network_and_internet_v2" flag to on by default"
2019-03-05 19:19:18 +00:00
Treehugger Robot
fd46a0aaeb
Merge "add missing annotation for CarrierIdentifier"
2019-03-05 19:07:19 +00:00
TreeHugger Robot
153f106109
Merge "Cleanup functor system-api surface"
2019-03-05 18:45:55 +00:00
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
Felipe Leme
85e2b01aeb
Checks for null id on LocusId constructor.
...
Test: atest CtsContentTestCases:LocusIdTest
Bug: 126945732
Change-Id: Ifbffae6cc287861f78d19921b35a26e624038168
2019-03-05 09:41:22 -08:00
Peiyong Lin
7504538985
[WindowManager] Add PRIVATE_FLAG_COLOR_SPACE_AGNOSTIC.
...
Normally on a phone, there are a bunch of layers that can be considered color
space agnostic, for example NavigationBar and ScreenDecorOverlay*. Previously
we added a SurfaceControl API setColorSpaceAgnostic to allow a surface to tell
SurfaceFlinger it's color space agnostic, this patch adds a private flag in
window manager to allow views to set it via WindowManager.LayoutParams, window
manager will process this private flag and call setColorSpaceAgnostic when it's
changed.
BUG: 126616348
Test: Build, flash and boot. Use UIBench to check WCG behaviour
Change-Id: Iecee6528c86c390c70379bbc05b114c53d0cca48
2019-03-05 09:30:59 -08:00
Riddle Hsu
7b766fd31b
Add APIs to notify and restart activity in size compatibility mode
...
- Notify listeners about whether the resumed activity is using the
native screen configuration.
- Able to restart foreground activity with saved state.
Bug: 112288258
Test: atest ActivityRecordTests#testRestartProcessIfVisible
Test: atest ActivityDisplayTests#testHandleActivitySizeCompatMode
Change-Id: I0b916b25f187e9406154afced0214a41c02c761a
2019-03-06 01:16:57 +08: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
yuemingw
9be5a694fe
Improve javadoc for cross-profile calendar.
...
Bug: 120860474
Bug: 123625889
Test: manual
Change-Id: I81215a8f20a49cbcb48536456ddda611f8928fd9
2019-03-05 16:29:33 +00:00
Tony Mak
9f4e084822
Add javadoc for the SOURCE_ constants.
...
FIX: 126190185
Test: m
Change-Id: I393646987b6aba75bfbdfc32c2bb4d7e45a78c0d
2019-03-05 16:24:48 +00:00
Nicolas Geoffray
efdb72b53b
Merge "Remove calls to VMRuntime methods that are no-ops." am: ca1c6419c3
...
am: 81a8cdef87
Change-Id: I753a32738fae8186d0dcb720999e88cdab4aed7b
2019-03-05 08:11:06 -08:00
Issei Suzuki
7c09f0b81a
Made inheritShowWhenLocked() API public.
...
Bug: 126354499
Test: atest android.server.am.KeyguardTests
Change-Id: Ie6c485ddcb59a640be48322a0e8f388ef49cb154
2019-03-05 16:53:22 +01:00
Nicolas Geoffray
81a8cdef87
Merge "Remove calls to VMRuntime methods that are no-ops."
...
am: ca1c6419c3
Change-Id: I87116d8811ffb4f0193e4091544bb82020d8e313
2019-03-05 07:46:54 -08:00
Leland Miller
e4099d58ae
Merge "Mark manage holder flag as test API"
2019-03-05 15:41:59 +00:00
Nicolas Geoffray
ca1c6419c3
Merge "Remove calls to VMRuntime methods that are no-ops."
2019-03-05 15:37:27 +00:00
TreeHugger Robot
b21765f2f3
Merge "WindowInsets: Add system gesture insets"
2019-03-05 15:27:34 +00:00