public void setDensityDpi ( int densityDpi ) { if ( isJB ( ) ) { this . densityDpi = densityDpi ; } else { ShadowDisplayManager . changeDisplay ( realObject . getDisplayId ( ) , di -> di . logicalDensityDpi = densityDpi ) ; } }
Changes the density for this display .