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

Commit 99e44c90 authored by smain@google.com's avatar smain@google.com
Browse files

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

Also includes the redirect for links from the Studio UI
bug: 31098748

Change-Id: Ief7296e512ccf387d738426026413dfe19785ff7
parent b2507eb7
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>