diff options
Diffstat (limited to 'apex/statsd')
| -rw-r--r-- | apex/statsd/Android.bp | 2 | ||||
| -rw-r--r-- | apex/statsd/framework/java/android/util/StatsLog.java | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/apex/statsd/Android.bp b/apex/statsd/Android.bp index 1f9f18cd051a..c8aa526254b8 100644 --- a/apex/statsd/Android.bp +++ b/apex/statsd/Android.bp @@ -71,7 +71,5 @@ cc_library_shared { apex_available: [ "com.android.os.statsd", "test_com.android.os.statsd", - //TODO (b/148620413): remove platform. - "//apex_available:platform", ], }
\ No newline at end of file diff --git a/apex/statsd/framework/java/android/util/StatsLog.java b/apex/statsd/framework/java/android/util/StatsLog.java index 511bc01f521e..536b71a0e625 100644 --- a/apex/statsd/framework/java/android/util/StatsLog.java +++ b/apex/statsd/framework/java/android/util/StatsLog.java @@ -36,6 +36,11 @@ import com.android.internal.util.StatsdStatsLog; * define custom metrics inside statsd. */ public final class StatsLog { + + // Load JNI library + static { + System.loadLibrary("stats_jni"); + } private static final String TAG = "StatsLog"; private static final boolean DEBUG = false; private static final int EXPERIMENT_IDS_FIELD_ID = 1; |