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

Commit faa42dbe authored by John Reck's avatar John Reck
Browse files

OnTrimMemory plumbing

 Bug: 5269460

Change-Id: I012e2eb077c3671b856d0163de6b10ad7bd4d577
parent 01dba603
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import android.annotation.Widget;
import android.app.AlertDialog;
import android.content.BroadcastReceiver;
import android.content.ClipboardManager;
import android.content.ComponentCallbacks2;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
@@ -9404,4 +9405,8 @@ public class WebView extends AbsoluteLayout
    native boolean  nativeSetProperty(String key, String value);
    native String   nativeGetProperty(String key);
    private native void     nativeGetTextSelectionRegion(Region region);
    /**
     * See {@link ComponentCallbacks2} for the trim levels and descriptions
     */
    private static native void     nativeOnTrimMemory(int level);
}