Skip to content

Commit

Permalink
OAID maybe empty (issues#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyujiang-gzu committed Jul 12, 2021
1 parent 13a090e commit 1ee3698
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,9 @@ private DeviceID() {

@Override
public void onOAIDGetComplete(String result) {
if (result == null) {
result = "";
if (TextUtils.isEmpty(result)) {
onOAIDGetError(new OAIDException("OAID is empty"));
return;
}
clientId = result;
oaid = result;
Expand Down

0 comments on commit 1ee3698

Please sign in to comment.