From 9312938842e2dc7a6f695c175cfe9f6838bb57dd Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Thu, 25 Jan 2018 15:42:02 -0800 Subject: [PATCH] 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 36be191dfdd220e24f166b96cbdd64cfa30b4eb5) --- core/java/android/os/HwBinder.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/core/java/android/os/HwBinder.java b/core/java/android/os/HwBinder.java index ecac002940ccc..389a79b5cbe64 100644 --- a/core/java/android/os/HwBinder.java +++ b/core/java/android/os/HwBinder.java @@ -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() {