Merge "Launch AccountSecurity if the account is on security hold."
This commit is contained in:
commit
6a461a9d46
@ -21,6 +21,7 @@ import com.android.email.Email;
|
||||
import com.android.email.R;
|
||||
import com.android.email.RefreshManager;
|
||||
import com.android.email.Utility;
|
||||
import com.android.email.activity.setup.AccountSecurity;
|
||||
import com.android.email.activity.setup.AccountSettingsXL;
|
||||
import com.android.email.activity.setup.AccountSetupBasics;
|
||||
import com.android.email.provider.EmailContent.Account;
|
||||
@ -500,8 +501,8 @@ public class MessageListXL extends Activity implements View.OnClickListener,
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAccountSecurityHold() {
|
||||
// TODO: implement this
|
||||
public void onAccountSecurityHold(long accountId) {
|
||||
startActivity(AccountSecurity.actionUpdateSecurityIntent(this, accountId));
|
||||
}
|
||||
|
||||
private void loadAccounts() {
|
||||
|
@ -99,7 +99,7 @@ class MessageListXLFragmentManager {
|
||||
/**
|
||||
* Called when the selected account is on security-hold.
|
||||
*/
|
||||
public void onAccountSecurityHold();
|
||||
public void onAccountSecurityHold(long accountId);
|
||||
}
|
||||
|
||||
private final TargetActivity mTargetActivity;
|
||||
@ -488,7 +488,7 @@ class MessageListXLFragmentManager {
|
||||
if (Email.DEBUG_LIFECYCLE && Email.DEBUG) {
|
||||
Log.d(Email.LOG_TAG, "MailboxFinderCallback.onAccountSecurityHold");
|
||||
}
|
||||
mTargetActivity.onAccountSecurityHold();
|
||||
mTargetActivity.onAccountSecurityHold(accountId);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user