mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-09-08 02:22:16 +00:00
23 lines
871 B
Diff
23 lines
871 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Micay <danielmicay@gmail.com>
|
|
Date: Sun, 31 Mar 2019 00:10:48 -0400
|
|
Subject: [PATCH] constify JNINativeMethod table
|
|
|
|
---
|
|
service/jni/com_android_server_wifi_WifiNative.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/service/jni/com_android_server_wifi_WifiNative.cpp b/service/jni/com_android_server_wifi_WifiNative.cpp
|
|
index 262357ac6..90fd2d2cf 100644
|
|
--- a/service/jni/com_android_server_wifi_WifiNative.cpp
|
|
+++ b/service/jni/com_android_server_wifi_WifiNative.cpp
|
|
@@ -76,7 +76,7 @@ static jbyteArray android_net_wifi_readKernelLogNative(JNIEnv *env, jclass cls)
|
|
/*
|
|
* JNI registration.
|
|
*/
|
|
-static JNINativeMethod gWifiMethods[] = {
|
|
+static const JNINativeMethod gWifiMethods[] = {
|
|
NATIVE_METHOD(android_net_wifi, readKernelLogNative, "()[B"),
|
|
};
|
|
|