Skip to content

Commit

Permalink
Remove getDefaultUDID
Browse files Browse the repository at this point in the history
  • Loading branch information
andot committed Apr 8, 2021
1 parent 6d82148 commit e8fd329
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@ public void doGet(@NonNull final IGetter getter) {
getter.onOAIDGetError(new NullPointerException("Xiaomi IdProvider not exists"));
return;
}
try {
Method udidMethod = idProvider.getMethod("getDefaultUDID", Context.class);
String did = invokeMethod(udidMethod);
if (did != null && did.length() > 0) {
getter.onOAIDGetComplete(did);
return;
}
} catch (Throwable e) {
OAIDLog.print(e);
}
try {
Method oaidMethod = idProvider.getMethod("getOAID", Context.class);
String did = invokeMethod(oaidMethod);
Expand Down

0 comments on commit e8fd329

Please sign in to comment.