From a20ba0beeee3d27d13235fbd622aeeb64c5db58e Mon Sep 17 00:00:00 2001 From: Winson Date: Tue, 3 Mar 2020 13:17:36 -0800 Subject: [PATCH] Fix cross profile attribute parsing Was lost in a rebase. Bug: 150398686 Test: atest com.android.cts.devicepolicy.QuietModeHostsideTest Test: manual verify no other ParsingPackage changes were lost Change-Id: I3e17796433686ef38e24492c3255f5ccba1f431c --- core/java/android/content/pm/parsing/ParsingPackageUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/java/android/content/pm/parsing/ParsingPackageUtils.java b/core/java/android/content/pm/parsing/ParsingPackageUtils.java index 40754dff5ea05..b4f21593165fa 100644 --- a/core/java/android/content/pm/parsing/ParsingPackageUtils.java +++ b/core/java/android/content/pm/parsing/ParsingPackageUtils.java @@ -1795,6 +1795,7 @@ public class ParsingPackageUtils { // Default false .setAllowTaskReparenting(bool(false, R.styleable.AndroidManifestApplication_allowTaskReparenting, sa)) .setCantSaveState(bool(false, R.styleable.AndroidManifestApplication_cantSaveState, sa)) + .setCrossProfile(bool(false, R.styleable.AndroidManifestApplication_crossProfile, sa)) .setDebuggable(bool(false, R.styleable.AndroidManifestApplication_debuggable, sa)) .setDefaultToDeviceProtectedStorage(bool(false, R.styleable.AndroidManifestApplication_defaultToDeviceProtectedStorage, sa)) .setDirectBootAware(bool(false, R.styleable.AndroidManifestApplication_directBootAware, sa))