summaryrefslogtreecommitdiff
path: root/libs/binder/Static.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2019-04-02 15:46:24 -0700
committer Steven Moreland <smoreland@google.com> 2019-04-02 15:49:40 -0700
commit92b17c6c6a4d7936c67cd508634ec2a384004f8a (patch)
treeafcf455f08d7b456a2de3b71167b849122af4cb8 /libs/binder/Static.cpp
parenta9ed1a6486545ffc5bffca561d6f8991e7d5a578 (diff)
libbinder: remove SM Static.cpp vars.
No need for global exported static state anymore. This also creates a new lock (gPermissionControllerLock) which controls access to gPermissionController since there wasn't a reason to have access to this and sm excluded (likely was out of convenience). Bug: 129785390 Test: TH Change-Id: I15bbe2f0ef4f73c555798cd7674edcc56e923575
Diffstat (limited to 'libs/binder/Static.cpp')
-rw-r--r--libs/binder/Static.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/libs/binder/Static.cpp b/libs/binder/Static.cpp
index bd0e6f9a11..8625c6f278 100644
--- a/libs/binder/Static.cpp
+++ b/libs/binder/Static.cpp
@@ -75,13 +75,4 @@ TextOutput& aerr(gStderrTextOutput);
Mutex& gProcessMutex = *new Mutex;
sp<ProcessState> gProcess;
-// ------------ IServiceManager.cpp
-
-Mutex gDefaultServiceManagerLock;
-sp<IServiceManager> gDefaultServiceManager;
-#ifndef __ANDROID_VNDK__
-sp<IPermissionController> gPermissionController;
-#endif
-bool gSystemBootCompleted = false;
-
} // namespace android