diff options
Diffstat (limited to 'java/com/android/dialer/app/MainComponent.java')
-rw-r--r-- | java/com/android/dialer/app/MainComponent.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/java/com/android/dialer/app/MainComponent.java b/java/com/android/dialer/app/MainComponent.java index 9d328491d..3bd48bf15 100644 --- a/java/com/android/dialer/app/MainComponent.java +++ b/java/com/android/dialer/app/MainComponent.java @@ -111,6 +111,14 @@ public class MainComponent { return intent; } + public static Intent getShowVoicemailIntent(Context context) { + Intent intent = new Intent(); + intent.setComponent(new ComponentName(context, getComponentName())); + intent.setAction("ACTION_SHOW_TAB"); + intent.putExtra("EXTRA_SHOW_TAB", 3); + return intent; + } + private static String getComponentName() { return "com.android.dialer.main.impl.MainActivity"; } |