summaryrefslogtreecommitdiffstats
path: root/emailcommon
diff options
context:
space:
mode:
authorTony Mantler <nicoya@google.com>2014-07-11 10:08:20 -0700
committerTony Mantler <nicoya@google.com>2014-07-11 21:34:55 +0000
commit8c03e2af9f439c6e0c6abb38b0c371da7ccdb72a (patch)
tree6e2791357a8053032e64ea82dc33c8c686be23f5 /emailcommon
parent4fb4820223b2b98b2a8517c9231950c0740cb15c (diff)
downloadandroid_packages_apps_Email-8c03e2af9f439c6e0c6abb38b0c371da7ccdb72a.tar.gz
android_packages_apps_Email-8c03e2af9f439c6e0c6abb38b0c371da7ccdb72a.tar.bz2
android_packages_apps_Email-8c03e2af9f439c6e0c6abb38b0c371da7ccdb72a.zip
Remove direct entry points to AccountSettings
b/16240332 Change-Id: I9bc3f9a2e0b7faa4d8875a9ac7d6d585a65d9733
Diffstat (limited to 'emailcommon')
-rw-r--r--emailcommon/src/com/android/emailcommon/service/AccountServiceProxy.java32
-rw-r--r--emailcommon/src/com/android/emailcommon/service/IAccountService.aidl5
2 files changed, 0 insertions, 37 deletions
diff --git a/emailcommon/src/com/android/emailcommon/service/AccountServiceProxy.java b/emailcommon/src/com/android/emailcommon/service/AccountServiceProxy.java
index 8f41ff080..4c764d069 100644
--- a/emailcommon/src/com/android/emailcommon/service/AccountServiceProxy.java
+++ b/emailcommon/src/com/android/emailcommon/service/AccountServiceProxy.java
@@ -42,38 +42,6 @@ public class AccountServiceProxy extends ServiceProxy implements IAccountService
return null;
}
- @Override
- public void notifyLoginFailed(final long accountId, final String reason) {
- setTask(new ProxyTask() {
- @Override
- public void run() throws RemoteException {
- mService.notifyLoginFailed(accountId, reason);
- }
- }, "notifyLoginFailed");
- }
-
- @Override
- public void notifyLoginSucceeded(final long accountId) {
- setTask(new ProxyTask() {
- @Override
- public void run() throws RemoteException {
- mService.notifyLoginSucceeded(accountId);
- }
- }, "notifyLoginSucceeded");
- }
-
- // The following call is synchronous, and should not be made from the UI thread
- @Override
- public void reconcileAccounts(final String protocol, final String accountManagerType) {
- setTask(new ProxyTask() {
- @Override
- public void run() throws RemoteException {
- mService.reconcileAccounts(protocol, accountManagerType);
- }
- }, "reconcileAccounts");
- waitForCompletion();
- }
-
// The following call is synchronous, and should not be made from the UI thread
@Override
public int getAccountColor(final long accountId) {
diff --git a/emailcommon/src/com/android/emailcommon/service/IAccountService.aidl b/emailcommon/src/com/android/emailcommon/service/IAccountService.aidl
index d456862b0..b3773801a 100644
--- a/emailcommon/src/com/android/emailcommon/service/IAccountService.aidl
+++ b/emailcommon/src/com/android/emailcommon/service/IAccountService.aidl
@@ -19,11 +19,6 @@ package com.android.emailcommon.service;
import android.os.Bundle;
interface IAccountService {
- oneway void notifyLoginFailed(long accountId, String reason);
- oneway void notifyLoginSucceeded(long accountId);
-
- void reconcileAccounts(String protocol, String accountManagerType);
-
int getAccountColor(long accountId);
Bundle getConfigurationData(String accountType);