Refactor how the warm welcome is triggered.
MailActivityEmail doesn't need to implement WelcomeTourCompletionListener anymore. b/15705426 Change-Id: I911eb8eac6e6759448065e68e85d6f347693ea82
This commit is contained in:
parent
3d16e5d4b9
commit
5026028300
|
@ -45,7 +45,6 @@ import com.android.mail.providers.UIProvider;
|
||||||
import com.android.mail.utils.LogTag;
|
import com.android.mail.utils.LogTag;
|
||||||
import com.android.mail.utils.LogUtils;
|
import com.android.mail.utils.LogUtils;
|
||||||
import com.android.mail.utils.Utils;
|
import com.android.mail.utils.Utils;
|
||||||
import com.android.mail.welcome.WelcomeTourCompletionListener;
|
|
||||||
|
|
||||||
public class MailActivityEmail extends com.android.mail.ui.MailActivity {
|
public class MailActivityEmail extends com.android.mail.ui.MailActivity {
|
||||||
/**
|
/**
|
||||||
|
@ -216,12 +215,6 @@ public class MailActivityEmail extends com.android.mail.ui.MailActivity {
|
||||||
Utility.enableStrictMode(enabled);
|
Utility.enableStrictMode(enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onWelcomeTourRequested(
|
|
||||||
WelcomeTourCompletionListener completionListener) {
|
|
||||||
// Do nothing.
|
|
||||||
}
|
|
||||||
|
|
||||||
private Intent getViewIntent(long accountId, long mailboxId) {
|
private Intent getViewIntent(long accountId, long mailboxId) {
|
||||||
final ContentResolver contentResolver = getContentResolver();
|
final ContentResolver contentResolver = getContentResolver();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue