.method public
startSetup(Lru/iamtagir/thatlevelagain2/android/util/IabHelper$OnIabSetupFinishedListener;)
V
.locals 4
.param p1, "listener" #
Lru/iamtagir/thatlevelagain2/android/util/IabHelper$OnIabSetupFinishedListener;
.prologue
.line 203
invoke-direct {p0},
Lru/iamtagir/thatlevelagain2/android/util/IabHelper;->checkNotDisposed()V
.line 204
iget-boolean v1, p0,
Lru/iamtagir/thatlevelagain2/android/util/IabHelper;->mSetupDone:Z
if-eqz v1, :cond_0
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "IAB helper is already set up."
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
.line 207
:cond_0
const-string v1, "Starting in-app billing setup."
invoke-virtual {p0, v1},
Lru/iamtagir/thatlevelagain2/android/util/IabHelper;->logDebug(Ljava/lang/String;)V
.line 208
new-instance v1, Lru/iamtagir/thatlevelagain2/android/util/IabHelper$1;
invoke-direct {v1, p0, p1},
Lru/iamtagir/thatlevelagain2/android/util/IabHelper$1;-><init>(Lru/iamtagir/thatlevelagain2/
android/util/IabHelper;Lru/iamtagir/thatlevelagain2/android/util/IabHelper$OnIabSetupFinis
hedListener;)V
iput-object v1, p0,
Lru/iamtagir/thatlevelagain2/android/util/IabHelper;->mServiceConn:Landroid/content/Servic
eConnection;
.line 263
new-instance v0, Landroid/content/Intent;
const-string v1, "com.android.vending.billing.InAppBillingService.BIND"
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 264
.local v0, "serviceIntent":Landroid/content/Intent;
const-string v1, "com.android.vending" 谷歌商店包名
存入字符常量引用到 v1
invoke-virtual {v0, v1},
Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
设置包名
.line 265
iget-object v1, p0,
Lru/iamtagir/thatlevelagain2/android/util/IabHelper;->mContext:Landroid/content/Context;
invoke-virtual {v1},
Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
获取包管理 获取包信息