summaryrefslogtreecommitdiff
path: root/core/jni/AndroidRuntime.cpp
diff options
context:
space:
mode:
authorTej Singh <singhtejinder@google.com>2020-01-29 19:07:38 -0800
committerTej Singh <singhtejinder@google.com>2020-01-30 13:52:42 -0800
commita2b78e4d6b6df1950de9995798027a7e79b64773 (patch)
tree804d923659c46afe183f4906420af0b6644cbb56 /core/jni/AndroidRuntime.cpp
parentc2411e978c702d0422fc0f28dbf1835e5506807a (diff)
Create libstats_jni
This cl creates libstats_jni, puts the android_util_StatsLog class in it to implement the jni StatsLog.writeImpl() call, and puts the library in the statsd apex. Right now, it does NOT load the library properly and therefore the library is still in the platform. It needs to be removed from the platform. Test: boots Test: adb shell cmd stats print-logs shows logs still flow Bug: 147315667 Change-Id: I0a06b66d4640d00ee75bc273423b33dafc944b05
Diffstat (limited to 'core/jni/AndroidRuntime.cpp')
-rw-r--r--core/jni/AndroidRuntime.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp
index 9783b655e057..790ac080e705 100644
--- a/core/jni/AndroidRuntime.cpp
+++ b/core/jni/AndroidRuntime.cpp
@@ -108,7 +108,6 @@ namespace android {
extern int register_android_app_admin_SecurityLog(JNIEnv* env);
extern int register_android_content_AssetManager(JNIEnv* env);
extern int register_android_util_EventLog(JNIEnv* env);
-extern int register_android_util_StatsLog(JNIEnv* env);
extern int register_android_util_StatsLogInternal(JNIEnv* env);
extern int register_android_util_Log(JNIEnv* env);
extern int register_android_util_MemoryIntArray(JNIEnv* env);
@@ -1441,7 +1440,6 @@ static const RegJNIRec gRegJNI[] = {
REG_JNI(register_android_util_EventLog),
REG_JNI(register_android_util_Log),
REG_JNI(register_android_util_MemoryIntArray),
- REG_JNI(register_android_util_StatsLog),
REG_JNI(register_android_util_StatsLogInternal),
REG_JNI(register_android_app_admin_SecurityLog),
REG_JNI(register_android_content_AssetManager),