@Override
 public void onChanged(Account newAccount) {
   final Account oldAccount = mAccount;
   mAccount = newAccount;
   mWebViewClient.setAccount(mAccount);
   onAccountChanged(newAccount, oldAccount);
 }
 @Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
   final Activity activity = getActivity();
   if (!(activity instanceof ControllableActivity)) {
     LogUtils.wtf(
         LOG_TAG,
         "ConversationViewFragment expects only a ControllableActivity to"
             + "create it. Cannot proceed.");
   }
   if (activity == null || activity.isFinishing()) {
     // Activity is finishing, just bail.
     return;
   }
   mActivity = (ControllableActivity) activity;
   mContext = activity.getApplicationContext();
   mWebViewClient.setActivity(activity);
   mAccount = mAccountObserver.initialize(mActivity.getAccountController());
   mWebViewClient.setAccount(mAccount);
 }