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

Commit 6cbe9037 authored by Alexandru Chircu's avatar Alexandru Chircu
Browse files

Temp commit

parent 3f047dc3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ android {
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_6
        sourceCompatibility JavaVersion.VERSION_1_7
    }
}

+13 −2
Original line number Diff line number Diff line
@@ -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
@@ -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>
+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);
}
+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