mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 17:18:49 +00:00
sm6375-common: dt2w: Convert value to String
This commit is contained in:
committed by
kamikaonashi
parent
9b7d5329de
commit
70cd32e04b
@@ -50,7 +50,7 @@ public class DT2WServiceSM6375 extends Service {
|
||||
|
||||
void update() {
|
||||
ContentResolver resolver = mContext.getContentResolver();
|
||||
int dt2wValue = Secure.getInt(resolver, Secure.DOUBLE_TAP_TO_WAKE, 0) ? 1 : 0;
|
||||
String dt2wValue = (Secure.getInt(resolver, Secure.DOUBLE_TAP_TO_WAKE, 0) == 1) ? "1" : "0";
|
||||
SystemProperties.set("persist.sys.sm6375.dt2w", dt2wValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user