Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit b9c36b6

Browse files
committed
Move android binaries to vendor partition
Move android binaries to vendor partition Signed-off-by: Yadong Qi <[email protected]>
1 parent 99e8dc9 commit b9c36b6

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

src/android/applauncher/Android.bp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ cc_binary {
5353
"civ_applauncher.cc"
5454
],
5555

56+
vendor: true,
57+
5658
include_dirs: INCLUDE_DIR,
5759

5860
cflags: CFLAGS,

src/android/applauncher/civ_applauncher.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CivAppLauncherImpl final : public vm_manager::CivAppLauncher::Service {
3131

3232
grpc::Status LaunchApp(grpc::ServerContext* ctx, const vm_manager::AppLaunchRequest* request, vm_manager::AppLaunchResponse* respond) override {
3333
ALOG("Launch APP: %s, Disp id: %u\n", request->app_name().c_str(), request->disp_id());
34-
std::string cmd("/system/bin/am start -n " + request->app_name() + " --display " + std::to_string(request->disp_id()));
34+
std::string cmd("/system/bin/cmd activity start -n " + request->app_name() + " --display " + std::to_string(request->disp_id()));
3535
if (system(cmd.c_str())) {
3636
respond->set_code(-1);
3737
respond->set_status(vm_manager::AppStatus::FAILED);

src/android/powerctl/Android.bp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ cc_binary {
5353
"civ_powerctl.cc"
5454
],
5555

56+
vendor: true,
57+
5658
include_dirs: INCLUDE_DIR,
5759

5860
cflags: CFLAGS,

src/android/startup_notify/Android.bp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ cc_binary {
5353
"civ_startup_notify.cc"
5454
],
5555

56+
vendor: true,
57+
5658
include_dirs: INCLUDE_DIR,
5759

5860
cflags: CFLAGS,

0 commit comments

Comments
 (0)