diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 3c1369452a..bcb31ef920 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -563,7 +563,7 @@ - + diff --git a/src/org/thoughtcrime/securesms/ExperienceUpgradeActivity.java b/src/org/thoughtcrime/securesms/ExperienceUpgradeActivity.java index 65444c9d36..828c628dfb 100644 --- a/src/org/thoughtcrime/securesms/ExperienceUpgradeActivity.java +++ b/src/org/thoughtcrime/securesms/ExperienceUpgradeActivity.java @@ -222,7 +222,7 @@ public class ExperienceUpgradeActivity extends BaseActionBarActivity { public static class AppUpgradeReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { - if (Intent.ACTION_PACKAGE_REPLACED.equals(intent.getAction()) && + if (Intent.ACTION_MY_PACKAGE_REPLACED.equals(intent.getAction()) && intent.getData().getSchemeSpecificPart().equals(context.getPackageName())) { Optional experienceUpgrade = getExperienceUpgrade(context);