Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7316695 authored by smain@google.com's avatar smain@google.com Committed by android-build-merger
Browse files

add a notice that Work profiles are not compatible with Instant Run Also...

add a notice that Work profiles are not compatible with Instant Run Also includes the redirect for links from the Studio UI bug: 31098748 am: 99e44c90
am: 939c23d0

Change-Id: I084cb46d63ebdab7ee2286024bfc3b1962b3bad5
parents 65ce524b 939c23d0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1219,6 +1219,8 @@ redirects:
  to: /studio/intro/index.html?utm_medium=android-studio
- from: /r/studio-ui/menu-start.html
  to: /training/index.html?utm_medium=android-studio
- from: /r/studio-ui/run-with-work-profile.html
  to: /studio/run/index.html#ir-work-profile?utm_medium=android-studio

# Redirects from (removed) N Preview documentation
- from: /preview/features/afw.html
+11 −0
Original line number Diff line number Diff line
@@ -412,6 +412,17 @@ page.image=images/work/cards/android-studio_600px.png
  </li>
</ol>

<p class="caution"><b>Caution</b>: When running your app with Instant Run in
Android Studio, attempting to open your app with a Work profile or secondary
profile will crash your app. To use your app with the Work profile, we
recommend you create a new <a href="/studio/run/rundebugconfig.html">run
configuration</a> that includes the <code>--user <var>user_id</var></code> flag,
specifying the Work profile user ID. You can find the user ID by executing
<code>adb shell pm list users</code> from command line. For more information,
see the <a href="/studio/run/index.html#ir-work-profile">Instant Run
documentation</a>.</p>


<h3>Provision a device owner</h3>

<p>