Use Build.SERIAL directly
Use isNullOrEmpty in more places