summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/java/android/os/HwBinder.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/java/android/os/HwBinder.java b/core/java/android/os/HwBinder.java
index ecac002940cc..389a79b5cbe6 100644
--- a/core/java/android/os/HwBinder.java
+++ b/core/java/android/os/HwBinder.java
@@ -108,7 +108,18 @@ 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() {