multiple additions and fixes for the Java APIs

Stuff needed for WhatsApp support
This commit is contained in:
Julian Winkler
2024-06-24 18:44:31 +02:00
committed by Mis012
parent ef77bb287a
commit 3c5a21357d
53 changed files with 357 additions and 43 deletions

View File

@@ -1,5 +1,24 @@
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;
}
}