code: private String[] propertiesReader() {
          InputStream inputstream = null;
          try {
              inputstream = Runtime.getRuntime().exec("getprop").getInputStream();
          } catch (IOException e) {
              Log.e(TAG, "Error reading properties", e);
          }
          if (inputstream == null) {
              return new String[0];
          }
  
          String allProperties = "";
          try {
              allProperties = new Scanner(inputstream).useDelimiter("\\A").next();
          } catch (NoSuchElementException e) {
              Log.e(TAG, "Error reading properties", e);
          }
          return allProperties.split("\n");
      }
docs: Used for existingDangerousProperties().
  @return - list of system properties