ICheckinService service =
ICheckinService.Stub.asInterface(ServiceManager.getService("checkin"));
RemoteCallback remoteCallback = new RemoteCallback(callback);
try {
service.getParentalControlState(remoteCallback, requestingApp);
} catch (RemoteException e) {
// This should never happen.
Log.e("ParentalControl", "Failed to talk to the checkin service.");
}