Searched refs:CommonConstants (Results 1 – 4 of 4) sorted by relevance
46 mMessage = intent.getStringExtra(CommonConstants.EXTRA_MESSAGE); in onHandleIntent()48 mMillis = intent.getIntExtra(CommonConstants.EXTRA_TIMER, in onHandleIntent()49 CommonConstants.DEFAULT_TIMER_DURATION); in onHandleIntent()56 if(action.equals(CommonConstants.ACTION_PING)) { in onHandleIntent()58 } else if (action.equals(CommonConstants.ACTION_SNOOZE)) { in onHandleIntent()59 nm.cancel(CommonConstants.NOTIFICATION_ID); in onHandleIntent()60 Log.d(CommonConstants.DEBUG_TAG, getString(R.string.snoozing)); in onHandleIntent()64 } else if (action.equals(CommonConstants.ACTION_DISMISS)) { in onHandleIntent()65 nm.cancel(CommonConstants.NOTIFICATION_ID); in onHandleIntent()76 dismissIntent.setAction(CommonConstants.ACTION_DISMISS); in issueNotification()[all …]
33 String message = getIntent().getStringExtra(CommonConstants.EXTRA_MESSAGE); in onCreate()40 intent.setAction(CommonConstants.ACTION_SNOOZE); in onSnoozeClick()46 intent.setAction(CommonConstants.ACTION_DISMISS); in onDismissClick()
23 public final class CommonConstants { class25 public CommonConstants() { in CommonConstants() method in CommonConstants
50 mServiceIntent.putExtra(CommonConstants.EXTRA_MESSAGE, message); in onPingClick()51 mServiceIntent.setAction(CommonConstants.ACTION_PING); in onPingClick()65 mServiceIntent.putExtra(CommonConstants.EXTRA_TIMER, milliseconds); in onPingClick()