Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 279b0385 authored by Tom Stamm's avatar Tom Stamm
Browse files

Merge remote-tracking branch 'goog/jb-ub-now-kermit' into kr

parents 8fa85d20 6033ceb4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -371,7 +371,11 @@ public class DeviceProfile {
        isLandscape = (configuration.orientation == Configuration.ORIENTATION_LANDSCAPE);
        isTablet = resources.getBoolean(R.bool.is_tablet);
        isLargeTablet = resources.getBoolean(R.bool.is_large_tablet);
        if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR1) {
            isLayoutRtl = (configuration.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL);
        } else {
            isLayoutRtl = false;
        }
        widthPx = wPx;
        heightPx = hPx;
        availableWidthPx = awPx;