am 616908fe: docs: Fixed import statements for licensing docs. Bug: 8360745
* commit '616908fee48c44a2115d5d63583ccf04e401b3da': docs: Fixed import statements for licensing docs. Bug: 8360745
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user