summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-04-27 23:15:00 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-04-27 23:15:00 +0000
commite4c8eb1a4871cf1e5a522832936a8c96dfaacbba (patch)
treed2b8cd500f91e28f2836238dcaa81691895922b1
parentf478c3a6681282082a30e8e82b54a7b782a2b7c8 (diff)
parent186e21ff803b67723e9a82a1d320d4034df59be2 (diff)
downloadplatform_system_gsid-e4c8eb1a4871cf1e5a522832936a8c96dfaacbba.tar.gz
platform_system_gsid-e4c8eb1a4871cf1e5a522832936a8c96dfaacbba.tar.bz2
platform_system_gsid-e4c8eb1a4871cf1e5a522832936a8c96dfaacbba.zip
Snap for 5511022 from 186e21ff803b67723e9a82a1d320d4034df59be2 to qt-release
Change-Id: I312704bee3731aaa653ce0763862c7bb8f411ff1
-rw-r--r--gsi_service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsi_service.cpp b/gsi_service.cpp
index 03a93ab..3c278e7 100644
--- a/gsi_service.cpp
+++ b/gsi_service.cpp
@@ -310,7 +310,7 @@ binder::Status GsiService::getGsiBootStatus(int* _aidl_return) {
// disabled immediately upon reading the one_shot_boot file. However,
// we still want to return SINGLE_BOOT, because it makes the
// transition clearer to the user.
- if (IsGsiRunning() && single_boot) {
+ if (single_boot) {
*_aidl_return = BOOT_STATUS_SINGLE_BOOT;
} else {
*_aidl_return = BOOT_STATUS_DISABLED;