• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.android.settings.notification.zen;
2 
3 import android.app.Activity;
4 import android.content.Intent;
5 import android.os.Bundle;
6 import android.provider.Settings;
7 
8 public class ZenSuggestionActivity extends Activity {
9 
10     @Override
onCreate(Bundle savedInstanceState)11     public void onCreate(Bundle savedInstanceState) {
12         super.onCreate(savedInstanceState);
13 
14         // start up zen settings activity
15         Intent settingsIntent = new Intent(Settings.ACTION_ZEN_MODE_SETTINGS);
16         startActivity(settingsIntent);
17 
18         // start up onboarding activity
19         Intent onboardingActivity = new Intent(Settings.ZEN_MODE_ONBOARDING);
20         startActivity(onboardingActivity);
21 
22         finish();
23     }
24 }
25