diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-05-17 22:07:49 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-05-17 22:07:49 +0200 |
commit | f9a50dcaf0111056a1bade3f12f5fb11abd23d2f (patch) | |
tree | 594878ad96cfcf7e8ee03954c3f5b96a6a3765b0 /src/main/java/de | |
parent | 7e69b505a6a0588ff0c01f184921d4b1dc5d4d0e (diff) |
detect yalp store installs
Diffstat (limited to 'src/main/java/de')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java index 1f038ab56..e2e2e4bc8 100644 --- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java +++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java @@ -4169,7 +4169,7 @@ public class XmppConnectionService extends Service { final String packageID = BuildConfig.APPLICATION_ID; final String installedFrom = packageManager.getInstallerPackageName(packageID); Log.d(Config.LOGTAG, "Messenger installed from " + installedFrom); - return installedFrom != null && installedFrom.contains("com.android.vending"); + return installedFrom != null && (installedFrom.contains("com.android.vending") || installedFrom.contains("com.github.yeriomin.yalpstore")); } public ShortcutService getShortcutService() { |