PerformanceManagerService: Account for QCOM perf HAL 2.0
* This also allows waiting for MPCTL to start on boot if devices are using the newest perf HAL. Change-Id: I3855198d7bcf01472595616e820d47bcec01d8d4
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2014 The CyanogenMod Project
|
||||
* 2018-2019 The LineageOS Project
|
||||
* 2018-2020 The LineageOS Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -135,6 +135,7 @@ public class PerformanceManagerService extends LineageSystemService {
|
||||
if (SystemProperties.get("init.svc.perfd").equals("running") ||
|
||||
SystemProperties.get("init.svc.vendor.perfd").equals("running") ||
|
||||
SystemProperties.get("init.svc.perf-hal-1-0").equals("running") ||
|
||||
SystemProperties.get("init.svc.perf-hal-2-0").equals("running") ||
|
||||
SystemProperties.get("init.svc.mpdecision").equals("running")) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user