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

Commit 37acb83e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not call MediaSizeComp before it is initalized"

parents aab40a15 8682785c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -642,7 +642,9 @@ public class PrintActivity extends Activity implements RemotePrintDocument.Updat
    public void onConfigurationChanged(Configuration newConfig) {
        super.onConfigurationChanged(newConfig);

        if (mMediaSizeComparator != null) {
            mMediaSizeComparator.onConfigurationChanged(newConfig);
        }

        if (mPrintPreviewController != null) {
            mPrintPreviewController.onOrientationChanged();