Normalized flags into bit shifts (easier to read and guess next number)

This commit is contained in:
brunoais 2021-06-19 12:31:42 +01:00
commit 538320add9

View file

@ -34,9 +34,9 @@ public final class CleanUp {
} }
}; };
private static final int FLAG_DISABLE_SHOW_TOUCHES = 1; private static final int FLAG_DISABLE_SHOW_TOUCHES = 1 << 0;
private static final int FLAG_RESTORE_NORMAL_POWER_MODE = 2; private static final int FLAG_RESTORE_NORMAL_POWER_MODE = 1 << 1;
private static final int FLAG_POWER_OFF_SCREEN = 4; private static final int FLAG_POWER_OFF_SCREEN = 1 << 2;
private int displayId; private int displayId;