diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 12:12:34 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 12:12:34 -0300 |
commit | 3d121b474b6b8a8337dcc0c2ae9ed3124aceffca (patch) | |
tree | 27e64c1a3b58e52a718049d4ef7b6f5327e975f9 /platform/android/java | |
parent | 474c72697d1f7bb96450124935269ba7ba31cd1d (diff) | |
parent | f6668dc9db34fc4a3ef9e9e309e0fc248c3f51a8 (diff) |
Merge pull request #2203 from volzhs/fix_android_payments
Fix android payments
Diffstat (limited to 'platform/android/java')
-rw-r--r-- | platform/android/java/src/com/android/godot/payments/PaymentsManager.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/android/java/src/com/android/godot/payments/PaymentsManager.java b/platform/android/java/src/com/android/godot/payments/PaymentsManager.java index fd1a62738a..5bf86d0b69 100644 --- a/platform/android/java/src/com/android/godot/payments/PaymentsManager.java +++ b/platform/android/java/src/com/android/godot/payments/PaymentsManager.java @@ -47,8 +47,10 @@ public class PaymentsManager { } public PaymentsManager initService(){ + Intent intent = new Intent("com.android.vending.billing.InAppBillingService.BIND"); + intent.setPackage("com.android.vending"); activity.bindService( - new Intent("com.android.vending.billing.InAppBillingService.BIND"), + intent, mServiceConn, Context.BIND_AUTO_CREATE); return this; |