Revert "libbinder: ignore CallRestriction for magic 0 cmd"

This reverts commit 9f50ea66b4cd4ddf436fea574f768a7fab7963ea.

Reason for revert: b/168942807

Change-Id: I7ab5de17441f972bc3e6cfdba09e8b4901669f6d
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp
index 83ca687..a530565 100644
--- a/libs/binder/ProcessState.cpp
+++ b/libs/binder/ProcessState.cpp
@@ -282,17 +282,9 @@
                 // a driver API to get a handle to the context manager with
                 // proper reference counting.
 
-                IPCThreadState* ipc = IPCThreadState::self();
-
-                CallRestriction originalCallRestriction = ipc->getCallRestriction();
-                ipc->setCallRestriction(CallRestriction::NONE);
-
                 Parcel data;
-                status_t status = ipc->transact(
+                status_t status = IPCThreadState::self()->transact(
                         0, IBinder::PING_TRANSACTION, data, nullptr, 0);
-
-                ipc->setCallRestriction(originalCallRestriction);
-
                 if (status == DEAD_OBJECT)
                    return nullptr;
             }