2
0
Fork 0
volzhs 2015-06-29 02:56:38 +07:00
parent 584dd4db87
commit 903e6b37c0
1 changed files with 3 additions and 1 deletions

@ -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;