Loading build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ def androidCompileSdk() { return 24 } def androidTargetSdk() { return 24 } def androidMinSdk() { return 9 } def androidMinSdk() { return 18 } def versionCode() { def stdout = new ByteArrayOutputStream() Loading fake-store/build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ android { } compileOptions { sourceCompatibility JavaVersion.VERSION_1_6 sourceCompatibility JavaVersion.VERSION_1_7 } } Loading fake-store/src/main/AndroidManifest.xml +13 −2 Original line number Diff line number Diff line Loading @@ -19,8 +19,8 @@ xmlns:android="http://schemas.android.com/apk/res/android"> <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="23"/> android:minSdkVersion="18" android:targetSdkVersion="24"/> <uses-permission android:name="android.permission.FAKE_PACKAGE_SIGNATURE"/> <application Loading @@ -41,5 +41,16 @@ <action android:name="com.android.vending.billing.InAppBillingService.BIND" /> </intent-filter> </service> <service android:name="com.android.vending.licensing.LicensingService" > <intent-filter> <action android:name="com.android.vending.licensing.ILicensingService" /> </intent-filter> </service> <activity android:name="com.android.vending.licensing.AccountPickerActivity" android:excludeFromRecents="true"/> </application> </manifest> fake-store/src/main/aidl/com/android/vending/licensing/ILicenseResultListener.aidl 0 → 100644 +21 −0 Original line number Diff line number Diff line /* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.vending.licensing; interface ILicenseResultListener { void verifyLicense(int responseCode, String signedData, String signature); } fake-store/src/main/aidl/com/android/vending/licensing/ILicensingService.aidl 0 → 100644 +23 −0 Original line number Diff line number Diff line /* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.vending.licensing; import com.android.vending.licensing.ILicenseResultListener; interface ILicensingService { void checkLicense(long nonce, String packageName, in ILicenseResultListener listener); } Loading
build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ def androidCompileSdk() { return 24 } def androidTargetSdk() { return 24 } def androidMinSdk() { return 9 } def androidMinSdk() { return 18 } def versionCode() { def stdout = new ByteArrayOutputStream() Loading
fake-store/build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ android { } compileOptions { sourceCompatibility JavaVersion.VERSION_1_6 sourceCompatibility JavaVersion.VERSION_1_7 } } Loading
fake-store/src/main/AndroidManifest.xml +13 −2 Original line number Diff line number Diff line Loading @@ -19,8 +19,8 @@ xmlns:android="http://schemas.android.com/apk/res/android"> <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="23"/> android:minSdkVersion="18" android:targetSdkVersion="24"/> <uses-permission android:name="android.permission.FAKE_PACKAGE_SIGNATURE"/> <application Loading @@ -41,5 +41,16 @@ <action android:name="com.android.vending.billing.InAppBillingService.BIND" /> </intent-filter> </service> <service android:name="com.android.vending.licensing.LicensingService" > <intent-filter> <action android:name="com.android.vending.licensing.ILicensingService" /> </intent-filter> </service> <activity android:name="com.android.vending.licensing.AccountPickerActivity" android:excludeFromRecents="true"/> </application> </manifest>
fake-store/src/main/aidl/com/android/vending/licensing/ILicenseResultListener.aidl 0 → 100644 +21 −0 Original line number Diff line number Diff line /* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.vending.licensing; interface ILicenseResultListener { void verifyLicense(int responseCode, String signedData, String signature); }
fake-store/src/main/aidl/com/android/vending/licensing/ILicensingService.aidl 0 → 100644 +23 −0 Original line number Diff line number Diff line /* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.vending.licensing; import com.android.vending.licensing.ILicenseResultListener; interface ILicensingService { void checkLicense(long nonce, String packageName, in ILicenseResultListener listener); }