mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-15 02:00:22 +00:00
ipc/android: Remove unnecessary toString for log
Signed-off-by: utzcoz <utzcoz@outlook.com>
This commit is contained in:
parent
d30b015b39
commit
629c4b67f1
|
@ -151,7 +151,7 @@ public class Client implements ServiceConnection {
|
|||
try {
|
||||
binderSync.wait();
|
||||
} catch (InterruptedException e) {
|
||||
Log.e(TAG, "Interrupted: " + e.toString());
|
||||
Log.e(TAG, "Interrupted: " + e);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
@ -214,12 +214,12 @@ public class Client implements ServiceConnection {
|
|||
monado.connect(theirs);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
Log.e(TAG, "could not create socket pair: " + e.toString());
|
||||
Log.e(TAG, "could not create socket pair: " + e);
|
||||
handleFailure();
|
||||
return -1;
|
||||
} catch (RemoteException e) {
|
||||
e.printStackTrace();
|
||||
Log.e(TAG, "could not connect to service: " + e.toString());
|
||||
Log.e(TAG, "could not connect to service: " + e);
|
||||
handleFailure();
|
||||
return -1;
|
||||
}
|
||||
|
@ -264,7 +264,7 @@ public class Client implements ServiceConnection {
|
|||
|
||||
if (!bindService(context, intent)) {
|
||||
Log.e(TAG,
|
||||
"bindService: Service " + intent.toString() + " could not be found to bind!");
|
||||
"bindService: Service " + intent + " could not be found to bind!");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue