sm8150-common: DeviceSettings: FPSInfoService: Switch to isDreaming check
The isDozing check was dependend on this commit: https://review.aosip.dev/c/AOSIP/platform_frameworks_base/+/10485 The commit isn't needed on Android 10 (read comments) and switching to the regular AOSP check makes more sense and works the exact same. Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com> Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
This commit is contained in:
parent
1968e51a04
commit
0918c7cb71
|
@ -282,7 +282,7 @@ public class FPSInfoService extends Service {
|
|||
|
||||
private boolean isDozeMode() {
|
||||
try {
|
||||
if (mDreamManager != null && mDreamManager.isDozing()) {
|
||||
if (mDreamManager != null && mDreamManager.isDreaming()) {
|
||||
return true;
|
||||
}
|
||||
} catch (RemoteException e) {
|
||||
|
|
Loading…
Reference in New Issue