Skip to content

Improve kiosk capacity, fullscreen playback, idle return and web performance - #9

Merged
mrinc merged 11 commits into
masterfrom
fix/android-display-behavior
Sep 14, 2026
Merged

mrinc merged 11 commits into
masterfrom
fix/android-display-behavior

Conversation

@bcbetterninja

@bcbetterninja bcbetterninja commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Android previously limited mixed layouts to two cameras and one web page, reserved a toolbar above signage, and never returned expanded cameras on idle. This change permits 32 cameras and 32 web/HTML views within the existing 64-cell limit, lets content fill its tile and accept input immediately, and restores expanded views using the configured idle timeout even while network requests are blocked.

  • Move web actions/reload into the kiosk menu and use a black spinner-only camera connection/retry screen.
  • Renew inactivity from touch, remote/mouse input and native keyboard editing, including input inside dialogs. Idle dismisses open menus and Settings; a shared activity revision protects fresh input at the timeout boundary. Honor layout timeout overrides, disabled idle and sticky layouts. Rejected remote layout commands do not renew inactivity.
  • Identify web picker entries by their current row and column, including after geometry changes, and keep the native menu key accessible while web content has focus. Close content menus before their tile or layout choices change, while preserving Settings during content updates.
  • Show the BF logo on black for empty displays/layouts across Android, Linux/Raspberry Pi and Windows, with assignment or add-content guidance.
  • Reuse browsers/decoders when only tile geometry changes; reuse WebViews for ordinary retries and reloads, cancel stale retries after recovery, and bound reload history. Hardware acceleration remains enabled without forced full-tile GPU textures.
  • Protect simultaneous web views from conflicting assigned storage settings on the same origin; affected tiles can be opened individually. Conflict filtering happens before the 32-view allocation so later compatible pages fill available slots; eligibility changes are applied before resource reconciliation.

Validation on 99c54fa: all 41 Android emulator tests pass, including fullscreen/default interaction, idle dialogs and input races, stale menu invalidation, web capacity, browser reuse/recovery and rejected layout commands. Both Android ABIs, unit tests and lint pass. Installed signed-upgrade checks preserve app data/keys and reject a foreign signer. All Linux, Windows, server, ioBOX and deployment checks pass; local shared-core/Android bridge tests pass (30 + 3).

Android validation · Platform validation

Sleep/wake: documents both ordinary APK and managed kiosk deployment paths and the current limitations. This PR does not add BF remote power commands, hardware sleep scheduling, device-owner provisioning or an in-app standby mode.

@coderabbitai

coderabbitai Bot commented Sep 13, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: ea4f4546-66b4-42b2-b7a0-e734e226975d


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f4cfb21472

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread client/android/app/src/main/java/cloud/betterportal/frame/ViewerSession.kt Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1c19117447

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread client/android/app/src/main/java/cloud/betterportal/frame/MainActivity.kt Outdated
@bcbetterninja bcbetterninja changed the title Improve kiosk capacity, fullscreen content and idle return Improve kiosk capacity, fullscreen playback, idle return and web performance Sep 13, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f10606f5dd

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread client/android/app/src/main/java/cloud/betterportal/frame/ViewerSession.kt Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 00c267d567

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread client/android/app/src/main/java/cloud/betterportal/frame/MainActivity.kt Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 679a1f9238

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ed00f096b7

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread client/android/app/src/main/java/cloud/betterportal/frame/ViewerSession.kt Outdated
@mrinc
mrinc merged commit 8462629 into master Sep 14, 2026
10 checks passed
@mrinc
mrinc deleted the fix/android-display-behavior branch September 14, 2026 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants