summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2018-01-25 15:42:02 -0800
committer Steven Moreland <smoreland@google.com> 2018-01-25 15:42:02 -0800
commit36be191dfdd220e24f166b96cbdd64cfa30b4eb5 (patch)
treee2d8d478b2e8773a55320b3641b47831f34f850b
parentf1b720c4886b5ea6b6656f9f373ca1ab766585fd (diff)
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
-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() {