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

Commit 2edfcd58 authored by Shimeng (Simon) Wang's avatar Shimeng (Simon) Wang
Browse files

Initialized the orientation variable to -1.

issue: 3057966
Change-Id: I31047d31376d79b1718c42633c9e6802e51213a7
parent 5f7c5a25
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ class BrowserFrame extends Handler {
    // that if the UI thread posts any messages after the message
    // queue has been cleared,they are ignored.
    private boolean mBlockMessages = false;
    private int mOrientation;
    private int mOrientation = -1;
    private static String sDatabaseDirectory;
    private static String sCacheDirectory;

@@ -225,7 +225,6 @@ class BrowserFrame extends Handler {
        mCallbackProxy = proxy;
        mDatabase = WebViewDatabase.getInstance(appContext);
        mWebViewCore = w;
        mOrientation = 0;

        AssetManager am = context.getAssets();
        nativeCreateFrame(w, am, proxy.getBackForwardList());