You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
multiple additions and fixes for the Java APIs
Stuff needed for WhatsApp support
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user