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

Commit 7400be47 authored by Kristian Monsen's avatar Kristian Monsen
Browse files

Cleanup of private browsing files are now done in webkit

Bug 3243891

Change-Id: I51e63a96bf1c95cd8e675a3d94a4aa210418e216
parent d2f44b7a
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -1952,21 +1952,6 @@ public class WebView extends AbsoluteLayout
        }
    }

    /**
     * Deletes any files that were created as a part of the last private
     * browsing session and clears any internal state associated with that
     * session. The consequences of calling this method while a private
     * browsing session is active are unspecified.
     * @return True if the private browsing files were successfully deleted,
     *         false otherwise.
     * @hide pending API council approval.
     */
    public static boolean cleanupPrivateBrowsingFiles() {
        return nativeCleanupPrivateBrowsingFiles();
    }

    private static native boolean nativeCleanupPrivateBrowsingFiles();

    private boolean extendScroll(int y) {
        int finalY = mScroller.getFinalY();
        int newY = pinLocY(finalY + y);