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
Merged-In: I4b0577b3f61180ecfd66ae146973fa5cc2a3b244
(cherry picked from commit 36be191dfd)
This commit is contained in:
Steven Moreland
2018-01-25 15:42:02 -08:00
committed by Colin Cross
parent 4dde8a113b
commit 9312938842

View File

@@ -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() {