Skip to content

Commit

Permalink
SDK 6.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Microsoft Intune committed Jul 14, 2020
1 parent 2652e10 commit 1dd3da9
Show file tree
Hide file tree
Showing 15 changed files with 124 additions and 25 deletions.
Binary file modified BuildTool/lib/com.microsoft.intune.mam.build.cli.jar
Binary file not shown.
Binary file modified BuildTool/lib/com.microsoft.intune.mam.build.core.jar
Binary file not shown.
Binary file modified BuildTool/lib/com.microsoft.intune.mam.rewrite.jar
Binary file not shown.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
Version 6.7.0
-------------
* Refine proguard rules to reduce the size impact of the SDK.
* Add `bypassConditionalLaunchChecks` to `MAMPolicyManager` interface
to allow special-purpose Activities to avoid conditional launch checks.
* Suppress class format errors in plugin when `verify` option is enabled.
Some classes from the Android 11 build tools are built with the Java 9 class
format and cannot be verified when building with Java 8. These classes cannot
be verified because they cannot be parsed in a Java 8 JVM. Updating to Java 9+
will allow these classes to be verified.
* The build plugin will now replace inheritance/instantiation of
`PopupWindow` with MAM equivalent `MAMPopupWindow`, `ListPopupWindow` with
MAM equivalent `MAMListPopupWindow`, and `PopupMenu` with MAM equivalent
`MAMPopupMenu`. This is used to enforce screenshot blocking policy when
a screen recorder is in use.
* If not using the build plugin, the replacements listed above must be made
manually. Using the build plugin is very strongly recommended.

Version 6.6.1
-------------
* Fix build plugin compile-time error when Android Gradle Plugin 4.0
Expand Down
Binary file modified GradlePlugin/com.microsoft.intune.mam.build.jar
Binary file not shown.
Binary file modified Microsoft.Intune.MAM.SDK-javadoc.jar
Binary file not shown.
Binary file modified Microsoft.Intune.MAM.SDK.aar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -1005,8 +1005,13 @@ <h4 class="jd-details-title">

<div class="jd-tagdata jd-tagdescr"><p>Protect a file or directory. This will synchronously trigger whatever protection is required for the file, and will tag the
file for future protection changes. If an identity is set on a directory, it is set recursively on all files and
subdirectories. New files or directories will inherit their parent directory's identity. If MAM is operating in offline mode,
this method will silently do nothing.</p></div>
subdirectories. New files or directories will inherit their parent directory's identity. This method will silently do nothing
(neither change an identity nor throw) in the following conditions:

<ul>
<li>MAM is operating in offline mode</li>
<li>The file is exempted from MAM file protection (such as .so and .apk files)</li>
</ul></p></div>
<div class="jd-tagdata">
<h5 class="jd-tagtitle">Parameters</h5>
<table class="jd-tagtable">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,24 @@ <h2>Summary</h2>



static

void
</td>
<td class="jd-linkcol" width="100%">
<span class="sympad"><a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMPolicyManager.html#bypassConditionalLaunchChecks(android.app.Activity)">bypassConditionalLaunchChecks</a></span>(Activity activity)

<div class="jd-descrdiv">Allow the given Activity to bypass conditional launch checks.</div>

</td></tr>



<tr class=" api apilevel-" >
<td class="jd-typecol">



static

String
Expand All @@ -425,7 +443,7 @@ <h2>Summary</h2>



<tr class=" api apilevel-" >
<tr class="alt-color api apilevel-" >
<td class="jd-typecol">


Expand All @@ -441,7 +459,7 @@ <h2>Summary</h2>



<tr class="alt-color api apilevel-" >
<tr class=" api apilevel-" >
<td class="jd-typecol">


Expand All @@ -459,7 +477,7 @@ <h2>Summary</h2>



<tr class=" api apilevel-" >
<tr class="alt-color api apilevel-" >
<td class="jd-typecol">


Expand All @@ -477,7 +495,7 @@ <h2>Summary</h2>



<tr class="alt-color api apilevel-" >
<tr class=" api apilevel-" >
<td class="jd-typecol">


Expand All @@ -495,7 +513,7 @@ <h2>Summary</h2>



<tr class=" api apilevel-" >
<tr class="alt-color api apilevel-" >
<td class="jd-typecol">


Expand All @@ -513,7 +531,7 @@ <h2>Summary</h2>



<tr class="alt-color api apilevel-" >
<tr class=" api apilevel-" >
<td class="jd-typecol">


Expand All @@ -531,7 +549,7 @@ <h2>Summary</h2>



<tr class=" api apilevel-" >
<tr class="alt-color api apilevel-" >
<td class="jd-typecol">


Expand All @@ -549,7 +567,7 @@ <h2>Summary</h2>



<tr class="alt-color api apilevel-" >
<tr class=" api apilevel-" >
<td class="jd-typecol">


Expand All @@ -567,7 +585,7 @@ <h2>Summary</h2>



<tr class=" api apilevel-" >
<tr class="alt-color api apilevel-" >
<td class="jd-typecol">


Expand All @@ -577,15 +595,15 @@ <h2>Summary</h2>
void
</td>
<td class="jd-linkcol" width="100%">
<span class="sympad"><a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMPolicyManager.html#setUIPolicyIdentity(android.content.Context, java.lang.String, com.microsoft.intune.mam.client.identity.MAMSetUIIdentityCallback, java.util.EnumSet<com.microsoft.intune.mam.client.app.IdentitySwitchOption>)">setUIPolicyIdentity</a></span>(Context context, String identity, <a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMSetUIIdentityCallback.html">MAMSetUIIdentityCallback</a> mamSetUIIdentityCallback, EnumSet&lt;<a href="../../../../../../com/microsoft/intune/mam/client/app/IdentitySwitchOption.html">IdentitySwitchOption</a>&gt; options)
<span class="sympad"><a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMPolicyManager.html#setUIPolicyIdentity(android.content.Context, java.lang.String, com.microsoft.intune.mam.client.identity.MAMSetUIIdentityCallback)">setUIPolicyIdentity</a></span>(Context context, String identity, <a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMSetUIIdentityCallback.html">MAMSetUIIdentityCallback</a> mamSetUIIdentityCallback)

<div class="jd-descrdiv">Set the associated identity with the Context.</div>

</td></tr>



<tr class="alt-color api apilevel-" >
<tr class=" api apilevel-" >
<td class="jd-typecol">


Expand All @@ -595,15 +613,15 @@ <h2>Summary</h2>
void
</td>
<td class="jd-linkcol" width="100%">
<span class="sympad"><a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMPolicyManager.html#setUIPolicyIdentity(android.content.Context, java.lang.String, com.microsoft.intune.mam.client.identity.MAMSetUIIdentityCallback)">setUIPolicyIdentity</a></span>(Context context, String identity, <a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMSetUIIdentityCallback.html">MAMSetUIIdentityCallback</a> mamSetUIIdentityCallback)
<span class="sympad"><a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMPolicyManager.html#setUIPolicyIdentity(android.content.Context, java.lang.String, com.microsoft.intune.mam.client.identity.MAMSetUIIdentityCallback, java.util.EnumSet<com.microsoft.intune.mam.client.app.IdentitySwitchOption>)">setUIPolicyIdentity</a></span>(Context context, String identity, <a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMSetUIIdentityCallback.html">MAMSetUIIdentityCallback</a> mamSetUIIdentityCallback, EnumSet&lt;<a href="../../../../../../com/microsoft/intune/mam/client/app/IdentitySwitchOption.html">IdentitySwitchOption</a>&gt; options)

<div class="jd-descrdiv">Set the associated identity with the Context.</div>

</td></tr>



<tr class=" api apilevel-" >
<tr class="alt-color api apilevel-" >
<td class="jd-typecol">


Expand Down Expand Up @@ -878,6 +896,51 @@ <h2>Public Methods</h2>



<a id="bypassConditionalLaunchChecks(android.app.Activity)"></a>

<div class="jd-details api apilevel-">
<h4 class="jd-details-title">
<span class="normal">
public
static



void
</span>
<span class="sympad">bypassConditionalLaunchChecks</span>
<span class="normal">(Activity activity)</span>
</h4>
<div class="api-level">
<div>

</div>



</div>
<div class="jd-details-descr">

<div class="jd-tagdata jd-tagdescr"><p>Allow the given Activity to bypass conditional launch checks. This must be called
before onMAMCreate, e.g. from the Activity's constructor or attachBaseContext() override.
Because this method allows the bypass of conditional launch policy checks, it should
only be used after consulting with Microsoft to confirm there is no other supported way
to achieve your app’s desired behavior.</p></div>
<div class="jd-tagdata">
<h5 class="jd-tagtitle">Parameters</h5>
<table class="jd-tagtable">
<tr>
<th>activity</th>
<td>The activity to exempt from the launch checks.
</td>
</tr>
</table>
</div>

</div>
</div>


<a id="getCurrentThreadIdentity()"></a>

<div class="jd-details api apilevel-">
Expand Down Expand Up @@ -1257,7 +1320,7 @@ <h5 class="jd-tagtitle">Returns</h5>
</div>


<a id="setUIPolicyIdentity(android.content.Context, java.lang.String, com.microsoft.intune.mam.client.identity.MAMSetUIIdentityCallback, java.util.EnumSet<com.microsoft.intune.mam.client.app.IdentitySwitchOption>)"></a>
<a id="setUIPolicyIdentity(android.content.Context, java.lang.String, com.microsoft.intune.mam.client.identity.MAMSetUIIdentityCallback)"></a>

<div class="jd-details api apilevel-">
<h4 class="jd-details-title">
Expand All @@ -1270,7 +1333,7 @@ <h4 class="jd-details-title">
void
</span>
<span class="sympad">setUIPolicyIdentity</span>
<span class="normal">(Context context, String identity, <a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMSetUIIdentityCallback.html">MAMSetUIIdentityCallback</a> mamSetUIIdentityCallback, EnumSet&lt;<a href="../../../../../../com/microsoft/intune/mam/client/app/IdentitySwitchOption.html">IdentitySwitchOption</a>&gt; options)</span>
<span class="normal">(Context context, String identity, <a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMSetUIIdentityCallback.html">MAMSetUIIdentityCallback</a> mamSetUIIdentityCallback)</span>
</h4>
<div class="api-level">
<div>
Expand All @@ -1296,11 +1359,7 @@ <h5 class="jd-tagtitle">Parameters</h5>
</tr>
<tr>
<th>mamSetUIIdentityCallback</th>
<td>callback to notify the application the identity switch result. May be null.</td>
</tr>
<tr>
<th>options</th>
<td>Identity switch options.
<td>callback to notify the application the identity switch result. May be null.
</td>
</tr>
</table>
Expand All @@ -1310,7 +1369,7 @@ <h5 class="jd-tagtitle">Parameters</h5>
</div>


<a id="setUIPolicyIdentity(android.content.Context, java.lang.String, com.microsoft.intune.mam.client.identity.MAMSetUIIdentityCallback)"></a>
<a id="setUIPolicyIdentity(android.content.Context, java.lang.String, com.microsoft.intune.mam.client.identity.MAMSetUIIdentityCallback, java.util.EnumSet<com.microsoft.intune.mam.client.app.IdentitySwitchOption>)"></a>

<div class="jd-details api apilevel-">
<h4 class="jd-details-title">
Expand All @@ -1323,7 +1382,7 @@ <h4 class="jd-details-title">
void
</span>
<span class="sympad">setUIPolicyIdentity</span>
<span class="normal">(Context context, String identity, <a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMSetUIIdentityCallback.html">MAMSetUIIdentityCallback</a> mamSetUIIdentityCallback)</span>
<span class="normal">(Context context, String identity, <a href="../../../../../../com/microsoft/intune/mam/client/identity/MAMSetUIIdentityCallback.html">MAMSetUIIdentityCallback</a> mamSetUIIdentityCallback, EnumSet&lt;<a href="../../../../../../com/microsoft/intune/mam/client/app/IdentitySwitchOption.html">IdentitySwitchOption</a>&gt; options)</span>
</h4>
<div class="api-level">
<div>
Expand All @@ -1349,7 +1408,11 @@ <h5 class="jd-tagtitle">Parameters</h5>
</tr>
<tr>
<th>mamSetUIIdentityCallback</th>
<td>callback to notify the application the identity switch result. May be null.
<td>callback to notify the application the identity switch result. May be null.</td>
</tr>
<tr>
<th>options</th>
<td>Identity switch options.
</td>
</tr>
</table>
Expand Down
13 changes: 13 additions & 0 deletions docs/reference/current.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11941,6 +11941,19 @@
deprecated="not deprecated"
visibility="public"
>
<method name="bypassConditionalLaunchChecks"
return="void"
abstract="false"
native="false"
synchronized="false"
static="true"
final="false"
deprecated="not deprecated"
visibility="public"
>
<parameter name="activity" type="android.app.Activity">
</parameter>
</method>
<method name="getCurrentThreadIdentity"
return="java.lang.String"
abstract="false"
Expand Down
Binary file modified libs/Microsoft.Intune.MAM.SDK.DownlevelStubs.aar
Binary file not shown.
Binary file modified libs/Microsoft.Intune.MAM.SDK.Support.Text.jar
Binary file not shown.
Binary file modified libs/Microsoft.Intune.MAM.SDK.Support.v17.jar
Binary file not shown.
Binary file modified libs/Microsoft.Intune.MAM.SDK.Support.v4.jar
Binary file not shown.
Binary file modified libs/Microsoft.Intune.MAM.SDK.Support.v7.jar
Binary file not shown.

0 comments on commit 1dd3da9

Please sign in to comment.