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

Commit 36be191d authored by Steven Moreland's avatar Steven Moreland
Browse files

HIDL: reportSyspropMethod -> enableInstrumentation

Renaming this method with a semantic meaning which
better explains its purpose without caring about
its implementation details.

Bug: 72480743
Test: hidl_test_java
Change-Id: I4b0577b3f61180ecfd66ae146973fa5cc2a3b244
parent f1b720c4
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -107,8 +107,19 @@ public abstract class HwBinder implements IHwBinder {

    private static native void native_report_sysprop_change();

    /**
     * Enable instrumentation if available.
     * @hide
     */
    public static void enableInstrumentation() {
        native_report_sysprop_change();
    }

    /**
     * Notifies listeners that a system property has changed
     *
     * TODO(b/72480743): remove this method
     *
     * @hide
     */
    public static void reportSyspropChanged() {