PerformanceManagerService: Account for QCOM perf HAL 2.1/2.2
Change-Id: Icb57a6b3a5ff72222983eafd40a7bc9db45d60f8
diff --git a/lineage/lib/main/java/org/lineageos/platform/internal/PerformanceManagerService.java b/lineage/lib/main/java/org/lineageos/platform/internal/PerformanceManagerService.java
index 3c4a545..13d897a 100644
--- a/lineage/lib/main/java/org/lineageos/platform/internal/PerformanceManagerService.java
+++ b/lineage/lib/main/java/org/lineageos/platform/internal/PerformanceManagerService.java
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2014 The CyanogenMod Project
- * 2018-2020 The LineageOS Project
+ * 2018-2021 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.
@@ -136,6 +136,8 @@
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.perf-hal-2-1").equals("running") ||
+ SystemProperties.get("init.svc.perf-hal-2-2").equals("running") ||
SystemProperties.get("init.svc.mpdecision").equals("running")) {
break;
}