Hao Ke
ce853414e6
Merge "Change unsafe readSparseArray call in ApplicationInfo." am: db4e1b7369
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2004550
Change-Id: I6e196e5270893bbab37a66c8079e2170cdab0d7d
2022-03-07 18:47:51 +00:00
Hao Ke
9baf0dc3b1
Change unsafe readSparseArray call in ApplicationInfo.
...
Replace the unsafe readSparseArray API call with the typed version.
Bug: 195622897
Change-Id: Ia874fd8e454ddb145d2e999afb08cb79f693566c
Test: Builds and Boots.
2022-03-01 19:18:16 +00:00
Jon Eckenrode
7756ed8db8
Merge "Added return value to overloaded bindService method." am: 59d082af63
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1995510
Change-Id: I5868cc709613ee77b9cd40866582b58614dcc249
2022-02-25 00:30:46 +00:00
joneckenrode
ecbb809686
Added return value to overloaded bindService method.
...
Staged: https://android.devsite.corp.google.com/reference/android/content/Context#bindService(android.content.Intent,%20int,%20java.util.concurrent.Executor,%20android.content.ServiceConnection)
Test: Built API documentation
Signed-off-by: joneckenrode <joneckenrode@google.com >
Change-Id: I9b5466441b7b5cb4deb5a8cc25cfd01a83be80ca
2022-02-24 16:21:58 +00:00
Jon Eckenrode
e5a25d1d7c
Merge "Revised API documentation of Context and ServiceConnection. See b/213625234." am: 08bb407612
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1975966
Change-Id: I608e10bbd7208ed90f23ab25ac28c5512a3ea4ca
2022-02-15 22:02:50 +00:00
Xin Li
5ad6db7742
Merge sc-v2-dev-plus-aosp-without-vendor@8084891
...
Bug: 214455710
Merged-In: I8cfa435bb6233818adb9cc99dadeeb06a03443d5
Change-Id: Ib93992d88fd1704179009a3872798b9e7b83a6d1
2022-02-11 07:25:43 +00:00
Jon Eckenrode
8f3f42fba0
Revised API documentation of Context and ServiceConnection.
...
See b/213625234.
Test: Built API documentation
Signed-off-by: joneckenrode <joneckenrode@google.com >
Change-Id: Icb2eb3eb13c291dca9fc6857db3a8657a23856f7
2022-02-09 22:11:28 +00:00
Xinyi Zhou
48f1bb60fb
Expose Conext.NEARBY_SERVICE as SystemApi
...
(cherry-pick from downstream branch)
Merged-In: Ie9fb547e166e6c881dfd04383050375a11f84a9b
Test: Built successfully
Bug: 189954300
Change-Id: I5ee56ddd84d38ee24b559fea278c263d424508ed
2022-01-31 17:40:36 +09:00
Xinyi Zhou
17c5caf93e
Add NearbyService
...
(cherry-pick from downstream branch)
Test: loaded on device.
Bug: 189954300
Merged-In: I399cdba08846a3eca1d7cd9378607b30fa8fd72d
Change-Id: Ib9ef2a7b34abe18b1a7a4b48f9a09bc2d5856ac6
2022-01-31 17:39:19 +09:00
Hans Boehm
3492061b6d
Prefer WeakReference.refersTo() to get()
...
This is an initial pass over frameworks/core to avoid WeakReference
get(), since that can cause the referent to be unnecessarily retained.
Most of these were found by searching for "get() == null".
Bug: 215259836
Test: Treehugger
Change-Id: I5227b05ca22e83b886ccf6713989961076df3f8c
2022-01-20 17:57:02 -08:00
David Zeuthen
2bf36b756d
Merge "identity: Add multi-document presentation support." am: 91b96e3454 am: ae0d53c78d am: 62c776a7c2
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1824674
Change-Id: Idb4d1ddd89a5ca58ccc852c67f098dad04cb1c5c
2022-01-14 21:56:18 +00:00
David Zeuthen
62c776a7c2
Merge "identity: Add multi-document presentation support." am: 91b96e3454 am: ae0d53c78d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1824674
Change-Id: I8b5ade103c4275871e990369c36480013f47f129
2022-01-14 21:39:07 +00:00
David Zeuthen
91b96e3454
Merge "identity: Add multi-document presentation support."
2022-01-14 21:07:03 +00:00
Treehugger Robot
082f6e9f08
Merge "Make ACTION_SETTING_RESTORED SystemApi" am: 2e2a97c04b am: d8ef70a405 am: 2f68d6bc5c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1945287
Change-Id: I447d2f861e1c05f9483fe60e48e45918c448adfd
2022-01-13 02:24:11 +00:00
Treehugger Robot
2f68d6bc5c
Merge "Make ACTION_SETTING_RESTORED SystemApi" am: 2e2a97c04b am: d8ef70a405
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1945287
Change-Id: Ia012adfcf1febe63dc5dc8a89d5b2133fe909590
2022-01-13 02:09:42 +00:00
William Escande
543d84f6b2
Make ACTION_SETTING_RESTORED SystemApi
...
Because Bluetooth is going mainline, we need to remove call to hidden
API.
Intent.ACTION_SETTING_RESTORED and extra are currently hidden.
There is no known alternative, so this CL make them SystemApi.
Bug: 211851706
Test: Build + start bt
Tag: #refactor
Change-Id: I7a105946f075819f21b91a39bc37c6e167439bf4
2022-01-12 19:33:02 +00:00
David Zeuthen
6fc37331a6
identity: Add multi-document presentation support.
...
This new PresentationSession interface enables an application to do a
multi-document presentation, something which isn't possible with the
existing API. As a practical example of this consider presenting both
your Mobile Driving License and your Vaccination Certificate in a single
transaction.
Also update the documentation for IdentityCredential to clarify that
the same AuthKey is used for multiple getEntries() calls on the same
credential.
Also deprecate existing IdentityCredential.getEntries() method and
related methods and classes.
Bug: 197965513
Test: New CTS tests and new screen in CtsVerifier
Change-Id: I74534969143882552407917a82f44d43da12711c
2022-01-11 10:40:51 -05:00
Amy Gu
9001310c40
Merge "Specify two item limit for EXTRA_CHOOSER_TARGETS and EXTRA_INITIAL_INTENTS" am: 73ded9f9df am: b5f0629d41 am: 379347b29a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1858069
Change-Id: I9d0089997234826e6310d4fcda14cdf869ec5fdb
2021-12-21 19:06:21 +00:00
Amy Gu
379347b29a
Merge "Specify two item limit for EXTRA_CHOOSER_TARGETS and EXTRA_INITIAL_INTENTS" am: 73ded9f9df am: b5f0629d41
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1858069
Change-Id: I7e00c46550eba9eb810d5b5112d6a4dd30d157cf
2021-12-21 18:53:01 +00:00
Amy Gu
d5451fb370
Specify two item limit for EXTRA_CHOOSER_TARGETS and EXTRA_INITIAL_INTENTS
...
Change-Id: If3fdaabf8456cc99f4cf7819ec89b3901a7c74c6
2021-12-21 01:21:52 +00:00
Etienne Ruffieux
52dfe57f07
Merge "Moved AttributionSource related APIs in AttributionSource" am: 70d456d06c am: 52ddc063b0 am: e5d5eefb16
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922817
Change-Id: Id6bcfb0cca120540dd251dda22c713539c5c2b8c
2021-12-16 22:08:37 +00:00
Etienne Ruffieux
e5d5eefb16
Merge "Moved AttributionSource related APIs in AttributionSource" am: 70d456d06c am: 52ddc063b0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922817
Change-Id: Id597191e675eca32c4d965fd4dc0e62dc2653283
2021-12-16 21:42:01 +00:00
Etienne Ruffieux
70d456d06c
Merge "Moved AttributionSource related APIs in AttributionSource"
2021-12-16 21:16:58 +00:00
Etienne Ruffieux
770d50ed43
Moved AttributionSource related APIs in AttributionSource
...
Modified myAttributionSource() to check for global AS for
process in ActivityThread and fallback to building new AS
with PackageManager#getPackageForUid(myUid()) if null.
Tag: #feature
Bug: 210467846
Bug: 210468546
Test: build
Change-Id: I7aa75395469bf0bb806100420faaf98c52057355
CTS-Coverage-Bug: 210906055
2021-12-15 22:03:50 +00:00
Naomi Musgrave
f6340cbbf3
Merge "Introduce WindowManagerState field for sandboxing" into sc-v2-dev am: f5284f89be
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16340536
Change-Id: I4b2fd3e47e9cbb2e873fa0db37eed74f6badb734
2021-12-08 23:00:26 +00:00
Naomi Musgrave
f5284f89be
Merge "Introduce WindowManagerState field for sandboxing" into sc-v2-dev
2021-12-08 21:52:51 +00:00
Naomi Musgrave
5acb031f31
Introduce WindowManagerState field for sandboxing
...
New field indicates if ActivityRecord#providesMaxBounds has
calculated that sandboxing of max bounds to match app bounds
should be applied.
Test: manual
Bug: 193514437
Change-Id: I91587ce1e1ded7435038e2d1a7d038be57ff0f2f
2021-12-08 17:36:03 +00:00
Tom Natan
1cb7dbffd1
Merge "Remove EnabledSince from OVERRIDE_MIN_ASPECT_RATIO_PORTRAIT_ONLY" into sc-v2-dev am: 56b6a1936d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16405083
Change-Id: I9672c89a744537b07ffe1d28b92bbd1d73fef6d5
2021-12-08 10:39:47 +00:00
Thiébaud Weksteen
6e8a545bff
Merge "Add @JavaOnlyStableParcelable to AttributionSource" am: 5f5ff75870 am: 7228115341 am: e371f9ace3
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1908651
Change-Id: I70718406dd94c13d39e27984c5967e1f2647bc55
2021-12-08 04:55:07 +00:00
Thiébaud Weksteen
e371f9ace3
Merge "Add @JavaOnlyStableParcelable to AttributionSource" am: 5f5ff75870 am: 7228115341
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1908651
Change-Id: I24b6e309f896dfd9937f87739605c33d92c27cc6
2021-12-08 04:32:27 +00:00
Thiébaud Weksteen
7228115341
Merge "Add @JavaOnlyStableParcelable to AttributionSource" am: 5f5ff75870
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1908651
Change-Id: Ie151644aac4642ee16ee77a767bcc1c2f0e8306e
2021-12-08 04:16:08 +00:00
Thiébaud Weksteen
5f5ff75870
Merge "Add @JavaOnlyStableParcelable to AttributionSource"
2021-12-08 04:02:07 +00:00
tomnatan
303e76b80e
Remove EnabledSince from OVERRIDE_MIN_ASPECT_RATIO_PORTRAIT_ONLY
...
We want this change to be enabled regardless of the app's target sdk
version.
Fix: 202842551
Test: N/A
Change-Id: Ia08afdeff276d132d6a5c619427017de3e1fba22
2021-12-06 16:42:36 +00:00
Rhed Jao
1d688e7fcd
Merge "Fix the typos on the java doc" am: 63fed23659 am: ae0939cf4a am: 828571b9c0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909901
Change-Id: I5f176959b92da59ca489e75504b7ecfa49ec8604
2021-12-06 08:15:14 +00:00
Rhed Jao
828571b9c0
Merge "Fix the typos on the java doc" am: 63fed23659 am: ae0939cf4a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909901
Change-Id: I7329e0d486e11d06f7df9325b3d53824bd5514e2
2021-12-06 08:04:59 +00:00
Rhed Jao
ae0939cf4a
Merge "Fix the typos on the java doc" am: 63fed23659
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909901
Change-Id: I9773daadb710c87c1b2df5d5931d563e01b83d47
2021-12-06 07:41:17 +00:00
Rhed Jao
43509f3202
Fix the typos on the java doc
...
Correct "STMP" to "SMTP" in the java doc of the usesCleartextTraffic
attribute.
Bug: 181732244
Test: build
Change-Id: I7ffc81f3e201248f3b58dc5ee243a7cdd969fe23
2021-12-03 15:08:50 +08:00
Thiébaud Weksteen
ae4bf7dda6
Add @JavaOnlyStableParcelable to AttributionSource
...
Annotate AttributionSource with @JavaOnlyStableParcelable as it is
already available as part of the SDK.
Bug: 197828948
Test: atest --host aidl_unittests
Change-Id: I3e9343030947404239c9a963a529d246c57a04a1
2021-12-02 13:14:21 +11:00
Jon Eckenrode
75954281b3
Merge "Reconciled description of WindowManager with description of Context#createDisplayContext()." am: 92a4b54de5 am: 98951a99f4 am: abce82bc5d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1882528
Change-Id: Ib93e924bc133945c119e1bdac7c6ecb643b80a7e
2021-11-22 17:07:17 +00:00
Jon Eckenrode
abce82bc5d
Merge "Reconciled description of WindowManager with description of Context#createDisplayContext()." am: 92a4b54de5 am: 98951a99f4
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1882528
Change-Id: Icb9a08416599e1dcad31e146a2b8f82bb1ef8281
2021-11-22 16:50:58 +00:00
Jon Eckenrode
98951a99f4
Merge "Reconciled description of WindowManager with description of Context#createDisplayContext()." am: 92a4b54de5
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1882528
Change-Id: I894941a064dc61c68722036081f0617c47804c83
2021-11-22 16:38:54 +00:00
Jon Eckenrode
92a4b54de5
Merge "Reconciled description of WindowManager with description of Context#createDisplayContext()."
2021-11-22 16:21:19 +00:00
Treehugger Robot
c9c355889c
Merge "Create StatsBootstrapAtomService" am: e9f913aee8 am: c2566e6582 am: c74d9d6911
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885469
Change-Id: Ia2fa8a3d576b41a0b55cbdd6dc29a3d3126e9cfa
2021-11-19 00:22:11 +00:00
Treehugger Robot
c74d9d6911
Merge "Create StatsBootstrapAtomService" am: e9f913aee8 am: c2566e6582
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885469
Change-Id: I08d70d539650a2bec4e08681f3c6bd7bd12698cd
2021-11-19 00:04:36 +00:00
Treehugger Robot
c2566e6582
Merge "Create StatsBootstrapAtomService" am: e9f913aee8
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885469
Change-Id: I9fe270fa5bffb2edd912ba59fbc6c002497e76b4
2021-11-18 23:48:16 +00:00
Treehugger Robot
e9f913aee8
Merge "Create StatsBootstrapAtomService"
2021-11-18 23:25:21 +00:00
Tej Singh
da79f2a110
Create StatsBootstrapAtomService
...
Design doc is at go/statsd-bootstrap-logging. Creates a proxy service for
logging atoms from bootstrap processes to statsd. Service has one API,
which converts StatsBootstrapAtom into StatsEvent and logs to statsd.
This should only used by processes that start in the bootstrap namespace
and cannot directly link statsd's libraries to log to statsd.
Bug: 204889815
Test: booted, made sure binder service was published.
Change-Id: I09709a30a42a7a398234c995324f62a0d62ad24f
2021-11-18 13:27:21 -08:00
Xin Li
10d9972786
Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918
...
Bug: 205056467
Merged-In: I13199bc39e9445929195f3d15579cbffe94e92b0
Change-Id: I35fa3c6c2abf679c51033f1395a08d511ed8739f
2021-11-18 17:00:37 +00:00
TreeHugger Robot
999f7cec62
Merge "Add feature flag for Android automotive OS templates host" into sc-v2-dev am: 23039de620
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16215805
Change-Id: I87cc82f541f7959782fe668c0e2fdc15b9a218c9
2021-11-13 00:22:05 +00:00
TreeHugger Robot
23039de620
Merge "Add feature flag for Android automotive OS templates host" into sc-v2-dev
2021-11-13 00:09:56 +00:00