| <?xml version="1.0" encoding="utf-8"?> |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="p1.p2"> |
| |
| <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
| <application |
| android:allowBackup="true" |
| android:supportsRtl="true"> |
| <activity |
| android:name=".MyActivity" |
| android:enabled="@bool/atLeastMarshmallow"> |
| </activity> |
| <activity |
| android:name=".MyActivity" |
| android:enabled="true"> |
| </activity> |
| <activity |
| android:name=".MyActivity" |
| android:enabled="false"> |
| </activity> |
| <activity-alias |
| android:name=".MyActivity" |
| android:targetActivity=".MyActivity" |
| android:enabled="@bool/atLeastMarshmallow"> |
| </activity-alias> |
| |
| <!-- Invalid references --> |
| <activity |
| android:name=".MyActivity" |
| android:enabled="<error descr="Cannot resolve symbol 'tru'">tru</error>"> |
| </activity> |
| <activity |
| android:name=".MyActivity" |
| android:enabled="<error descr="Cannot resolve symbol '@bool/bogus'">@bool/bogus</error>"> |
| </activity> |
| </application> |
| |
| </manifest> |