summaryrefslogtreecommitdiff
path: root/cmds/cmd/cmd.cpp
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2015-10-14 15:13:02 -0700
committer Dianne Hackborn <hackbod@google.com> 2015-10-14 15:13:02 -0700
commitf2bf93bb080b07159ec1395c1ea8edcf5e00e829 (patch)
treedbe102dee6ac7e4b031239e00c03c2857a3783b1 /cmds/cmd/cmd.cpp
parentd9ecfe45c03b880ad37e4b22c1b625f15e4c59ff (diff)
Temporary hack to get rid of new virtuals.
Seems like it breaks some prebuilt binaries. Change-Id: Ia5e35beb4538364b2ab3618fbf21b2e9c9ee2363
Diffstat (limited to 'cmds/cmd/cmd.cpp')
-rw-r--r--cmds/cmd/cmd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/cmd/cmd.cpp b/cmds/cmd/cmd.cpp
index 01d0a471f0..ed740d339f 100644
--- a/cmds/cmd/cmd.cpp
+++ b/cmds/cmd/cmd.cpp
@@ -90,6 +90,7 @@ int main(int argc, char* const argv[])
}
// TODO: block until a result is returned to MyResultReceiver.
- service->shellCommand(STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO, args, new MyResultReceiver());
+ IBinder::shellCommand(service, STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO, args,
+ new MyResultReceiver());
return 0;
}