Support more profile tabs
This is specifically for the private profile.
Currently, the ProfileSelectFragment assumes that two tabs need to be
shown. Extending that to allow variable number of tabs depending on the
client's needs.
It still assumes that if client doesn't specify the number of tabs then
two tabs need to be shown - which matches the current impl and allows
the current clients to keep functioning w/o any changes needed.
Bug: 309402121
Test: manual
Change-Id: Ia544ffdd7e0799bcd2e2a9f8f95cc283bb718d91
diff --git a/AconfigFlags.bp b/AconfigFlags.bp
index a80194c..8fa870b 100644
--- a/AconfigFlags.bp
+++ b/AconfigFlags.bp
@@ -333,6 +333,11 @@
aconfig_declarations: "android.os.flags-aconfig",
defaults: ["framework-minus-apex-aconfig-java-defaults"],
mode: "exported",
+ min_sdk_version: "30",
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.mediaprovider",
+ ],
}
cc_aconfig_library {