ApplicationInfoFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types and taken as a parameter of the F:Android.App.ApplicationErrorReport.GetErrorReportReceiver member.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum ApplicationInfoFlags
[<System.Flags>]
type ApplicationInfoFlags =
- Inheritance
-
ApplicationInfoFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| Multiarch | -2147483648 | Value for flags: true if code from this application will need to be loaded into other applications' processes. On devices that support multiple instruction sets, this implies the code might be loaded into a process that's using any of the devices supported instruction sets. The system might treat such applications specially, for eg., by extracting the application's native libraries for all supported instruction sets or by compiling the application's dex code for all supported instruction sets. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| None | 0 | |
| System | 1 | Value for Flags: if set, this application is installed in the device's system image. |
| Debuggable | 2 | Value for Flags: set to true if this application would like to allow debugging of its code, even when installed on a non-development system. |
| HasCode | 4 | Value for Flags: set to true if this application has code associated with it. |
| Persistent | 8 | Value for flags: set to true if this application is persistent. Comes from android:persistent of the <application> tag. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FactoryTest | 16 | Value for flags: set to true if this application holds the Manifest.permission.FACTORY_TEST permission and the device is running in factory test mode. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| AllowTaskReparenting | 32 | Value for flags: default value for the corresponding ActivityInfo flag. Comes from android:allowTaskReparenting of the <application> tag. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| AllowClearUserData | 64 | Value for flags: default value for the corresponding ActivityInfo flag. Comes from android:allowClearUserData of the <application> tag. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| UpdatedSystemApp | 128 | Value for Flags: this is set if this application has been install as an update to a built-in system application. |
| TestOnly | 256 | Value for Flags: this is set of the application has specified TestOnlyto be true. |
| SupportsSmallScreens | 512 | Value for Flags: true when the application's window can be reduced in size for smaller screens. |
| SupportsNormalScreens | 1024 | Value for Flags: true when the application's window can be displayed on normal screens. |
| SupportsLargeScreens | 2048 | Value for Flags: true when the application's window can be increased in size for larger screens. |
| ResizeableForScreens | 4096 | Value for Flags: true when the application knows how to adjust its UI for different screen sizes. |
| SupportsScreenDensities | 8192 | Value for Flags: true when the application knows how to accomodate different screen densities. |
| VMSafeMode | 16384 | Value for Flags: set to true if this application would like to request the VM to operate under the safe mode. |
| AllowBackup | 32768 | Value for flags: set to false if the application does not wish to permit any OS-driven backups of its data; true otherwise. Comes from the android:allowBackup attribute of the <application> tag. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| KillAfterRestore | 65536 | Value for flags: set to false if the application must be kept in memory following a full-system restore operation; true otherwise. Ordinarily, during a full system restore operation each application is shut down following execution of its agent's onRestore() method. Setting this attribute to false prevents this. Most applications will not need to set this attribute. If android:allowBackup is set to false or no android:backupAgent is specified, this flag will be ignored. Comes from the android:killAfterRestore attribute of the <application> tag. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| RestoreAnyVersion | 131072 | Value for flags: Set to true if the application's backup agent claims to be able to handle restore data even "from the future," i.e. from versions of the application with a versionCode greater than the one currently installed on the device. Use with caution! By default this attribute is false and the Backup Manager will ensure that data from "future" versions of the application are never supplied during a restore operation. If android:allowBackup is set to false or no android:backupAgent is specified, this flag will be ignored. Comes from the android:restoreAnyVersion attribute of the <application> tag. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ExternalStorage | 262144 | Value for Flags: Set to true if the application is currently installed on external/removable/unprotected storage. |
| SupportsXLargeScreens | 524288 | Value for Flags: true when the application's window can be increased in size for extra large screens. |
| LargeHeap | 1048576 | Value for Flags: true when the application has requested a large heap for its processes. |
| Stopped | 2097152 | Value for Flags: true if this application's package is in the stopped state. |
| SupportsRtl | 4194304 | Value for Flags: true when the application is willing to support RTL (right to left). |
| Installed | 8388608 | Value for Flags: true if the application is currently installed for the calling user. |
| IsDataOnly | 16777216 | Value for Flags: true if the application only has its data installed; the application package itself does not currently exist on the device. |
| IsGame | 33554432 | This constant was deprecated in API level 26. use CATEGORY_GAME instead. Value for flags: true if the application was declared to be a game, or false if it is a non-game application. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FullBackupOnly | 67108864 | Value for flags: true if the application asks that only full-data streaming backups of its data be performed even though it defines a BackupAgent, which normally indicates that the app will manage its backed-up data via incremental key/value updates. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| UsesCleartextTraffic | 134217728 | Value for flags: true if the application may use cleartext network traffic (e.g., HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, SMTP without STARTTLS or TLS). If false, the app declares that it does not intend to use cleartext network traffic, in which case platform components (e.g., HTTP stacks, DownloadManager, MediaPlayer ) will refuse app's requests to use cleartext traffic. Third-party libraries are encouraged to honor this flag as well. NOTE: WebView honors this flag for applications targeting API level 26 and up. This flag is ignored on Android N and above if an Android Network Security Config is present. This flag comes from android:usesCleartextTraffic of the <application> tag. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ExtractNativeLibs | 268435456 | When set installer extracts native libs from.apk files. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| HardwareAccelerated | 536870912 | Value for flags: true when the application's rendering should be hardware accelerated. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Suspended | 1073741824 | Value for flags: true if this application's package is in the suspended state. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.