Skip to content

Commit 46e58ef

Browse files
atsushienojonpryor
authored andcommitted
[Xamarin.Android.NamingCustomAttributes] Add new manifest attributes for Android N API. (#56)
1 parent f70d356 commit 46e58ef

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

src/Xamarin.Android.NamingCustomAttributes/Android.App/ActivityAttribute.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ public ActivityAttribute ()
5454
#endif
5555
public string Permission {get; set;}
5656
public string Process {get; set;}
57+
#if ANDROID_24
58+
public bool ResizeableActivity {get;set;}
59+
public bool SupportsPictureInPicture {get;set;}
60+
#endif
5761
public ScreenOrientation ScreenOrientation {get; set;}
5862
public bool StateNotNeeded {get; set;}
5963
public string TaskAffinity {get; set;}

src/Xamarin.Android.NamingCustomAttributes/Android.App/ApplicationAttribute.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ public ApplicationAttribute ()
7474
#if ANDROID_10
7575
public bool VMSafeMode {get; set;}
7676
#endif
77+
#if ANDROID_24
78+
public bool ResizeableActivity {get; set;}
79+
#endif
7780
#endif // JCW_ONLY_TYPE_NAMES
7881
}
7982
}

src/Xamarin.Android.NamingCustomAttributes/Android.Content/BroadcastReceiverAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public BroadcastReceiverAttribute ()
1515
{
1616
}
1717

18+
public bool DirectBootAware {get; set;}
1819
public bool Enabled {get; set;}
1920
public bool Exported {get; set;}
2021
public string Icon {get; set;}

0 commit comments

Comments
 (0)