Skip to content

Commit 602a34f

Browse files
committed
TapAndPay: Add Dummy
1 parent a430489 commit 602a34f

File tree

21 files changed

+344
-85
lines changed

21 files changed

+344
-85
lines changed

play-services-api/src/main/aidl/com/google/android/gms/tapandpay/internal/ITapAndPayService.aidl

Lines changed: 0 additions & 5 deletions
This file was deleted.

play-services-api/src/main/java/com/google/android/gms/wallet/IsReadyToPayRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
*/
2020
@PublicApi
2121
public class IsReadyToPayRequest extends AutoSafeParcelable {
22-
@Field(2)
22+
@Field(value = 2, useDirectList = true)
2323
private ArrayList<Integer> allowedCardNetworks;
2424
@Field(4)
2525
private String unknown4;
2626
@Field(5)
2727
private String unknown5;
28-
@Field(6)
28+
@Field(value = 6, useDirectList = true)
2929
private ArrayList<Integer> allowedPaymentMethods;
3030
@Field(7)
3131
private boolean existingPaymentMethodRequired;

play-services-base-core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ apply plugin: 'signing'
99

1010
dependencies {
1111
api project(':play-services-basement')
12+
api "androidx.lifecycle:lifecycle-service:$lifecycleVersion"
1213

1314
implementation "androidx.annotation:annotation:$annotationVersion"
14-
implementation "androidx.lifecycle:lifecycle-service:$lifecycleVersion"
1515
}
1616

1717
android {

play-services-core/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,11 @@ dependencies {
4545
implementation project(':play-services-conscrypt-provider-core')
4646
implementation project(':play-services-cronet-core')
4747
implementation project(':play-services-location-core')
48-
implementation project(':play-services-vision-core')
4948
withNearbyImplementation project(':play-services-nearby-core')
5049
withNearbyImplementation project(':play-services-nearby-core-ui')
50+
implementation project(':play-services-tapandpay-core')
51+
implementation project(':play-services-vision-core')
52+
5153
implementation project(':play-services-core-proto')
5254
implementation project(':play-services-core:microg-ui-tools') // deprecated
5355
implementation project(':play-services-api')

play-services-core/src/main/AndroidManifest.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -688,11 +688,6 @@
688688
<action android:name="com.google.android.gms.wallet.service.BIND" />
689689
</intent-filter>
690690
</service>
691-
<service android:name="org.microg.gms.tapandpay.TapAndPayService">
692-
<intent-filter>
693-
<action android:name="com.google.android.gms.tapandpay.service.BIND" />
694-
</intent-filter>
695-
</service>
696691

697692
<service android:name="org.microg.gms.cast.CastDeviceControllerService">
698693
<intent-filter>

play-services-core/src/main/java/org/microg/gms/tapandpay/TapAndPayImpl.java

Lines changed: 0 additions & 33 deletions
This file was deleted.

play-services-core/src/main/java/org/microg/gms/tapandpay/TapAndPayService.java

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2021, microG Project Team
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
apply plugin: 'com.android.library'
7+
apply plugin: 'maven-publish'
8+
apply plugin: 'signing'
9+
10+
android {
11+
compileSdkVersion androidCompileSdk
12+
buildToolsVersion "$androidBuildVersionTools"
13+
14+
defaultConfig {
15+
versionName version
16+
minSdkVersion androidMinSdk
17+
targetSdkVersion androidTargetSdk
18+
}
19+
20+
compileOptions {
21+
sourceCompatibility = 1.8
22+
targetCompatibility = 1.8
23+
}
24+
}
25+
26+
// Nothing to publish yet
27+
//apply from: '../gradle/publish-android.gradle'
28+
29+
description = 'microG API for play-services-tapandpay'
30+
31+
dependencies {
32+
api project(':play-services-basement')
33+
api project(':play-services-base-api')
34+
35+
implementation "androidx.annotation:annotation:$annotationVersion"
36+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
~ SPDX-FileCopyrightText: 2021, microG Project Team
4+
~ SPDX-License-Identifier: Apache-2.0
5+
-->
6+
<manifest package="org.microg.gms.tapandpay.api"/>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
package com.google.android.gms.tapandpay.firstparty;
2+
3+
parcelable TokenStatus;

0 commit comments

Comments
 (0)