List of usage examples for android.view Display isValid
public boolean isValid()
From source file:org.acra.collector.DisplayManagerCollector.java
@NonNull private static String collectIsValid(@NonNull Display display) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { return display.getDisplayId() + ".isValid=" + display.isValid() + '\n'; }/*from w w w .j av a 2 s .co m*/ return ""; }
From source file:me.wimanacra.collector.DisplayManagerCollector.java
private static void collectIsValid(@NonNull Display display, JSONObject container) throws JSONException { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { container.put("isValid", display.isValid()); }//from w w w.j a va2s .co m }