mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 09:47:13 +00:00
Small improvement
This commit is contained in:
parent
bd4f42fcaa
commit
262bceb4c8
2 changed files with 4 additions and 2 deletions
|
@ -126,7 +126,8 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
|||
static final int REQUEST_IMPORT_CERTIFICATE = 7;
|
||||
static final int REQUEST_OAUTH = 8;
|
||||
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_OAUTH = BuildConfig.APPLICATION_ID + ".ACTION_QUICK_OAUTH";
|
||||
|
|
|
@ -1046,10 +1046,11 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
builder.setContentIntent(piUpdate);
|
||||
|
||||
Intent manage = new Intent(ActivityView.this, ActivitySetup.class)
|
||||
.setAction("misc")
|
||||
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||
.putExtra("tab", "misc");
|
||||
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(
|
||||
R.drawable.twotone_settings_24,
|
||||
getString(R.string.title_setup_manage),
|
||||
|
|
Loading…
Reference in a new issue