mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
bd4f42fcaa
commit
262bceb4c8
|
@ -126,7 +126,8 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||||
static final int REQUEST_IMPORT_CERTIFICATE = 7;
|
static final int REQUEST_IMPORT_CERTIFICATE = 7;
|
||||||
static final int REQUEST_OAUTH = 8;
|
static final int REQUEST_OAUTH = 8;
|
||||||
static final int REQUEST_STILL = 9;
|
static final int REQUEST_STILL = 9;
|
||||||
static final int REQUEST_MANAGE = 10;
|
|
||||||
|
static final int PI_MISC = 1;
|
||||||
|
|
||||||
static final String ACTION_QUICK_GMAIL = BuildConfig.APPLICATION_ID + ".ACTION_QUICK_GMAIL";
|
static final String ACTION_QUICK_GMAIL = BuildConfig.APPLICATION_ID + ".ACTION_QUICK_GMAIL";
|
||||||
static final String ACTION_QUICK_OAUTH = BuildConfig.APPLICATION_ID + ".ACTION_QUICK_OAUTH";
|
static final String ACTION_QUICK_OAUTH = BuildConfig.APPLICATION_ID + ".ACTION_QUICK_OAUTH";
|
||||||
|
|
|
@ -1046,10 +1046,11 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||||
builder.setContentIntent(piUpdate);
|
builder.setContentIntent(piUpdate);
|
||||||
|
|
||||||
Intent manage = new Intent(ActivityView.this, ActivitySetup.class)
|
Intent manage = new Intent(ActivityView.this, ActivitySetup.class)
|
||||||
|
.setAction("misc")
|
||||||
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||||
.putExtra("tab", "misc");
|
.putExtra("tab", "misc");
|
||||||
PendingIntent piManage = PendingIntentCompat.getActivity(
|
PendingIntent piManage = PendingIntentCompat.getActivity(
|
||||||
ActivityView.this, ActivitySetup.REQUEST_MANAGE, manage, PendingIntent.FLAG_UPDATE_CURRENT);
|
ActivityView.this, ActivitySetup.PI_MISC, manage, PendingIntent.FLAG_UPDATE_CURRENT);
|
||||||
NotificationCompat.Action.Builder actionManage = new NotificationCompat.Action.Builder(
|
NotificationCompat.Action.Builder actionManage = new NotificationCompat.Action.Builder(
|
||||||
R.drawable.twotone_settings_24,
|
R.drawable.twotone_settings_24,
|
||||||
getString(R.string.title_setup_manage),
|
getString(R.string.title_setup_manage),
|
||||||
|
|
Loading…
Reference in New Issue