BroadcastReceiver screenOn = new BroadcastReceiver() {
  public static final String ScreenOn = "android.intent.action.SCREEN_ON";

  @Override
  public void onReceive(Context context, Intent intent) {
   if (!intent.getAction().equals(ScreenOn))
    return;
   // Add Action
   Toast.makeText(SettingScreen.this, "확인", Toast.LENGTH_SHORT).show();
   Intent i = new Intent();
   i.setClassName("com.code13.prac", "com.code13.prac.SettingScreen");
   i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
   context.startActivity(i);
  }
 };

 

위와 같이 브로드캐스트 해주고 있는데요 ㅠㅠ

 

인텐트가 제대로 되질 않네요 ㅠㅠ

 

고수님들 도와주세요 ㅠㅠ