use of org.awesomeapp.messenger.ImApp in project Zom-Android by zom.
the class RemoteImService method checkUpgrade.
private void checkUpgrade() {
ImApp app = ((ImApp) getApplication());
if (app.needsAccountUpgrade()) {
Intent notificationIntent = new Intent(this, MainActivity.class);
PendingIntent launchIntent = PendingIntent.getActivity(getApplicationContext(), 0, notificationIntent, 0);
getStatusBarNotifier().notify(getString(R.string.upgrade_action), getString(R.string.upgrade_desc), getString(R.string.upgrade_desc), notificationIntent, false, false);
}
}
Aggregations