Files
android_translation_layer/src/api-impl/android/accounts/AccountManager.java
Julian Winkler 3c5a21357d multiple additions and fixes for the Java APIs
Stuff needed for WhatsApp support
2024-08-01 19:57:12 +00:00

25 lines
562 B
Java

package android.accounts;
import android.content.Context;
import android.os.Bundle;
public class AccountManager {
public static AccountManager get(Context context) {
return new AccountManager();
}
public Account[] getAccountsByType(String type) {
return new Account[0];
}
public Account[] getAccounts() {
return new Account[0];
}
public boolean addAccountExplicitly(Account account, String password, Bundle extras) {
System.out.println("addAccountExplicitly(" + account + ", " + password + ", " + extras + ") called");
return false;
}
}