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

Commit 4955d6c1 authored by Steve Paik's avatar Steve Paik
Browse files

Rename set_wakeup_callback

Part of refactoring libsuspend.  Renamed set_wakeup_callback
to be consistent with rest of autosuspend_* interfaces.

Bug: 70669809
Test:  Compiles
Change-Id: I15fc8757b2343447ed79d1dd1af162afd5401007
parent 11ec2eb1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ static jint nativeWaitWakeup(JNIEnv *env, jobject clazz, jobject outBuf)
            return -1;
        }
        ALOGV("Registering callback...");
        set_wakeup_callback(&wakeup_callback);
        autosuspend_set_wakeup_callback(&wakeup_callback);
    }

    // Wait for wakeup.