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)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 48527 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

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.