properly detect the presence of the free app version too
This commit is contained in:
parent
4497745778
commit
bf662d16d9
2 changed files with 6 additions and 1 deletions
|
@ -34,6 +34,11 @@
|
|||
|
||||
<uses-sdk tools:overrideLibrary="com.google.vr.widgets.common, com.google.vr.sdk.widgets.pano" />
|
||||
|
||||
<queries>
|
||||
<package android:name="com.simplemobiletools.gallery.debug" />
|
||||
<package android:name="com.simplemobiletools.gallery" />
|
||||
</queries>
|
||||
|
||||
<uses-feature
|
||||
android:name="android.hardware.faketouch"
|
||||
android:required="false" />
|
||||
|
|
|
@ -468,7 +468,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
|
|||
}
|
||||
|
||||
if (!config.wasUpgradedFromFreeShown && isPackageInstalled("com.simplemobiletools.gallery")) {
|
||||
ConfirmationDialog(this, "", R.string.upgraded_from_free, R.string.ok, 0, false) {}
|
||||
ConfirmationDialog(this, "", R.string.upgraded_to_pro, R.string.ok, 0, false) {}
|
||||
config.wasUpgradedFromFreeShown = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue