Refactor getSeInfo into a method, if the app doesn't share a
sharedUserId, and the change is enabled use targetSdkVersion R (1000)
for the seInfo domain.
Add a listener to the compat change that checks if seInfo has changed
(as a result of enabling/disabling the change), and if it did updates it,
and calls prepareAppDataAfterInstallLIF to make sure the data is
correctly labeled.
The listener will be called when an override is introduced or removed
for the change.
Bug: 143539591
Test: atest com.android.server.pm.SELinuxMMAXTest
Test: Install facebook (target SDK 28), login +download a photo, turn on
the change, open facebook, download another photo, disable change,
open facebook again, download another photo. Everything works as
expected, photos are accessible, profile is setup.
Change-Id: If5ecf490e781db13d84656b36d0740a00ee124b5
It currently just reads a prop that is never set, but that will
be updated separately.
Keep the class @hide for now.
Bug: 137191822
Test: m com.android.sdkext
Change-Id: I1a874bf3d3e34676b5d767c4d03b09337b193cce
This module will have a java framework part as well as a native
binary. Add directory and hook future java sources into the stub
rules.
Bug: 137191822
Test: m
Change-Id: I5527a055bf935178b88a1b20504b251f18f3d873
This CL addresses an outstanding review comment from
https://r.android.com/1115772 . To be honest, I don't
fully get the semantics of what I've changed, so I've
followed Jiyong's suggestions pretty blindly, except
that I've added the static dependency on mimemap to
framework-minus-apex as opposed to the (non-existing)
frameworks.
Test: Confirmed that the data files are still in framework.jar by
rebuilding (make installclean && make droid && flashall )
and then running:
adb shell su 0 unzip -l /system/framework/framework.jar | grep types
Test: atest CtsMimeMapTestCases
Change-Id: Icfa5aba8455c7460063d1e4812c71c5a2c0c6c90
Merged-In: Icfa5aba8455c7460063d1e4812c71c5a2c0c6c90
This CL addresses an outstanding review comment from
https://r.android.com/1115772 . To be honest, I don't
fully get the semantics of what I've changed, so I've
followed Jiyong's suggestions pretty blindly, except
that I've added the static dependency on mimemap to
framework-minus-apex as opposed to the (non-existing)
frameworks.
Test: Confirmed that the data files are still in framework.jar by
rebuilding (make installclean && make droid && flashall )
and then running:
adb shell su 0 unzip -l /system/framework/framework.jar | grep types
Test: atest CtsMimeMapTestCases
Change-Id: Icfa5aba8455c7460063d1e4812c71c5a2c0c6c90
Checking in basic high-level classes and their interactions with
package manager service.
Incremental Manager manages IncrementalStorage instances. Both are
backed by Incremental Service.
Package Manager Service uses Incremental Manager to handle file
operaions on Incremental File System, such as renaming and cleanup.
Also adding place holders for native library handling.
Test: builds
Change-Id: I78b64f795de480e109aeaffe61272a413a6b4be5
This reverts commit 1b51142eb6 now that nullability of non-android APIs will remain as @Nullable/@NonNull rather than @RecentlyNullable/@RecentlyNonNull
Bug: 141748642
Test: m api-stubs-docs &&
cd out/target/common && mv docs docs-new && unzip docs-new/api-stubs-docs-stubs.srcjar -d docs-new/api-stubs-docs-stubs.srcjar_unzipped && cd - &&
cd frameworks/base && git checkout HEAD^ && cd - && la m api-stubs-docs &&
cd out/target/common && mv docs docs-old && unzip docs-old/api-stubs-docs-stubs.srcjar -d docs-old/api-stubs-docs-stubs.srcjar_unzipped &&
diff -q -x "*.html" -r docs-old/ docs-new # And notice that all of the changes are in android/ or in dalvik/
Change-Id: Iecad0acdd910de4a1270e3ccfe34fe378d22a113
The APIs are used in the CellBroadcastService, and the
framework-cellbroadcast-shared-srcs library is also linked there.
Bug: 135956699
Test: manual
Change-Id: I5e71ea1ee1a858c0520c241dc7365733441e0f50
The new basebandCn0DbHz is the carrier-to-noise density measured at the
baseband. The old Cn0DbHz is measured at the attenna port. Adding
the new field so that ecosystem will report both and avoid reporting
inconsistent signal strengths in one field. See go/r-gnss-hal for
detailed design.
Bug: 136136192
Test: atest GnssMeasurementTest
Change-Id: Ia8d3711e7422db5cae05d66138a3fae61bec0ae1
* changes:
Expose IKE module API: IkeManager and IkeSession
Expose IKE module API: Session Options & EapSessionConfig
Expose IKE module API: IkeException, configuration & callback
Expose IKE module API: IKE ID, TS and SaProposal
This change adds support for reading/writing a HidlMemory
instance into / out of a HwParcel and HwBlob, in a format that
is compatible with the hidl_memory C++ type.
This paves the way to be able to exchange shared memory blocks
between native and Java via HwBinder, which will be exposed
as adding Java support for the HIDL 'memory' type.
Change-Id: I6cbbf852218c8a631f9014e7caa7a97d17e11889
Bug: 143566068
Merged-In: I6cbbf852218c8a631f9014e7caa7a97d17e11889
This change adds support for reading/writing a HidlMemory
instance into / out of a HwParcel and HwBlob, in a format that
is compatible with the hidl_memory C++ type.
This paves the way to be able to exchange shared memory blocks
between native and Java via HwBinder, which will be exposed
as adding Java support for the HIDL 'memory' type.
Change-Id: I6cbbf852218c8a631f9014e7caa7a97d17e11889
Bug: 143566068
This will allow javadoc links to androidx packages to resolve.
Test: No behavior changes
Bug: 144042891
Change-Id: I01c1cd637f46c666c28669c1796a1d5a0d249c24
Metalava no longer requires it at least for droidstubs in this
directory. Even when local_sourcepath is not set, the -sourcepath option
is set to the module directory (frameworks/base in this case), and
metalava tries to find package.html files under the directory to know if
a package is hidden or not.
Exempt-From-Owner-Approval: cherry-pick from internal
Bug: 144264106
Test: m
Merged-In: Idfa2aa392ae1da9582e7691a8c06c986baad5088
(cherry picked from commit e53786e864)
Change-Id: Idfa2aa392ae1da9582e7691a8c06c986baad5088
The api_dir property is removed, and the api dir path for aidl_interface
is fixed to aidl_api/{module_name}.
Bug: 113134692
Test: m -j
Change-Id: I0fdc074579647be0e5f5b025a909c3c0c41194c9