Example #1
0
 private boolean isAccountAllowed(String accountName, String accountType, int uid) {
   try {
     String sha1 = Util.sha1(accountName + accountType);
     if (PrivacyManager.getSettingBool(-uid, Meta.cTypeAccount, sha1, false, true)) return true;
   } catch (Throwable ex) {
     Util.bug(this, ex);
   }
   return false;
 }