4a2f70507b
* And specialize it for xiaomi kona devices Co-authored-by: dataoutputstream <mb150996@gmail.com> Change-Id: I440e6d246884fd22044756c6260b3583a1e58a7b
19 lines
332 B
C++
19 lines
332 B
C++
/*
|
|
* Copyright (C) 2021 The LineageOS Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <compositionengine/FodExtension.h>
|
|
|
|
uint32_t getFodZOrder(uint32_t z, bool touched) {
|
|
if (touched) {
|
|
z |= 0x9000000;
|
|
}
|
|
return z;
|
|
}
|
|
|
|
uint64_t getFodUsageBits(uint64_t usageBits, bool) {
|
|
return usageBits;
|
|
}
|