Bug 48527 - missing Activity attribute android:lockTaskMode
Summary: missing Activity attribute android:lockTaskMode
Status: CONFIRMED
Alias: None
Product: Android
Classification: Xamarin
Component: General (show other bugs)
Version: 7.3 (15.2)
Hardware: PC Windows
: Low enhancement
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2016-12-01 14:06 UTC by Mike Hartman
Modified: 2017-06-30 16:42 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Mike Hartman 2016-12-01 14:06:34 UTC
When building for API 23, there does not seem to be an equivalent to <activity android:lockTaskMode="always"></activity> in the Manifest.xml

This setting causes an app to start in this mode instead of having to manually enable/disable on startup and shutdown.

this is documented in API 23 here:

https://developer.android.com/reference/android/R.attr.html#lockTaskMode
Comment 1 John Miller [MSFT] 2017-06-30 16:42:47 UTC
There doesn't appear to be an attribute for this so I will move this to enhancement. You can manually apply this to the manifest file to get the behavior.

Note You need to log in before you can comment on or make changes to this bug.