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

Commit 1267cfc3 authored by quddusc's avatar quddusc Committed by Android Git Automerger
Browse files

am 616908fe: docs: Fixed import statements for licensing docs. Bug: 8360745

* commit '616908fe':
  docs: Fixed import statements for licensing docs. Bug: 8360745
parents 49e3d6ba 616908fe
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -598,15 +598,15 @@ href="#impl-Obfuscator">Obfuscator</a> implementation. </p>
<p>First, open the class file of the application's main Activity and import
<p>First, open the class file of the application's main Activity and import
{@code LicenseChecker} and {@code LicenseCheckerCallback} from the LVL package.</p>
{@code LicenseChecker} and {@code LicenseCheckerCallback} from the LVL package.</p>


<pre>    import com.android.vending.licensing.LicenseChecker;
<pre>    import com.google.android.vending.licensing.LicenseChecker;
    import com.android.vending.licensing.LicenseCheckerCallback;</pre>
    import com.google.android.vending.licensing.LicenseCheckerCallback;</pre>


<p>If you are using the default {@code Policy} implementation provided with the LVL,
<p>If you are using the default {@code Policy} implementation provided with the LVL,
ServerManagedPolicy, import it also, together with the AESObfuscator. If you are
ServerManagedPolicy, import it also, together with the AESObfuscator. If you are
using a custom {@code Policy} or {@code Obfuscator}, import those instead. </p>
using a custom {@code Policy} or {@code Obfuscator}, import those instead. </p>


<pre>    import com.android.vending.licensing.ServerManagedPolicy;
<pre>    import com.google.android.vending.licensing.ServerManagedPolicy;
    import com.android.vending.licensing.AESObfuscator;</pre>
    import com.google.android.vending.licensing.AESObfuscator;</pre>


<h3 id="lc-impl">Implement LicenseCheckerCallback as a private inner class</h3>
<h3 id="lc-impl">Implement LicenseCheckerCallback as a private inner class</h3>