code: public static boolean isEmulator() {
          return null == Build.PRODUCT
                  || Build.PRODUCT.contains("vbox")
                  || (Build.FINGERPRINT.startsWith("generic") && Build.BOARD.startsWith("unknown"))
                  || (Build.FINGERPRINT.startsWith("unknown") && Build.BOARD.startsWith("unknown"))
                  || Build.MODEL.contains("google_sdk")
                  || Build.MODEL.contains("Emulator")
                  || Build.MODEL.contains("Android SDK built for x86")
                  || Build.MANUFACTURER.contains("Genymotion")
                  || Build.MANUFACTURER.contains("Android")
                  || (Build.BRAND.startsWith("generic") && Build.DEVICE.startsWith("generic"))
                  || "google_sdk".equals(Build.PRODUCT);
      }
docs: 判断当前设备是模拟器或真机