diff options
author | 2024-03-01 16:52:42 +0000 | |
---|---|---|
committer | 2024-03-21 12:42:19 +0000 | |
commit | 8f55786537f34576e06ec731cf9054f9e2d8bd39 (patch) | |
tree | 9338588daba2e96da6b73dc176fa5eee68190c64 | |
parent | 8747a0a31c7b34c1f677b43625429153e7af420f (diff) |
Export flags used in FlaggedApi annotations
Before calling a flagged API, client code must check the value of the flag
which gates it. Those flags must be exported in order to be accessible from
containers other than the container where the flag and the API are hosted.
Bug: 320984775
Bug: 322839671
Test: m all_aconfig_declarations
Test: printflags --format='{fully_qualified_name}:{is_exported}' | grep true
Ignore-AOSP-First: LSC
Change-Id: I8c2d111fd4ffb23f3f52c9d00bf6bbd2456d7f05
67 files changed, 216 insertions, 1 deletions
diff --git a/apex/jobscheduler/framework/aconfig/job.aconfig b/apex/jobscheduler/framework/aconfig/job.aconfig index 788e82407926..2c1a8532568c 100644 --- a/apex/jobscheduler/framework/aconfig/job.aconfig +++ b/apex/jobscheduler/framework/aconfig/job.aconfig @@ -9,6 +9,7 @@ flag { flag { name: "job_debug_info_apis" + is_exported: true namespace: "backstage_power" description: "Add APIs to let apps attach debug information to jobs" bug: "293491637" @@ -16,6 +17,7 @@ flag { flag { name: "backup_jobs_exemption" + is_exported: true namespace: "backstage_power" description: "Introduce a new RUN_BACKUP_JOBS permission and exemption logic allowing for longer running jobs for apps whose primary purpose is to backup or sync content." bug: "318731461" diff --git a/core/java/android/app/activity_manager.aconfig b/core/java/android/app/activity_manager.aconfig index 350b1edf2129..b9aa18c0211c 100644 --- a/core/java/android/app/activity_manager.aconfig +++ b/core/java/android/app/activity_manager.aconfig @@ -3,6 +3,7 @@ package: "android.app" flag { namespace: "system_performance" name: "app_start_info" + is_exported: true description: "Control collecting of ApplicationStartInfo records and APIs." bug: "247814855" } @@ -10,6 +11,7 @@ flag { flag { namespace: "backstage_power" name: "get_binding_uid_importance" + is_exported: true description: "API to get importance of UID that's binding to the caller" bug: "292533010" } @@ -17,6 +19,7 @@ flag { flag { namespace: "backstage_power" name: "app_restrictions_api" + is_exported: true description: "API to track and query restrictions applied to apps" bug: "320150834" } @@ -24,6 +27,7 @@ flag { flag { namespace: "backstage_power" name: "uid_importance_listener_for_uids" + is_exported: true description: "API to add OnUidImportanceListener with targetted UIDs" bug: "286258140" } @@ -31,12 +35,14 @@ flag { flag { namespace: "backstage_power" name: "introduce_new_service_ontimeout_callback" + is_exported: true description: "Add a new callback in Service to indicate a FGS has reached its timeout." bug: "317799821" } flag { name: "bcast_event_timestamps" + is_exported: true namespace: "backstage_power" description: "Add APIs for clients to provide broadcast event trigger timestamps" bug: "325136414" diff --git a/core/java/android/app/admin/flags/flags.aconfig b/core/java/android/app/admin/flags/flags.aconfig index 3ec6fe7728e5..4fa45be57a11 100644 --- a/core/java/android/app/admin/flags/flags.aconfig +++ b/core/java/android/app/admin/flags/flags.aconfig @@ -5,6 +5,7 @@ package: "android.app.admin.flags" flag { name: "policy_engine_migration_v2_enabled" + is_exported: true namespace: "enterprise" description: "V2 of the policy engine migrations for Android V" bug: "289520697" @@ -12,6 +13,7 @@ flag { flag { name: "device_policy_size_tracking_enabled" + is_exported: true namespace: "enterprise" description: "Add feature to track the total policy size and have a max threshold - public API changes" bug: "281543351" @@ -26,6 +28,7 @@ flag { flag { name: "onboarding_bugreport_v2_enabled" + is_exported: true namespace: "enterprise" description: "Add feature to track required changes for enabled V2 of auto-capturing of onboarding bug reports." bug: "302517677" @@ -47,6 +50,7 @@ flag { flag { name: "dedicated_device_control_api_enabled" + is_exported: true namespace: "enterprise" description: "(API) Allow the device management role holder to control which platform features are available on dedicated devices." bug: "281964214" @@ -54,6 +58,7 @@ flag { flag { name: "permission_migration_for_zero_trust_api_enabled" + is_exported: true namespace: "enterprise" description: "(API) Migrate existing APIs to permission based, and enable DMRH to call them to collect Zero Trust signals." bug: "289520697" @@ -68,6 +73,7 @@ flag { flag { name: "device_theft_api_enabled" + is_exported: true namespace: "enterprise" description: "Add new API for theft detection." bug: "325073410" @@ -89,6 +95,7 @@ flag { flag { name: "security_log_v2_enabled" + is_exported: true namespace: "enterprise" description: "Improve access to security logging in the context of Zero Trust." bug: "295324350" @@ -103,6 +110,7 @@ flag { flag { name: "allow_querying_profile_type" + is_exported: true namespace: "enterprise" description: "Public APIs to query if a user is a profile and what kind of profile type it is." bug: "323001115" @@ -117,6 +125,7 @@ flag { flag { name: "assist_content_user_restriction_enabled" + is_exported: true namespace: "enterprise" description: "Prevent work data leakage by sending assist content to privileged apps." bug: "322975406" @@ -134,6 +143,7 @@ flag { flag { name: "backup_service_security_log_event_enabled" + is_exported: true namespace: "enterprise" description: "Emit a security log event when DPM.setBackupServiceEnabled is called" bug: "304999634" @@ -141,6 +151,7 @@ flag { flag { name: "esim_management_enabled" + is_exported: true namespace: "enterprise" description: "Enable APIs to provision and manage eSIMs" bug: "295301164" @@ -148,6 +159,7 @@ flag { flag { name: "headless_device_owner_single_user_enabled" + is_exported: true namespace: "enterprise" description: "Add Headless DO support." bug: "289515470" @@ -155,6 +167,7 @@ flag { flag { name: "is_mte_policy_enforced" + is_exported: true namespace: "enterprise" description: "Allow to query whether MTE is enabled or not to check for compliance for enterprise policy" bug: "322777918" diff --git a/core/java/android/app/background_install_control_manager.aconfig b/core/java/android/app/background_install_control_manager.aconfig index 4473b9523f1b..5f3bb0745b08 100644 --- a/core/java/android/app/background_install_control_manager.aconfig +++ b/core/java/android/app/background_install_control_manager.aconfig @@ -3,6 +3,7 @@ package: "android.app" flag { namespace: "preload_safety" name: "bic_client" + is_exported: true description: "System API for background install control." is_fixed_read_only: true bug: "287507984" diff --git a/core/java/android/app/grammatical_inflection_manager.aconfig b/core/java/android/app/grammatical_inflection_manager.aconfig index 68d12ba75560..0d7bf65215a0 100644 --- a/core/java/android/app/grammatical_inflection_manager.aconfig +++ b/core/java/android/app/grammatical_inflection_manager.aconfig @@ -2,6 +2,7 @@ package: "android.app" flag { name: "system_terms_of_address_enabled" + is_exported: true namespace: "globalintl" description: "Feature flag for System Terms of Address" bug: "297798866" diff --git a/core/java/android/app/multitasking.aconfig b/core/java/android/app/multitasking.aconfig index ab00891b9b31..dbf3173a4ee6 100644 --- a/core/java/android/app/multitasking.aconfig +++ b/core/java/android/app/multitasking.aconfig @@ -2,6 +2,7 @@ package: "android.app" flag { name: "enable_pip_ui_state_callback_on_entering" + is_exported: true namespace: "multitasking" description: "Enables PiP UI state callback on entering" bug: "303718131" diff --git a/core/java/android/app/notification.aconfig b/core/java/android/app/notification.aconfig index 274d02a79270..e9a746022a75 100644 --- a/core/java/android/app/notification.aconfig +++ b/core/java/android/app/notification.aconfig @@ -2,6 +2,7 @@ package: "android.app" flag { name: "modes_api" + is_exported: true namespace: "systemui" description: "This flag controls new and updated DND apis" bug: "300477976" @@ -16,6 +17,7 @@ flag { flag { name: "api_tvextender" + is_exported: true namespace: "systemui" description: "Guards new android.app.Notification.TvExtender api" bug: "308164892" @@ -24,6 +26,7 @@ flag { flag { name: "lifetime_extension_refactor" + is_exported: true namespace: "systemui" description: "Enables moving notification lifetime extension management from SystemUI to " "Notification Manager Service" @@ -46,6 +49,7 @@ flag { flag { name: "category_voicemail" + is_exported: true namespace: "wear_sysui" description: "Adds a new voicemail category for notifications" bug: "322806700" @@ -53,6 +57,7 @@ flag { flag { name: "notification_channel_vibration_effect_api" + is_exported: true namespace: "systemui" description: "This flag enables the API to allow setting VibrationEffect for NotificationChannels" bug: "241732519" diff --git a/core/java/android/app/ondeviceintelligence/flags/ondevice_intelligence.aconfig b/core/java/android/app/ondeviceintelligence/flags/ondevice_intelligence.aconfig index 44f33298b1b2..dd9210faa10c 100644 --- a/core/java/android/app/ondeviceintelligence/flags/ondevice_intelligence.aconfig +++ b/core/java/android/app/ondeviceintelligence/flags/ondevice_intelligence.aconfig @@ -2,6 +2,7 @@ package: "android.app.ondeviceintelligence.flags" flag { name: "enable_on_device_intelligence" + is_exported: true namespace: "ondeviceintelligence" description: "Make methods on OnDeviceIntelligenceManager available for local inference." bug: "304755128" diff --git a/core/java/android/app/pinner-client.aconfig b/core/java/android/app/pinner-client.aconfig index b60ad9ee1f8d..0f7fa14d9b6a 100644 --- a/core/java/android/app/pinner-client.aconfig +++ b/core/java/android/app/pinner-client.aconfig @@ -3,6 +3,7 @@ package: "android.app" flag { namespace: "system_performance" name: "pinner_service_client_api" + is_exported: true description: "Control exposing PinnerService APIs." bug: "307594624" }
\ No newline at end of file diff --git a/core/java/android/app/smartspace/flags.aconfig b/core/java/android/app/smartspace/flags.aconfig index 12af888bfaa5..e90ba67fe6dd 100644 --- a/core/java/android/app/smartspace/flags.aconfig +++ b/core/java/android/app/smartspace/flags.aconfig @@ -2,6 +2,7 @@ package: "android.app.smartspace.flags" flag { name: "remote_views" + is_exported: true namespace: "sysui_integrations" description: "Flag to enable the FlaggedApi to include RemoteViews in SmartspaceTarget" bug: "300157758" @@ -9,6 +10,7 @@ flag { flag { name: "access_smartspace" + is_exported: true namespace: "sysui_integrations" description: "Flag to enable the ACCESS_SMARTSPACE check in SmartspaceManagerService" bug: "297207196" diff --git a/core/java/android/app/usage/flags.aconfig b/core/java/android/app/usage/flags.aconfig index 4d9d911ed563..9a2d2e5d8319 100644 --- a/core/java/android/app/usage/flags.aconfig +++ b/core/java/android/app/usage/flags.aconfig @@ -2,6 +2,7 @@ package: "android.app.usage" flag { name: "user_interaction_type_api" + is_exported: true namespace: "backstage_power" description: "Feature flag for user interaction event report/query API" bug: "296061232" @@ -9,6 +10,7 @@ flag { flag { name: "report_usage_stats_permission" + is_exported: true namespace: "backstage_power" description: "Feature flag for the new REPORT_USAGE_STATS permission." bug: "296056771" @@ -31,6 +33,7 @@ flag { flag { name: "filter_based_event_query_api" + is_exported: true namespace: "backstage_power" description: " Feature flag to support filter based event query API" bug: "194321117" @@ -38,6 +41,7 @@ flag { flag { name: "get_app_bytes_by_data_type_api" + is_exported: true namespace: "system_performance" description: "Feature flag for collecting app data size by file type API" bug: "294088945" diff --git a/core/java/android/app/wearable/flags.aconfig b/core/java/android/app/wearable/flags.aconfig index b4f628ffc9b3..d1d7b5d85e2d 100644 --- a/core/java/android/app/wearable/flags.aconfig +++ b/core/java/android/app/wearable/flags.aconfig @@ -2,6 +2,7 @@ package: "android.app.wearable" flag { name: "enable_unsupported_operation_status_code" + is_exported: true namespace: "machine_learning" description: "This flag enables the WearableSensingManager#STATUS_UNSUPPORTED_OPERATION status code API." bug: "301427767" @@ -9,6 +10,7 @@ flag { flag { name: "enable_data_request_observer_api" + is_exported: true namespace: "machine_learning" description: "This flag enables the API to register a data request observer on WearableSensingManager." bug: "301427767" @@ -16,6 +18,7 @@ flag { flag { name: "enable_provide_wearable_connection_api" + is_exported: true namespace: "machine_learning" description: "This flag enables the WearableSensingManager#provideWearableConnection API." bug: "301427767" @@ -30,6 +33,7 @@ flag { flag { name: "enable_hotword_wearable_sensing_api" + is_exported: true namespace: "machine_learning" description: "This flag enables the APIs related to hotword in WearableSensingManager and WearableSensingService." bug: "310055381" diff --git a/core/java/android/appwidget/flags.aconfig b/core/java/android/appwidget/flags.aconfig index 822f02f70562..451195478760 100644 --- a/core/java/android/appwidget/flags.aconfig +++ b/core/java/android/appwidget/flags.aconfig @@ -2,6 +2,7 @@ package: "android.appwidget.flags" flag { name: "generated_previews" + is_exported: true namespace: "app_widgets" description: "Enable support for generated previews in AppWidgetManager" bug: "306546610" @@ -26,6 +27,7 @@ flag { flag { name: "draw_data_parcel" + is_exported: true namespace: "app_widgets" description: "Enable support for transporting draw instructions as data parcel" bug: "286130467" diff --git a/core/java/android/companion/flags.aconfig b/core/java/android/companion/flags.aconfig index d634b64b1a4e..ecc5e1bd194f 100644 --- a/core/java/android/companion/flags.aconfig +++ b/core/java/android/companion/flags.aconfig @@ -2,6 +2,7 @@ package: "android.companion" flag { name: "new_association_builder" + is_exported: true namespace: "companion" description: "Controls if the new Builder is exposed to test apis." bug: "296251481" @@ -16,6 +17,7 @@ flag { flag { name: "association_tag" + is_exported: true namespace: "companion" description: "Enable Association tag APIs " bug: "289241123" @@ -23,6 +25,7 @@ flag { flag { name: "device_presence" + is_exported: true namespace: "companion" description: "Enable device presence APIs" bug: "283000075" @@ -30,6 +33,7 @@ flag { flag { name: "perm_sync_user_consent" + is_exported: true namespace: "companion" description: "Expose perm sync user consent API" bug: "309528663" diff --git a/core/java/android/companion/virtual/flags.aconfig b/core/java/android/companion/virtual/flags.aconfig index 588e4fce1f3d..a6a4f5e77515 100644 --- a/core/java/android/companion/virtual/flags.aconfig +++ b/core/java/android/companion/virtual/flags.aconfig @@ -19,6 +19,7 @@ flag { flag { name: "dynamic_policy" + is_exported: true namespace: "virtual_devices" description: "Enable dynamic policy API" bug: "298401780" @@ -26,6 +27,7 @@ flag { flag { name: "cross_device_clipboard" + is_exported: true namespace: "virtual_devices" description: "Enable cross-device clipboard API" bug: "306622082" @@ -40,6 +42,7 @@ flag { flag { name: "vdm_custom_ime" + is_exported: true namespace: "virtual_devices" description: "Enable custom IME API" bug: "287269288" @@ -47,6 +50,7 @@ flag { flag { name: "vdm_custom_home" + is_exported: true namespace: "virtual_devices" description: "Enable custom home API" bug: "297168328" @@ -54,6 +58,7 @@ flag { flag { name: "vdm_public_apis" + is_exported: true namespace: "virtual_devices" description: "Enable public VDM API for device capabilities" bug: "297253526" @@ -61,6 +66,7 @@ flag { flag { name: "virtual_camera" + is_exported: true namespace: "virtual_devices" description: "Enable Virtual Camera" bug: "270352264" @@ -82,6 +88,7 @@ flag { flag { name: "persistent_device_id_api" + is_exported: true namespace: "virtual_devices" description: "Enable persistent device ID notification API" bug: "295258915" @@ -96,6 +103,7 @@ flag { flag { name: "interactive_screen_mirror" + is_exported: true namespace: "virtual_devices" description: "Enable interactive screen mirroring using Virtual Devices" bug: "292212199" @@ -103,6 +111,7 @@ flag { flag { name: "virtual_stylus" + is_exported: true namespace: "virtual_devices" description: "Enable virtual stylus input" bug: "304829446" diff --git a/core/java/android/content/flags/flags.aconfig b/core/java/android/content/flags/flags.aconfig index 3445fb53d307..27bce5bb83dd 100644 --- a/core/java/android/content/flags/flags.aconfig +++ b/core/java/android/content/flags/flags.aconfig @@ -2,6 +2,7 @@ package: "android.content.flags" flag { name: "enable_bind_package_isolated_process" + is_exported: true namespace: "machine_learning" description: "This flag enables the newly added flag for binding package-private isolated processes." bug: "312706530" diff --git a/core/java/android/content/pm/flags.aconfig b/core/java/android/content/pm/flags.aconfig index 92cb9cc1d8dc..cde565b3f66e 100644 --- a/core/java/android/content/pm/flags.aconfig +++ b/core/java/android/content/pm/flags.aconfig @@ -2,6 +2,7 @@ package: "android.content.pm" flag { name: "quarantined_enabled" + is_exported: true namespace: "package_manager_service" description: "Feature flag for Quarantined state" bug: "269127435" @@ -9,6 +10,7 @@ flag { flag { name: "archiving" + is_exported: true namespace: "package_manager_service" description: "Feature flag to enable the archiving feature." bug: "278553670" @@ -24,6 +26,7 @@ flag { flag { name: "stay_stopped" + is_exported: true namespace: "backstage_power" description: "Feature flag to improve stopped state enforcement" bug: "296644915" @@ -39,6 +42,7 @@ flag { flag { name: "get_package_info" + is_exported: true namespace: "package_manager_service" description: "Feature flag to enable the feature to retrieve package info without installation." bug: "269149275" @@ -54,6 +58,7 @@ flag { flag { name: "sdk_lib_independence" + is_exported: true namespace: "package_manager_service" description: "Feature flag to keep app working even if its declared sdk-library dependency is unavailable." bug: "295827951" @@ -78,6 +83,7 @@ flag { flag { name: "get_resolved_apk_path" + is_exported: true namespace: "package_manager_service" description: "Feature flag to retrieve resolved path of the base APK during an app install." bug: "269728874" @@ -92,6 +98,7 @@ flag { flag { name: "read_install_info" + is_exported: true namespace: "package_manager_service" description: "Feature flag to read install related information from an APK." bug: "275658500" @@ -113,6 +120,7 @@ flag { flag { name: "relative_reference_intent_filters" + is_exported: true namespace: "package_manager_service" description: "Feature flag to enable relative reference intent filters" bug: "307556883" @@ -121,6 +129,7 @@ flag { flag { name: "fix_duplicated_flags" + is_exported: true namespace: "package_manager_service" description: "Feature flag to fix duplicated PackageManager flag values" bug: "314815969" @@ -128,6 +137,7 @@ flag { flag { name: "provide_info_of_apk_in_apex" + is_exported: true namespace: "package_manager_service" description: "Feature flag to provide the information of APK-in-APEX" bug: "306329516" @@ -144,6 +154,7 @@ flag { flag { name: "introduce_media_processing_type" + is_exported: true namespace: "backstage_power" description: "Add a new FGS type for media processing use cases." bug: "317788011" @@ -182,6 +193,7 @@ flag { flag { name: "emergency_install_permission" + is_exported: true namespace: "permissions" description: "Feature flag to enable permission EMERGENCY_INSTALL_PACKAGES" bug: "321080601" @@ -189,6 +201,7 @@ flag { flag { name: "asl_in_apk_app_metadata_source" + is_exported: true namespace: "package_manager_service" description: "Feature flag to allow to know if the Android Safety Label (ASL) of an app is provided by the app's APK itself, or provided by an installer." bug: "287487923" @@ -205,6 +218,7 @@ flag { flag { name: "set_pre_verified_domains" + is_exported: true namespace: "package_manager_service" description: "Feature flag to enable pre-verified domains" bug: "307327678" diff --git a/core/java/android/content/pm/multiuser.aconfig b/core/java/android/content/pm/multiuser.aconfig index 2d32aed5a1ad..4963a4f27803 100644 --- a/core/java/android/content/pm/multiuser.aconfig +++ b/core/java/android/content/pm/multiuser.aconfig @@ -24,6 +24,7 @@ flag { flag { name: "support_communal_profile" + is_exported: true namespace: "multiuser" description: "Framework support for communal profile." bug: "285426179" @@ -31,6 +32,7 @@ flag { flag { name: "support_communal_profile_nextgen" + is_exported: true namespace: "multiuser" description: "Further framework support for communal profile, beyond the basics, for later releases." bug: "285426179" @@ -59,6 +61,7 @@ flag { flag { name: "enable_biometrics_to_unlock_private_space" + is_exported: true namespace: "profile_experiences" description: "Add support to unlock the private space using biometrics" bug: "312184187" @@ -102,6 +105,7 @@ flag { flag { name: "enable_system_user_only_for_services_and_providers" + is_exported: true namespace: "multiuser" description: "Enable systemUserOnly manifest attribute for services and providers." bug: "302354856" @@ -118,6 +122,7 @@ flag { flag { name: "enable_permission_to_access_hidden_profiles" + is_exported: true namespace: "profile_experiences" description: "Add permission to access API hidden users data via system APIs" bug: "321988638" diff --git a/core/java/android/content/res/flags.aconfig b/core/java/android/content/res/flags.aconfig index 7fd0b03b213d..8f5c912d8c03 100644 --- a/core/java/android/content/res/flags.aconfig +++ b/core/java/android/content/res/flags.aconfig @@ -2,6 +2,7 @@ package: "android.content.res" flag { name: "default_locale" + is_exported: true namespace: "resource_manager" description: "Feature flag for default locale in LocaleConfig" bug: "117306409" @@ -11,6 +12,7 @@ flag { flag { name: "font_scale_converter_public" + is_exported: true namespace: "accessibility" description: "Enables the public API for FontScaleConverter, including enabling thread-safe caching." bug: "239736383" @@ -20,6 +22,7 @@ flag { flag { name: "asset_file_descriptor_frro" + is_exported: true namespace: "resource_manager" description: "Feature flag for passing in an AssetFileDescriptor to create an frro" bug: "304478666" @@ -27,6 +30,7 @@ flag { flag { name: "manifest_flagging" + is_exported: true namespace: "resource_manager" description: "Feature flag for flagging manifest entries" bug: "297373084" @@ -36,6 +40,7 @@ flag { flag { name: "nine_patch_frro" + is_exported: true namespace: "resource_manager" description: "Feature flag for creating an frro from a 9-patch" bug: "296324826" @@ -43,6 +48,7 @@ flag { flag { name: "register_resource_paths" + is_exported: true namespace: "resource_manager" description: "Feature flag for register resource paths for shared library" bug: "306202569" diff --git a/core/java/android/credentials/flags.aconfig b/core/java/android/credentials/flags.aconfig index 16ca31f27028..d0773297a4a0 100644 --- a/core/java/android/credentials/flags.aconfig +++ b/core/java/android/credentials/flags.aconfig @@ -3,6 +3,7 @@ package: "android.credentials.flags" flag { namespace: "credential_manager" name: "settings_activity_enabled" + is_exported: true description: "Enable the Credential Manager Settings Activity APIs" bug: "300014059" } @@ -24,6 +25,7 @@ flag { flag { namespace: "credential_manager" name: "new_settings_intents" + is_exported: true description: "Enables settings intents to redirect to new settings page" bug: "307587989" } @@ -45,6 +47,7 @@ flag { flag { namespace: "credential_manager" name: "configurable_selector_ui_enabled" + is_exported: true description: "Enables OEM configurable Credential Selector UI" bug: "319448437" is_exported: true diff --git a/core/java/android/database/sqlite/flags.aconfig b/core/java/android/database/sqlite/flags.aconfig index 92ef9c24c4ef..7ecffaf01549 100644 --- a/core/java/android/database/sqlite/flags.aconfig +++ b/core/java/android/database/sqlite/flags.aconfig @@ -2,6 +2,7 @@ package: "android.database.sqlite" flag { name: "sqlite_apis_35" + is_exported: true namespace: "system_performance" is_fixed_read_only: true description: "SQLite APIs held back for Android 15" diff --git a/core/java/android/hardware/biometrics/flags.aconfig b/core/java/android/hardware/biometrics/flags.aconfig index ff07498836af..9836eece19fe 100644 --- a/core/java/android/hardware/biometrics/flags.aconfig +++ b/core/java/android/hardware/biometrics/flags.aconfig @@ -18,6 +18,7 @@ flag { flag { name: "get_op_id_crypto_object" + is_exported: true namespace: "biometrics_framework" description: "Feature flag for adding a get operation id api to CryptoObject." bug: "307601768" @@ -25,8 +26,8 @@ flag { flag { name: "custom_biometric_prompt" + is_exported: true namespace: "biometrics_framework" description: "Feature flag for adding a custom content view API to BiometricPrompt.Builder." bug: "302735104" } - diff --git a/core/java/android/hardware/devicestate/feature/flags.aconfig b/core/java/android/hardware/devicestate/feature/flags.aconfig index 73a9e346bd5d..e474603f2b03 100644 --- a/core/java/android/hardware/devicestate/feature/flags.aconfig +++ b/core/java/android/hardware/devicestate/feature/flags.aconfig @@ -2,6 +2,7 @@ package: "android.hardware.devicestate.feature.flags" flag { name: "device_state_property_api" + is_exported: true namespace: "windowing_sdk" description: "Updated DeviceState hasProperty API" bug: "293636629" diff --git a/core/java/android/hardware/flags/overlayproperties_flags.aconfig b/core/java/android/hardware/flags/overlayproperties_flags.aconfig index c6a352e0fedf..1165e650f469 100644 --- a/core/java/android/hardware/flags/overlayproperties_flags.aconfig +++ b/core/java/android/hardware/flags/overlayproperties_flags.aconfig @@ -2,6 +2,7 @@ package: "android.hardware.flags" flag { name: "overlayproperties_class_api" + is_exported: true namespace: "core_graphics" description: "public OverlayProperties class, OverlayProperties#supportMixedColorSpaces and Display#getOverlaySupport API" bug: "267234573" diff --git a/core/java/android/hardware/input/input_framework.aconfig b/core/java/android/hardware/input/input_framework.aconfig index e070fe570907..9684e6498bfa 100644 --- a/core/java/android/hardware/input/input_framework.aconfig +++ b/core/java/android/hardware/input/input_framework.aconfig @@ -27,6 +27,7 @@ flag { flag { namespace: "input_native" name: "pointer_coords_is_resampled_api" + is_exported: true description: "Makes MotionEvent.PointerCoords#isResampled() a public API" bug: "298197511" } @@ -34,6 +35,7 @@ flag { flag { namespace: "input_native" name: "emoji_and_screenshot_keycodes_available" + is_exported: true description: "Add new KeyEvent keycodes for opening Emoji Picker and Taking Screenshots" bug: "315307777" } diff --git a/core/java/android/hardware/radio/flags.aconfig b/core/java/android/hardware/radio/flags.aconfig index dbc1a4b21cfb..d0d10c17ee38 100644 --- a/core/java/android/hardware/radio/flags.aconfig +++ b/core/java/android/hardware/radio/flags.aconfig @@ -2,6 +2,7 @@ package: "android.hardware.radio" flag { name: "hd_radio_improved" + is_exported: true namespace: "car_framework" description: "Feature flag for improved HD radio support with less vendor extensions" bug: "280300929" diff --git a/core/java/android/hardware/usb/flags/system_sw_usb_flags.aconfig b/core/java/android/hardware/usb/flags/system_sw_usb_flags.aconfig index 9e487e1a4fc6..fac02ce652b2 100644 --- a/core/java/android/hardware/usb/flags/system_sw_usb_flags.aconfig +++ b/core/java/android/hardware/usb/flags/system_sw_usb_flags.aconfig @@ -2,6 +2,7 @@ package: "android.hardware.usb.flags" flag { name: "enable_usb_data_compliance_warning" + is_exported: true namespace: "system_sw_usb" description: "Enable USB data compliance warnings when set" bug: "296119135" diff --git a/core/java/android/hardware/usb/flags/usb_framework_flags.aconfig b/core/java/android/hardware/usb/flags/usb_framework_flags.aconfig index a4956311995c..3dd746c5fad3 100644 --- a/core/java/android/hardware/usb/flags/usb_framework_flags.aconfig +++ b/core/java/android/hardware/usb/flags/usb_framework_flags.aconfig @@ -2,6 +2,7 @@ package: "android.hardware.usb.flags" flag { name: "enable_is_pd_compliant_api" + is_exported: true namespace: "usb" description: "Feature flag for the api to check if a port is PD compliant" bug: "323470419" @@ -9,6 +10,7 @@ flag { flag { name: "enable_is_mode_change_supported_api" + is_exported: true namespace: "usb" description: "Feature flag for the api to check if a port supports mode change" bug: "323470419" diff --git a/core/java/android/os/flags.aconfig b/core/java/android/os/flags.aconfig index 375d729a4e08..311e99111d04 100644 --- a/core/java/android/os/flags.aconfig +++ b/core/java/android/os/flags.aconfig @@ -26,6 +26,7 @@ flag { flag { name: "remove_app_profiler_pss_collection" + is_exported: true namespace: "backstage_power" description: "Replaces background PSS collection in AppProfiler with RSS" bug: "297542292" @@ -33,6 +34,7 @@ flag { flag { name: "allow_thermal_headroom_thresholds" + is_exported: true namespace: "game" description: "Enable thermal headroom thresholds API" bug: "288119641" @@ -41,6 +43,7 @@ flag { # This flag guards the private space feature, its APIs, and some of the feature implementations. The flag android.multiuser.Flags.enable_private_space_features exclusively guards all the implementations. flag { name: "allow_private_profile" + is_exported: true namespace: "profile_experiences" description: "Guards a new Private Profile type in UserManager - everything from its setup to config to deletion." bug: "299069460" @@ -49,6 +52,7 @@ flag { flag { name: "bugreport_mode_max_value" + is_exported: true namespace: "telephony" description: "Introduce a constant as maximum value of bugreport mode." bug: "305067125" @@ -56,6 +60,7 @@ flag { flag { name: "adpf_prefer_power_efficiency" + is_exported: true namespace: "game" description: "Guards the ADPF power efficiency API" bug: "288117936" @@ -63,6 +68,7 @@ flag { flag { name: "security_state_service" + is_exported: true namespace: "dynamic_spl" description: "Guards the Security State API." bug: "302189431" @@ -70,6 +76,7 @@ flag { flag { name: "battery_saver_supported_check_api" + is_exported: true namespace: "backstage_power" description: "Guards a new API in PowerManager to check if battery saver is supported or not." bug: "305067031" @@ -77,6 +84,7 @@ flag { flag { name: "adpf_gpu_report_actual_work_duration" + is_exported: true namespace: "game" description: "Guards the ADPF GPU APIs." bug: "284324521" @@ -114,6 +122,7 @@ flag { flag { name: "battery_part_status_api" + is_exported: true namespace: "phoenix" description: "Feature flag for adding Health HAL v3 APIs." is_fixed_read_only: true @@ -122,6 +131,7 @@ flag { flag { name: "storage_lifetime_api" + is_exported: true namespace: "phoenix" description: "Feature flag for adding storage component health APIs." is_fixed_read_only: true @@ -131,6 +141,7 @@ flag { flag { namespace: "system_performance" name: "telemetry_apis_framework_initialization" + is_exported: true description: "Control framework initialization APIs of telemetry APIs feature." is_fixed_read_only: true bug: "324241334" diff --git a/core/java/android/os/vibrator/flags.aconfig b/core/java/android/os/vibrator/flags.aconfig index d485eca7375b..bb0498ed6a78 100644 --- a/core/java/android/os/vibrator/flags.aconfig +++ b/core/java/android/os/vibrator/flags.aconfig @@ -10,6 +10,7 @@ flag { flag { namespace: "haptics" name: "haptics_customization_enabled" + is_exported: true description: "Enables the haptics customization feature" bug: "241918098" } diff --git a/core/java/android/permission/flags.aconfig b/core/java/android/permission/flags.aconfig index 999bc99b6915..2710df2ec982 100644 --- a/core/java/android/permission/flags.aconfig +++ b/core/java/android/permission/flags.aconfig @@ -2,6 +2,7 @@ package: "android.permission.flags" flag { name: "device_aware_permission_apis_enabled" + is_exported: true is_fixed_read_only: true namespace: "permissions" description: "enable device aware permission APIs" @@ -10,6 +11,7 @@ flag { flag { name: "voice_activation_permission_apis" + is_exported: true namespace: "permissions" description: "enable voice activation permission APIs" bug: "287264308" @@ -17,6 +19,7 @@ flag { flag { name: "system_server_role_controller_enabled" + is_exported: true is_fixed_read_only: true namespace: "permissions" description: "enable role controller in system server" @@ -25,6 +28,7 @@ flag { flag { name: "set_next_attribution_source" + is_exported: true namespace: "permissions" description: "enable AttributionSource.setNextAttributionSource" bug: "304478648" @@ -32,6 +36,7 @@ flag { flag { name: "should_register_attribution_source" + is_exported: true namespace: "permissions" description: "enable the shouldRegisterAttributionSource API" bug: "305057691" @@ -39,6 +44,7 @@ flag { flag { name: "attribution_source_constructor" + is_exported: true namespace: "permissions" description: "enable AttributionSource(int, int, String, String, IBinder, String[], AttributionSource)" bug: "304478648" @@ -46,6 +52,7 @@ flag { flag { name: "enhanced_confirmation_mode_apis_enabled" + is_exported: true is_fixed_read_only: true namespace: "permissions" description: "enable enhanced confirmation mode apis" @@ -54,6 +61,7 @@ flag { flag { name: "op_enable_mobile_data_by_user" + is_exported: true namespace: "permissions" description: "enables logging of the OP_ENABLE_MOBILE_DATA_BY_USER" bug: "222650148" @@ -61,6 +69,7 @@ flag { flag { name: "factory_reset_prep_permission_apis" + is_exported: true namespace: "wallet_integration" description: "enable Permission PREPARE_FACTORY_RESET." bug: "302016478" @@ -68,6 +77,7 @@ flag { flag { name: "retail_demo_role_enabled" + is_exported: true namespace: "permissions" description: "default retail demo role holder" bug: "274132354" @@ -82,6 +92,7 @@ flag { flag { name: "wallet_role_enabled" + is_exported: true namespace: "wallet_integration" description: "This flag is used to enabled the Wallet Role for all users on the device" bug: "283989236" @@ -114,6 +125,7 @@ flag { flag { name: "get_emergency_role_holder_api_enabled" + is_exported: true is_fixed_read_only: true namespace: "permissions" description: "Enables the getEmergencyRoleHolder API." diff --git a/core/java/android/provider/flags.aconfig b/core/java/android/provider/flags.aconfig index ea1ac2793a11..9245557bd488 100644 --- a/core/java/android/provider/flags.aconfig +++ b/core/java/android/provider/flags.aconfig @@ -2,6 +2,7 @@ package: "android.provider" flag { name: "system_settings_default" + is_exported: true namespace: "package_manager_service" description: "Enable Settings.System.resetToDefault APIs." bug: "279083734" @@ -9,6 +10,7 @@ flag { flag { name: "user_keys" + is_exported: true namespace: "privacy_infra_policy" description: "This flag controls new E2EE contact keys API" bug: "290696572" @@ -16,6 +18,7 @@ flag { flag { name: "backup_tasks_settings_screen" + is_exported: true namespace: "backstage_power" description: "Add a new settings page for the RUN_BACKUP_JOBS permission." bug: "320563660" diff --git a/core/java/android/security/flags.aconfig b/core/java/android/security/flags.aconfig index 3c77c44fb3f0..7f5b550c830a 100644 --- a/core/java/android/security/flags.aconfig +++ b/core/java/android/security/flags.aconfig @@ -10,6 +10,7 @@ flag { flag { name: "fsverity_api" + is_exported: true namespace: "hardware_backed_security" description: "Feature flag for fs-verity API" bug: "285185747" @@ -64,6 +65,7 @@ flag { flag { name: "frp_enforcement" + is_exported: true namespace: "hardware_backed_security" description: "This flag controls whether PDB enforces FRP" bug: "290312729" diff --git a/core/java/android/security/responsible_apis_flags.aconfig b/core/java/android/security/responsible_apis_flags.aconfig index 0bae459fefc3..548f8aa8113a 100644 --- a/core/java/android/security/responsible_apis_flags.aconfig +++ b/core/java/android/security/responsible_apis_flags.aconfig @@ -9,6 +9,7 @@ flag { flag { name: "asm_restrictions_enabled" + is_exported: true namespace: "responsible_apis" description: "Enables ASM restrictions for activity starts and finishes" bug: "230590090" @@ -23,6 +24,7 @@ flag { flag { name: "content_uri_permission_apis" + is_exported: true namespace: "responsible_apis" description: "Enables the content URI permission APIs" bug: "293467489" @@ -30,6 +32,7 @@ flag { flag { name: "enforce_intent_filter_match" + is_exported: true namespace: "responsible_apis" description: "Make delivered intents match components' intent filters" bug: "293560872" diff --git a/core/java/android/service/appprediction/flags/flags.aconfig b/core/java/android/service/appprediction/flags/flags.aconfig index c7e47d4b3627..7f9764e82c5d 100644 --- a/core/java/android/service/appprediction/flags/flags.aconfig +++ b/core/java/android/service/appprediction/flags/flags.aconfig @@ -2,6 +2,7 @@ package: "android.service.appprediction.flags" flag { name: "service_features_api" + is_exported: true namespace: "systemui" description: "Guards the new requestServiceFeatures api" bug: "292565550" diff --git a/core/java/android/service/chooser/flags.aconfig b/core/java/android/service/chooser/flags.aconfig index 00236dfa7876..a3eff3becd49 100644 --- a/core/java/android/service/chooser/flags.aconfig +++ b/core/java/android/service/chooser/flags.aconfig @@ -2,6 +2,7 @@ package: "android.service.chooser" flag { name: "chooser_album_text" + is_exported: true namespace: "intentresolver" description: "Flag controlling the album text subtype hint for sharesheet" bug: "323380224" @@ -9,6 +10,7 @@ flag { flag { name: "enable_sharesheet_metadata_extra" + is_exported: true namespace: "intentresolver" description: "This flag enables sharesheet metadata to be displayed to users." bug: "318942069" @@ -16,6 +18,7 @@ flag { flag { name: "chooser_payload_toggling" + is_exported: true namespace: "intentresolver" description: "This flag controls content toggling in Chooser" bug: "302691505" @@ -23,6 +26,7 @@ flag { flag { name: "enable_chooser_result" + is_exported: true namespace: "intentresolver" description: "Provides additional callbacks with information about user actions in ChooserResult" bug: "263474465" diff --git a/core/java/android/service/controls/flags/flags.aconfig b/core/java/android/service/controls/flags/flags.aconfig index 3a288440d362..197f1bcbc001 100644 --- a/core/java/android/service/controls/flags/flags.aconfig +++ b/core/java/android/service/controls/flags/flags.aconfig @@ -2,6 +2,7 @@ package: "android.service.controls.flags" flag { name: "home_panel_dream" + is_exported: true namespace: "systemui" description: "Enables the home controls dream feature." bug: "298025023" diff --git a/core/java/android/service/notification/flags.aconfig b/core/java/android/service/notification/flags.aconfig index c5acc2ceb968..35cd3edcafcb 100644 --- a/core/java/android/service/notification/flags.aconfig +++ b/core/java/android/service/notification/flags.aconfig @@ -10,6 +10,7 @@ flag { flag { name: "redact_sensitive_notifications_from_untrusted_listeners" + is_exported: true namespace: "systemui" description: "This flag controls the redacting of sensitive notifications from untrusted NotificationListenerServices" bug: "306271190" @@ -18,6 +19,7 @@ flag { flag { name: "callstyle_callback_api" + is_exported: true namespace: "systemui" description: "Guards the new CallStyleNotificationEventsCallback" bug: "305095040" diff --git a/core/java/android/service/voice/flags/flags.aconfig b/core/java/android/service/voice/flags/flags.aconfig index 22e8cddbfdb8..633304b94a5f 100644 --- a/core/java/android/service/voice/flags/flags.aconfig +++ b/core/java/android/service/voice/flags/flags.aconfig @@ -2,6 +2,7 @@ package: "android.service.voice.flags" flag { name: "allow_training_data_egress_from_hds" + is_exported: true namespace: "machine_learning" description: "This flag allows the hotword detection service to egress training data to the default assistant." bug: "296074924" @@ -9,6 +10,7 @@ flag { flag { name: "allow_hotword_bump_egress" + is_exported: true namespace: "machine_learning" description: "This flag allows hotword detection service to egress reason code for hotword bump." bug: "290951024" @@ -16,6 +18,7 @@ flag { flag { name: "allow_foreground_activities_in_on_show" + is_exported: true namespace: "machine_learning" description: "This flag allows providing foreground app component along with onShow args." bug: "319409708" @@ -23,6 +26,7 @@ flag { flag { name: "allow_various_attention_types" + is_exported: true namespace: "visual_query" description: "This flag allows visual query detection service to set different attention types." bug: "318617199" @@ -30,6 +34,7 @@ flag { flag { name: "allow_complex_results_egress_from_vqds" + is_exported: true namespace: "visual_query" description: "This flag allows visual query detection service egress detailed results. " bug: "318617199" @@ -37,6 +42,7 @@ flag { flag { name: "allow_speaker_id_egress" + is_exported: true namespace: "machine_learning" description: "This flag allows hotword detection service and visual query detection service to egress current speaker profile id." bug: "318617199" diff --git a/core/java/android/speech/flags/speech_flags.aconfig b/core/java/android/speech/flags/speech_flags.aconfig index fd8012746a27..fa3359264ab6 100644 --- a/core/java/android/speech/flags/speech_flags.aconfig +++ b/core/java/android/speech/flags/speech_flags.aconfig @@ -2,6 +2,7 @@ package: "android.speech.flags" flag { name: "multilang_extra_launch" + is_exported: true namespace: "machine_learning" description: "Feature flag for adding new extra for multi-lang feature" bug: "312489931" diff --git a/core/java/android/text/flags/flags.aconfig b/core/java/android/text/flags/flags.aconfig index 30b1a2ef5849..8e1ac631cf03 100644 --- a/core/java/android/text/flags/flags.aconfig +++ b/core/java/android/text/flags/flags.aconfig @@ -10,6 +10,7 @@ flag { flag { name: "new_fonts_fallback_xml" + is_exported: true namespace: "text" description: "Feature flag for deprecating fonts.xml. By setting true for this feature flag, the new font configuration XML, /system/etc/font_fallback.xml is used. The new XML has a new syntax and flexibility of variable font declarations, but it is not compatible with the apps that reads fonts.xml. So, fonts.xml is maintained as a subset of the font_fallback.xml" # Make read only, as it could be used before the Settings provider is initialized. @@ -26,6 +27,7 @@ flag { flag { name: "fix_line_height_for_locale" + is_exported: true namespace: "text" description: "Feature flag that preserve the line height of the TextView and EditText even if the the locale is different from Latin" bug: "303326708" @@ -33,6 +35,7 @@ flag { flag { name: "no_break_no_hyphenation_span" + is_exported: true namespace: "text" description: "A feature flag that adding new spans that prevents line breaking and hyphenation." bug: "283193586" @@ -57,6 +60,7 @@ flag { flag { name: "use_bounds_for_width" + is_exported: true namespace: "text" description: "Feature flag for preventing horizontal clipping." bug: "63938206" @@ -71,6 +75,7 @@ flag { flag { name: "word_style_auto" + is_exported: true namespace: "text" description: "A feature flag that implements line break word style auto." bug: "280005585" @@ -78,6 +83,7 @@ flag { flag { name: "letter_spacing_justification" + is_exported: true namespace: "text" description: "A feature flag that implement inter character justification." bug: "283193133" diff --git a/core/java/android/view/accessibility/flags/accessibility_flags.aconfig b/core/java/android/view/accessibility/flags/accessibility_flags.aconfig index 5b99c71f3a8b..91bd4ea0bc87 100644 --- a/core/java/android/view/accessibility/flags/accessibility_flags.aconfig +++ b/core/java/android/view/accessibility/flags/accessibility_flags.aconfig @@ -4,6 +4,7 @@ package: "android.view.accessibility" flag { name: "a11y_overlay_callbacks" + is_exported: true namespace: "accessibility" description: "Whether to allow the passing of result callbacks when attaching a11y overlays." bug: "304478691" @@ -26,6 +27,7 @@ flag { flag { namespace: "accessibility" name: "braille_display_hid" + is_exported: true description: "Enables new APIs for an AccessibilityService to communicate with a HID Braille display" bug: "303522222" } @@ -40,6 +42,7 @@ flag { flag { namespace: "accessibility" name: "collection_info_item_counts" + is_exported: true description: "Fields for total items and the number of important for accessibility items in a collection" bug: "302376158" } @@ -61,6 +64,7 @@ flag { flag { namespace: "accessibility" name: "flash_notification_system_api" + is_exported: true description: "Makes flash notification APIs as system APIs for calling from mainline module" bug: "303131332" } @@ -74,6 +78,7 @@ flag { flag { name: "motion_event_observing" + is_exported: true namespace: "accessibility" description: "Allows accessibility services to intercept but not consume motion events from specified sources." bug: "297595990" @@ -82,6 +87,7 @@ flag { flag { namespace: "accessibility" name: "granular_scrolling" + is_exported: true description: "Allow the use of granular scrolling. This allows scrollable nodes to scroll by increments other than a full screen" bug: "302376158" } @@ -103,6 +109,7 @@ flag { flag { namespace: "accessibility" name: "add_type_window_control" + is_exported: true description: "adds new TYPE_WINDOW_CONTROL to AccessibilityWindowInfo for detecting Window Decorations" bug: "320445550" } diff --git a/core/java/android/view/contentprotection/flags/content_protection_flags.aconfig b/core/java/android/view/contentprotection/flags/content_protection_flags.aconfig index 5d3153c00e8a..4de0f29c60fe 100644 --- a/core/java/android/view/contentprotection/flags/content_protection_flags.aconfig +++ b/core/java/android/view/contentprotection/flags/content_protection_flags.aconfig @@ -23,6 +23,7 @@ flag { flag { name: "create_accessibility_overlay_app_op_enabled" + is_exported: true namespace: "content_protection" description: "If true, an appop is logged on creation of accessibility overlays." bug: "289081465" @@ -30,6 +31,7 @@ flag { flag { name: "rapid_clear_notifications_by_listener_app_op_enabled" + is_exported: true namespace: "content_protection" description: "If true, an appop is logged when a notification is rapidly cleared by a notification listener." bug: "289080543" @@ -37,6 +39,7 @@ flag { flag { name: "manage_device_policy_enabled" + is_exported: true namespace: "content_protection" description: "If true, the APIs to manage content protection device policy will be enabled." bug: "319477846" diff --git a/core/java/android/view/flags/refresh_rate_flags.aconfig b/core/java/android/view/flags/refresh_rate_flags.aconfig index 05cabd56f532..06598b3dfdbd 100644 --- a/core/java/android/view/flags/refresh_rate_flags.aconfig +++ b/core/java/android/view/flags/refresh_rate_flags.aconfig @@ -2,6 +2,7 @@ package: "android.view.flags" flag { name: "view_velocity_api" + is_exported: true namespace: "toolkit" description: "Feature flag for view content velocity api" bug: "293513816" @@ -16,6 +17,7 @@ flag { flag { name: "toolkit_set_frame_rate_read_only" + is_exported: true namespace: "toolkit" description: "Feature flag for toolkit to set frame rate" bug: "293512962" @@ -24,6 +26,7 @@ flag { flag { name: "expected_presentation_time_api" + is_exported: true namespace: "toolkit" description: "Feature flag for using expected presentation time of the Choreographer" bug: "278730197" @@ -31,6 +34,7 @@ flag { flag { name: "expected_presentation_time_read_only" + is_exported: true namespace: "toolkit" description: "Feature flag for using expected presentation time of the Choreographer" bug: "278730197" diff --git a/core/java/android/view/flags/scroll_feedback_flags.aconfig b/core/java/android/view/flags/scroll_feedback_flags.aconfig index d1d871c2dbda..a7c41046b5b4 100644 --- a/core/java/android/view/flags/scroll_feedback_flags.aconfig +++ b/core/java/android/view/flags/scroll_feedback_flags.aconfig @@ -3,6 +3,7 @@ package: "android.view.flags" flag { namespace: "toolkit" name: "scroll_feedback_api" + is_exported: true description: "Enable the scroll feedback APIs" bug: "239594271" } diff --git a/core/java/android/view/flags/view_flags.aconfig b/core/java/android/view/flags/view_flags.aconfig index 6cf89d685963..c482f8be7315 100644 --- a/core/java/android/view/flags/view_flags.aconfig +++ b/core/java/android/view/flags/view_flags.aconfig @@ -28,6 +28,7 @@ flag { flag { name: "sensitive_content_app_protection_api" + is_exported: true namespace: "permissions" description: "This flag controls the new sensitive content protection API," " The API will be used by other ui toolkits (i.e. compose, webview, custom virtual views)." diff --git a/core/java/android/view/flags/window_insets.aconfig b/core/java/android/view/flags/window_insets.aconfig index 201b7ad62f14..bf6df5ca21cf 100644 --- a/core/java/android/view/flags/window_insets.aconfig +++ b/core/java/android/view/flags/window_insets.aconfig @@ -2,6 +2,7 @@ package: "android.view.flags" flag { name: "customizable_window_headers" + is_exported: true namespace: "lse_desktop_experience" description: "Flag to control the caption bar appearance and to fit app content in its empty space" bug: "316387515" diff --git a/core/java/android/view/inputmethod/flags.aconfig b/core/java/android/view/inputmethod/flags.aconfig index 8d3920f8b1da..be74a65046af 100644 --- a/core/java/android/view/inputmethod/flags.aconfig +++ b/core/java/android/view/inputmethod/flags.aconfig @@ -10,6 +10,7 @@ flag { flag { name: "editorinfo_handwriting_enabled" + is_exported: true namespace: "input_method" description: "Feature flag for adding EditorInfo#mStylusHandwritingEnabled" bug: "293898187" @@ -18,6 +19,7 @@ flag { flag { name: "imm_userhandle_hostsidetests" + is_exported: true namespace: "input_method" description: "Feature flag for replacing UserIdInt with UserHandle in some helper IMM functions" bug: "301713309" @@ -26,6 +28,7 @@ flag { flag { name: "concurrent_input_methods" + is_exported: true namespace: "input_method" description: "Feature flag for concurrent multi-session IME" bug: "284527000" @@ -34,6 +37,7 @@ flag { flag { name: "home_screen_handwriting_delegator" + is_exported: true namespace: "input_method" description: "Feature flag for supporting stylus handwriting delegation from RemoteViews on the home screen" bug: "279959705" @@ -49,6 +53,7 @@ flag { flag { name: "use_zero_jank_proxy" + is_exported: true namespace: "input_method" description: "Feature flag for using a proxy that uses async calls to achieve zero jank for IMMS calls." bug: "293640003" @@ -57,6 +62,7 @@ flag { flag { name: "ime_switcher_revamp" + is_exported: true namespace: "input_method" description: "Feature flag for revamping the Input Method Switcher menu" bug: "311791923" @@ -73,6 +79,7 @@ flag { flag { name: "connectionless_handwriting" + is_exported: true namespace: "input_method" description: "Feature flag for connectionless stylus handwriting APIs" bug: "300979854" diff --git a/core/java/android/webkit/flags.aconfig b/core/java/android/webkit/flags.aconfig index 6938b29e78e9..2d834a8b2384 100644 --- a/core/java/android/webkit/flags.aconfig +++ b/core/java/android/webkit/flags.aconfig @@ -2,6 +2,7 @@ package: "android.webkit" flag { name: "update_service_ipc_wrapper" + is_exported: true namespace: "webview" description: "New API: proper wrapper for IWebViewUpdateService" bug: "319292658" diff --git a/core/java/android/window/flags/large_screen_experiences_app_compat.aconfig b/core/java/android/window/flags/large_screen_experiences_app_compat.aconfig index 254f4f77c100..7fbec67ec4e9 100644 --- a/core/java/android/window/flags/large_screen_experiences_app_compat.aconfig +++ b/core/java/android/window/flags/large_screen_experiences_app_compat.aconfig @@ -18,6 +18,7 @@ flag { flag { name: "density_390_api" + is_exported: true namespace: "large_screen_experiences_app_compat" description: "Whether the API DisplayMetrics.DENSITY_390 is available" bug: "297550533" @@ -26,6 +27,7 @@ flag { flag { name: "app_compat_properties_api" + is_exported: true namespace: "large_screen_experiences_app_compat" description: "Whether app compat property APIs are public. Which includes: /n" "WindowManager.PROPERTY_COMPAT_ALLOW_MIN_ASPECT_RATIO_OVERRIDE,/n" diff --git a/core/java/android/window/flags/wallpaper_manager.aconfig b/core/java/android/window/flags/wallpaper_manager.aconfig index ea9da96496c7..dea9497dd624 100644 --- a/core/java/android/window/flags/wallpaper_manager.aconfig +++ b/core/java/android/window/flags/wallpaper_manager.aconfig @@ -2,6 +2,7 @@ package: "com.android.window.flags" flag { name: "always_update_wallpaper_permission" + is_exported: true namespace: "wear_frameworks" description: "Allow out of focus process to update wallpaper complications" bug: "271132915" diff --git a/core/java/android/window/flags/window_surfaces.aconfig b/core/java/android/window/flags/window_surfaces.aconfig index 3f483418c6b3..00b600c662f5 100644 --- a/core/java/android/window/flags/window_surfaces.aconfig +++ b/core/java/android/window/flags/window_surfaces.aconfig @@ -45,6 +45,7 @@ flag { flag { namespace: "window_surfaces" name: "trusted_presentation_listener_for_window" + is_exported: true description: "Enable trustedPresentationListener on windows public API" is_fixed_read_only: true bug: "278027319" @@ -53,6 +54,7 @@ flag { flag { namespace: "window_surfaces" name: "sdk_desired_present_time" + is_exported: true description: "Feature flag for the new SDK API to set desired present time" is_fixed_read_only: true bug: "295038072" @@ -61,6 +63,7 @@ flag { flag { namespace: "window_surfaces" name: "surface_control_input_receiver" + is_exported: true description: "Enable public API to register an InputReceiver for a SurfaceControl" is_fixed_read_only: true bug: "278757236" @@ -69,6 +72,7 @@ flag { flag { namespace: "window_surfaces" name: "screen_recording_callbacks" + is_exported: true description: "Enable screen recording callbacks public API" is_fixed_read_only: true bug: "304574518" diff --git a/core/java/android/window/flags/windowing_frontend.aconfig b/core/java/android/window/flags/windowing_frontend.aconfig index 65bf24179bea..247f28c887f5 100644 --- a/core/java/android/window/flags/windowing_frontend.aconfig +++ b/core/java/android/window/flags/windowing_frontend.aconfig @@ -16,6 +16,7 @@ flag { flag { name: "enforce_edge_to_edge" + is_exported: true namespace: "windowing_frontend" description: "Make app go edge-to-edge when targeting SDK level 35 or greater" bug: "309578419" @@ -88,6 +89,7 @@ flag { flag { name: "supports_multi_instance_system_ui" + is_exported: true namespace: "multitasking" description: "Feature flag to enable a multi-instance system ui component property." bug: "262864589" @@ -96,6 +98,7 @@ flag { flag { name: "delegate_unhandled_drags" + is_exported: true namespace: "multitasking" description: "Enables delegating unhandled drags to SystemUI" bug: "320797628" diff --git a/core/java/android/window/flags/windowing_sdk.aconfig b/core/java/android/window/flags/windowing_sdk.aconfig index 82e613e18d41..4b3d8e809eca 100644 --- a/core/java/android/window/flags/windowing_sdk.aconfig +++ b/core/java/android/window/flags/windowing_sdk.aconfig @@ -43,6 +43,7 @@ flag { flag { namespace: "windowing_sdk" name: "untrusted_embedding_any_app_permission" + is_exported: true description: "Feature flag to enable the permission to embed any app in untrusted mode." bug: "293647332" is_fixed_read_only: true @@ -59,6 +60,7 @@ flag { flag { namespace: "windowing_sdk" name: "untrusted_embedding_state_sharing" + is_exported: true description: "Feature flag to enable state sharing in untrusted embedding when apps opt in." bug: "293647332" is_fixed_read_only: true @@ -74,6 +76,7 @@ flag { flag { namespace: "windowing_sdk" name: "cover_display_opt_in" + is_exported: true description: "Properties to allow apps and activities to opt-in to cover display rendering" bug: "312530526" is_fixed_read_only: true diff --git a/graphics/java/android/framework_graphics.aconfig b/graphics/java/android/framework_graphics.aconfig index 6c81a608241c..1e41b4d9ed1b 100644 --- a/graphics/java/android/framework_graphics.aconfig +++ b/graphics/java/android/framework_graphics.aconfig @@ -2,6 +2,7 @@ package: "com.android.graphics.flags" flag { name: "exact_compute_bounds" + is_exported: true namespace: "core_graphics" description: "Add a function without unused exact param for computeBounds." bug: "304478551" @@ -9,6 +10,7 @@ flag { flag { name: "yuv_image_compress_to_ultra_hdr" + is_exported: true namespace: "core_graphics" description: "Feature flag for YUV image compress to Ultra HDR." bug: "308978825" diff --git a/libs/hwui/aconfig/hwui_flags.aconfig b/libs/hwui/aconfig/hwui_flags.aconfig index 76a0a6499d33..659bcdc6852d 100644 --- a/libs/hwui/aconfig/hwui_flags.aconfig +++ b/libs/hwui/aconfig/hwui_flags.aconfig @@ -2,6 +2,7 @@ package: "com.android.graphics.hwui.flags" flag { name: "clip_shader" + is_exported: true namespace: "core_graphics" description: "API for canvas shader clipping operations" bug: "280116960" @@ -9,6 +10,7 @@ flag { flag { name: "matrix_44" + is_exported: true namespace: "core_graphics" description: "API for 4x4 matrix and related canvas functions" bug: "280116960" @@ -16,6 +18,7 @@ flag { flag { name: "limited_hdr" + is_exported: true namespace: "core_graphics" description: "API to enable apps to restrict the amount of HDR headroom that is used" bug: "234181960" @@ -44,6 +47,7 @@ flag { flag { name: "gainmap_animations" + is_exported: true namespace: "core_graphics" description: "APIs to help enable animations involving gainmaps" bug: "296482289" @@ -51,6 +55,7 @@ flag { flag { name: "gainmap_constructor_with_metadata" + is_exported: true namespace: "core_graphics" description: "APIs to create a new gainmap with a bitmap for metadata." bug: "304478551" @@ -65,6 +70,7 @@ flag { flag { name: "requested_formats_v" + is_exported: true namespace: "core_graphics" description: "Enable r_8, r_16_uint, rg_1616_uint, and rgba_10101010 in the SDK" bug: "292545615" diff --git a/location/java/android/location/flags/location.aconfig b/location/java/android/location/flags/location.aconfig index f33bcb7f9643..ce689aca51bf 100644 --- a/location/java/android/location/flags/location.aconfig +++ b/location/java/android/location/flags/location.aconfig @@ -9,6 +9,7 @@ flag { flag { name: "location_bypass" + is_exported: true namespace: "location" description: "Enable location bypass appops behavior" bug: "329151785" diff --git a/media/java/android/media/flags/editing.aconfig b/media/java/android/media/flags/editing.aconfig index c3997e94622d..5bf1b4ef96ff 100644 --- a/media/java/android/media/flags/editing.aconfig +++ b/media/java/android/media/flags/editing.aconfig @@ -2,6 +2,7 @@ package: "com.android.media.editing.flags" flag { name: "add_media_metrics_editing" + is_exported: true namespace: "media_solutions" description: "Add media metrics for transcoding/editing events." bug: "297487694" diff --git a/media/java/android/media/flags/media_better_together.aconfig b/media/java/android/media/flags/media_better_together.aconfig index bf3942559b8a..40929f79eeb6 100644 --- a/media/java/android/media/flags/media_better_together.aconfig +++ b/media/java/android/media/flags/media_better_together.aconfig @@ -2,6 +2,7 @@ package: "com.android.media.flags" flag { name: "enable_rlp_callbacks_in_media_router2" + is_exported: true namespace: "media_solutions" description: "Make RouteListingPreference getter and callbacks public in MediaRouter2." bug: "281067101" @@ -16,6 +17,7 @@ flag { flag { name: "enable_audio_policies_device_and_bluetooth_controller" + is_exported: true namespace: "media_solutions" description: "Use Audio Policies implementation for device and Bluetooth route controllers." bug: "280576228" @@ -44,6 +46,7 @@ flag { flag { name: "enable_new_media_route_2_info_types" + is_exported: true namespace: "media_solutions" description: "Enables the following type constants in MediaRoute2Info: CAR, COMPUTER, GAME_CONSOLE, SMARTPHONE, SMARTWATCH, TABLET, TABLET_DOCKED. Note that this doesn't gate any behavior. It only guards some API int symbols." bug: "301713440" @@ -51,6 +54,7 @@ flag { flag { name: "enable_privileged_routing_for_media_routing_control" + is_exported: true namespace: "media_solutions" description: "Allow access to privileged routing capabilities to MEDIA_ROUTING_CONTROL holders." bug: "305919655" @@ -58,6 +62,7 @@ flag { flag { name: "enable_cross_user_routing_in_media_router2" + is_exported: true namespace: "media_solutions" description: "Allows clients of privileged MediaRouter2 that hold INTERACT_ACROSS_USERS_FULL to control routing across users." bug: "288580225" @@ -72,6 +77,7 @@ flag { flag { name: "enable_built_in_speaker_route_suitability_statuses" + is_exported: true namespace: "media_solutions" description: "Make MediaRoute2Info provide information about routes suitability for transfer." bug: "279555229" @@ -79,6 +85,7 @@ flag { flag { name: "enable_notifying_activity_manager_with_media_session_status_change" + is_exported: true namespace: "media_solutions" description: "Notify ActivityManager with the changes in playback state of the media session." bug: "295518668" @@ -86,6 +93,7 @@ flag { flag { name: "enable_get_transferable_routes" + is_exported: true namespace: "media_solutions" description: "Exposes RoutingController#getTransferableRoutes() (previously hidden) to the public API." bug: "323154573" @@ -100,6 +108,7 @@ flag { flag { name: "enable_screen_off_scanning" + is_exported: true namespace: "media_solutions" description: "Enable new MediaRouter2 API to enable watch companion apps to scan while the phone screen is off." bug: "281072508" diff --git a/media/java/android/media/tv/flags/media_tv.aconfig b/media/java/android/media/tv/flags/media_tv.aconfig index f1107059111c..1731e5e4335c 100644 --- a/media/java/android/media/tv/flags/media_tv.aconfig +++ b/media/java/android/media/tv/flags/media_tv.aconfig @@ -2,6 +2,7 @@ package: "android.media.tv.flags" flag { name: "broadcast_visibility_types" + is_exported: true namespace: "media_tv" description: "Constants for standardizing broadcast visibility types." bug: "222402395" @@ -9,6 +10,7 @@ flag { flag { name: "enable_ad_service_fw" + is_exported: true namespace: "media_tv" description: "Enable the TV client-side AD framework." bug: "303506816" @@ -16,6 +18,7 @@ flag { flag { name: "tiaf_v_apis" + is_exported: true namespace: "media_tv" description: "TIAF V3.0 APIs for Android V" bug: "303323657" diff --git a/nfc/java/android/nfc/flags.aconfig b/nfc/java/android/nfc/flags.aconfig index ba084c0901c4..6d4a17c27da0 100644 --- a/nfc/java/android/nfc/flags.aconfig +++ b/nfc/java/android/nfc/flags.aconfig @@ -63,6 +63,7 @@ flag { flag { name: "enable_nfc_charging" + is_exported: true namespace: "nfc" description: "Flag for NFC charging changes" bug: "292143899" diff --git a/packages/CrashRecovery/aconfig/flags.aconfig b/packages/CrashRecovery/aconfig/flags.aconfig index 572a66922ea3..8627eac7beed 100644 --- a/packages/CrashRecovery/aconfig/flags.aconfig +++ b/packages/CrashRecovery/aconfig/flags.aconfig @@ -10,6 +10,7 @@ flag { flag { name: "enable_crashrecovery" + is_exported: true namespace: "crashrecovery" description: "Enables various dependencies of crashrecovery module" bug: "289203818" diff --git a/services/autofill/features.aconfig b/services/autofill/features.aconfig index 532db126bff2..c130ceef1e08 100644 --- a/services/autofill/features.aconfig +++ b/services/autofill/features.aconfig @@ -16,6 +16,7 @@ flag { flag { name: "autofill_credman_dev_integration" + is_exported: true namespace: "autofill" description: "Guards against Autofill-Credman Phase1 developer integration via new APIs" bug: "320730001" diff --git a/services/core/java/com/android/server/feature/dropbox_flags.aconfig b/services/core/java/com/android/server/feature/dropbox_flags.aconfig index fee4bf377ddc..14e964b26c6b 100644 --- a/services/core/java/com/android/server/feature/dropbox_flags.aconfig +++ b/services/core/java/com/android/server/feature/dropbox_flags.aconfig @@ -2,6 +2,7 @@ package: "com.android.server.feature.flags" flag{ name: "enable_read_dropbox_permission" + is_exported: true namespace: "preload_safety" description: "Feature flag for permission to Read dropbox data" bug: "287512663" diff --git a/services/core/java/com/android/server/power/stats/flags.aconfig b/services/core/java/com/android/server/power/stats/flags.aconfig index b2e01c5f23f2..c42cceab55be 100644 --- a/services/core/java/com/android/server/power/stats/flags.aconfig +++ b/services/core/java/com/android/server/power/stats/flags.aconfig @@ -2,6 +2,7 @@ package: "com.android.server.power.optimization" flag { name: "power_monitor_api" + is_exported: true namespace: "backstage_power" description: "Feature flag for ODPM API" bug: "295027807" diff --git a/services/core/java/com/android/server/webkit/flags.aconfig b/services/core/java/com/android/server/webkit/flags.aconfig index 1411acc4ab84..2afbcd6f101d 100644 --- a/services/core/java/com/android/server/webkit/flags.aconfig +++ b/services/core/java/com/android/server/webkit/flags.aconfig @@ -2,6 +2,7 @@ package: "android.webkit" flag { name: "update_service_v2" + is_exported: true namespace: "webview" description: "Using a new version of the WebView update service" bug: "308907090" diff --git a/wifi/wifi.aconfig b/wifi/wifi.aconfig index 6ac986e406a0..6c4e4c3eb9be 100644 --- a/wifi/wifi.aconfig +++ b/wifi/wifi.aconfig @@ -2,6 +2,7 @@ package: "android.net.wifi.flags" flag { name: "get_device_cross_akm_roaming_support" + is_exported: true namespace: "wifi" description: "Add new API to get the device support for CROSS-AKM roaming" bug: "313038031" |