Skip to content

Commit

Permalink
fix(inventory): better test
Browse files Browse the repository at this point in the history
Signed-off-by: Teclib <skita@teclib.com>
  • Loading branch information
stonebuzz committed Nov 18, 2019
1 parent 25ec926 commit bf380a5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,9 @@ public String getSystemSerialNumber() {
//serial cannot by empty
//get uuid of need
if(systemSerialNumber.equalsIgnoreCase("Unknown")
|| systemSerialNumber.isEmpty()
|| systemSerialNumber.equalsIgnoreCase(android.os.Build.UNKNOWN) ){
|| systemSerialNumber.equalsIgnoreCase("N/A")
|| systemSerialNumber.isEmpty()
|| systemSerialNumber.equalsIgnoreCase(android.os.Build.UNKNOWN) ){
Hardware hardware = new Hardware(context);
systemSerialNumber = hardware.getUUID();
}
Expand Down

0 comments on commit bf380a5

Please sign in to comment.