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

Commit e76cf341 authored by Shai Barack's avatar Shai Barack
Browse files

Update ComponentCallbacks.onLowMemory documentation to clarify instructions...

Update ComponentCallbacks.onLowMemory documentation to clarify instructions for when and how to implement.

This is in response to API Council feedback.

Bug: 346730719
Change-Id: Ia73ed61ead331607a45af19fb1358e4933580963
parent 0621ce9c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -58,7 +58,9 @@ public interface ComponentCallbacks {
     * @deprecated Since API level 14 this is superseded by
     *             {@link ComponentCallbacks2#onTrimMemory}.
     *             Since API level 34 this is never called.
     *             Apps targeting API level 34 and above may provide an empty implementation.
     *             If you're overriding ComponentCallbacks2#onTrimMemory and
     *             your minSdkVersion is greater than API 14, you can provide
     *             an empty implementation for this method.
     */
    @Deprecated
    void onLowMemory();