コード例 #1
0
  @Override
  protected void onResume() {
    super.onResume();
    dynamicTheme.onResume(this);
    dynamicLanguage.onResume(this);

    initializeSecurity();
    initializeScreenshotSecurity();
    initializeTitleBar();
    initializeEnabledCheck();
    initializeMmsEnabledCheck();
    initializeIme();
    initializeCharactersLeftViewEnabledCheck();
    calculateCharactersRemaining();

    MessageNotifier.setVisibleThread(threadId);
    markThreadAsRead();
  }
コード例 #2
0
 @Override
 protected void onPause() {
   super.onPause();
   MessageNotifier.setVisibleThread(-1L);
   if (isFinishing()) overridePendingTransition(R.anim.fade_scale_in, R.anim.slide_to_right);
 }