Loading telecomm/java/android/telecom/TelecomManager.java +15 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ import android.os.Bundle; import android.os.RemoteException; import android.os.ServiceManager; import android.telephony.TelephonyManager; import android.text.TextUtils; import android.util.Log; import com.android.internal.telecom.ITelecomService; Loading Loading @@ -624,6 +625,20 @@ public class TelecomManager { } } /** * Remove all Accounts that belong to the specified package from the system. * @hide */ public void clearAccountsForPackage(String packageName) { try { if (isServiceConnected() && !TextUtils.isEmpty(packageName)) { getTelecomService().clearAccounts(packageName); } } catch (RemoteException e) { Log.e(TAG, "Error calling ITelecomService#clearAccountsForPackage()", e); } } /** * @hide */ Loading Loading
telecomm/java/android/telecom/TelecomManager.java +15 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ import android.os.Bundle; import android.os.RemoteException; import android.os.ServiceManager; import android.telephony.TelephonyManager; import android.text.TextUtils; import android.util.Log; import com.android.internal.telecom.ITelecomService; Loading Loading @@ -624,6 +625,20 @@ public class TelecomManager { } } /** * Remove all Accounts that belong to the specified package from the system. * @hide */ public void clearAccountsForPackage(String packageName) { try { if (isServiceConnected() && !TextUtils.isEmpty(packageName)) { getTelecomService().clearAccounts(packageName); } } catch (RemoteException e) { Log.e(TAG, "Error calling ITelecomService#clearAccountsForPackage()", e); } } /** * @hide */ Loading