summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Martijn Coenen <maco@google.com> 2016-12-30 13:01:14 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-12-30 13:01:18 +0000
commit917aa3e61e356d6728310718fcf4f81ccf85d03e (patch)
tree9e922ea1206b721f8d74b6776909f43a125b6330
parent82a42d5465a69bf2524bd8934b34a341a2ac6c99 (diff)
parent37455587e9fcc7521a0cd027291e92dbebdb4455 (diff)
Merge "Remove obsolete calls to IPCThreadState/ProcessState."
-rw-r--r--services/core/jni/com_android_server_location_GnssLocationProvider.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/services/core/jni/com_android_server_location_GnssLocationProvider.cpp b/services/core/jni/com_android_server_location_GnssLocationProvider.cpp
index 7db6d42132af..b7032dbb0ab0 100644
--- a/services/core/jni/com_android_server_location_GnssLocationProvider.cpp
+++ b/services/core/jni/com_android_server_location_GnssLocationProvider.cpp
@@ -20,9 +20,6 @@
#include <android/hardware/gnss/1.0/IGnss.h>
-#include <hwbinder/IPCThreadState.h>
-#include <hwbinder/ProcessState.h>
-
#include "JNIHelp.h"
#include "jni.h"
#include "hardware_legacy/power.h"
@@ -67,8 +64,6 @@ using android::sp;
using android::status_t;
using android::String16;
-using android::hardware::IPCThreadState;
-using android::hardware::ProcessState;
using android::hardware::Return;
using android::hardware::Void;
using android::hardware::hidl_vec;
@@ -965,8 +960,6 @@ static void android_location_GnssLocationProvider_class_init_native(JNIEnv* env,
} else {
ALOGE("Unable to get GPS service\n");
}
- ProcessState::self()->setThreadPoolMaxThreadCount(0);
- ProcessState::self()->startThreadPool();
}
static jboolean android_location_GnssLocationProvider_is_supported(