aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-03 21:07:12 -0400
committerGitHub <noreply@github.com>2017-07-03 21:07:12 -0400
commitbde1c74e57b34b3395fe4741d8188fe2704662ce (patch)
treef2e5b1b2ce8980b6ca57b2f5ee8abdf19a5cf0b2 /app/src/main
parent8edd98fcee1506177e61ebeb31af35c7f3fb48c8 (diff)
downloadfrost-bde1c74e57b34b3395fe4741d8188fe2704662ce.tar.gz
frost-bde1c74e57b34b3395fe4741d8188fe2704662ce.tar.bz2
frost-bde1c74e57b34b3395fe4741d8188fe2704662ce.zip
Dev (#14)
* Allow file access * Log all to phone * Rework billing logic * Simplify travis process * More logging
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/iab/IAB.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/iab/IAB.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/iab/IAB.kt
index a96af378..645a6218 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/iab/IAB.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/iab/IAB.kt
@@ -43,6 +43,7 @@ object IAB {
helper!!.enableDebugLogging(BuildConfig.DEBUG, "Frost:")
helper!!.startSetup {
result ->
+ L.d("IAB setup finished; ${result.isSuccess}")
if (result.isSuccess) {
if (onStart(helper!!))
helper!!.disposeWhenFinished()
@@ -142,6 +143,7 @@ fun Activity.getInventory(
helper ->
helper.queryInventoryAsync {
res, inv ->
+ L.d("Inventory query finished")
if (res.isFailure || inv == null) onFailed()
else onSuccess(inv, helper)
}