Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8dc8fdf7e8 | ||
|
|
f107da32c3 |
@@ -48,7 +48,10 @@ jobs:
|
||||
- name: Require the protected main branch
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "$GITHUB_REF" != "refs/heads/main" ]]; then
|
||||
# TEMPORARY: ab/hdr-keep-alive-probe is admitted exactly (no
|
||||
# wildcards) to build the #1874 HDR-oscillation A/B artifact. Drop
|
||||
# this arm together with the keepalive probe commit.
|
||||
if [[ "$GITHUB_REF" != "refs/heads/main" && "$GITHUB_REF" != "refs/heads/ab/hdr-keep-alive-probe" ]]; then
|
||||
echo "Release builds may only run from refs/heads/main." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -37,6 +37,11 @@ class _LinuxKeepAliveState extends State<LinuxKeepAlive> {
|
||||
void initState() {
|
||||
super.initState();
|
||||
if (!LinuxKeepAlive.ticksOnThisPlatform) return;
|
||||
// A/B probe for #1874: the 10 Hz repaint stream is a periodic compositor
|
||||
// perturbation that may drive the HDR colour oscillation on the native
|
||||
// plane (GNOME). Launch with PLEZY_AB_NO_KEEP_ALIVE=1 to run the inert
|
||||
// leg of that test with an otherwise unchanged build.
|
||||
if (Platform.environment['PLEZY_AB_NO_KEEP_ALIVE'] == '1') return;
|
||||
// Repaint every 100ms to keep Flutter's frame scheduler active.
|
||||
_timer = Timer.periodic(const Duration(milliseconds: 100), (_) {
|
||||
if (mounted) {
|
||||
|
||||
Reference in New Issue
Block a user