Home | History | Annotate | Download | only in setup

Lines Matching refs:activity

17 package com.android.email.activity.setup;
19 import android.app.Activity;
35 import com.android.email.activity.ActivityHelper;
41 * Psuedo-activity (no UI) to bootstrap the user up to a higher desired security level. This
51 public class AccountSecurity extends Activity {
69 * Used for generating intent for this activity (which is intended to be launched
88 * Used for generating intent for this activity (which is intended to be launched
89 * from a notification.) This is a special mode of this activity which exists only
199 // try to become active - must happen here in activity, to get result
244 // launch the activity to have the user set a new password.
264 // launch the activity to start up encryption.
297 * we repost the notification and finish() the activity.
335 AccountSecurity activity = (AccountSecurity) getActivity();
336 if (activity.mAccount == null) {
337 // Clicked before activity fully restored - probably just monkey - exit quickly
338 activity.finish();
346 activity.tryAdvanceSecurity(activity.mAccount);
352 activity.repostNotification(
353 activity.mAccount, SecurityPolicy.getInstance(activity));
354 activity.finish();
409 AccountSecurity activity = (AccountSecurity) getActivity();
412 activity.startActivity(intent);
414 activity.finish();