Skip to content

Commit

Permalink
fix get unique id npe (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenxi-zeng authored Jan 18, 2022
1 parent af0279a commit 65cab61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ private static String getUniqueID() {
// Inspect exception
return null;
} finally {
if (wvDrm == null) {
if (wvDrm != null) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
wvDrm.close();
} else {
Expand Down

0 comments on commit 65cab61

Please sign in to comment.