Code example for AccountManager

Methods: getPassword

0
		} 
		return null; 
	} 
 
	public String getMasterToken(final Account account) {
		return accountManager.getPassword(account);
	} 
 
	public String getMasterToken(final String email) {
		return getMasterToken(findAccount(email));
	} 
 
	public String getPackageNameForUid(final int uid) {
		if (uid == 0) {
			return null; 
		} 
		final String[] packages = packageManager.getPackagesForUid(uid);
		for (final String pkg : packages) {
			if (pkg != null && !pkg.isEmpty()) {
				return pkg;
			}