summaryrefslogtreecommitdiff
path: root/libs/binder/IShellCallback.cpp
diff options
context:
space:
mode:
author Yi Kong <yikong@google.com> 2018-06-08 12:44:44 -0700
committer android-build-merger <android-build-merger@google.com> 2018-06-08 12:44:44 -0700
commitaabd6b7fa343654cd85b3b2da392e424d037d15a (patch)
treecbc9fea00e9b67d631bde2bbb70de5b151dfcadc /libs/binder/IShellCallback.cpp
parent83af600986a41b38213e798bba8ea89ad0523096 (diff)
parenta800be8391e6c91501f6bedd48af1abdc63ede0d (diff)
Merge "[binder] Replace NULL/0 with nullptr"
am: a800be8391 Change-Id: I7e118d3def0f9643a79fa9003a89234340d941ea
Diffstat (limited to 'libs/binder/IShellCallback.cpp')
-rw-r--r--libs/binder/IShellCallback.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/IShellCallback.cpp b/libs/binder/IShellCallback.cpp
index c793df3266..4568a426cd 100644
--- a/libs/binder/IShellCallback.cpp
+++ b/libs/binder/IShellCallback.cpp
@@ -65,7 +65,7 @@ status_t BnShellCallback::onTransact(
String16 path(data.readString16());
String16 seLinuxContext(data.readString16());
int fd = openOutputFile(path, seLinuxContext);
- if (reply != NULL) {
+ if (reply != nullptr) {
reply->writeNoException();
if (fd >= 0) {
reply->writeInt32(1);