Skip to content

Enhance cast sheet connectivity info 15220278969080433240#473

Merged
theovilardo merged 4 commits intobckp/cast-currentlyfrom
enhance-cast-sheet-connectivity-info-15220278969080433240
Dec 9, 2025
Merged

Enhance cast sheet connectivity info 15220278969080433240#473
theovilardo merged 4 commits intobckp/cast-currentlyfrom
enhance-cast-sheet-connectivity-info-15220278969080433240

Conversation

@theovilardo
Copy link
Copy Markdown
Owner

No description provided.

google-labs-jules bot and others added 4 commits December 8, 2025 22:30
…atus

*   Consolidated the "Active Device" card subtitles into a single text line to avoid redundancy.
*   Redesigned Wi-Fi and Bluetooth indicators as large "Quick Settings" style pills and moved them to the top of the sheet.
*   Updated the "Turn on Wi-Fi" button to launch system Wi-Fi settings via `Settings.ACTION_WIFI_SETTINGS`.
*   Cleaned up unused `ServiceDot` component and previous indicator implementation.
- Added `ACCESS_FINE_LOCATION` and `ACCESS_COARSE_LOCATION` to `AndroidManifest.xml` to enable fetching the connected Wi-Fi SSID on Android 8.1+.
- Updated `PlayerViewModel` to expose `wifiName` and `bluetoothName` StateFlows.
  - Implemented `ConnectivityManager.NetworkCallback` logic to attempt to retrieve SSID (gracefully handling redaction if permissions are missing).
  - Implemented `AudioManager.AudioDeviceCallback` to detect and display the name of connected Bluetooth audio devices (A2DP, SCO, BLE).
- Updated `CastBottomSheet` UI:
  - `QuickSettingTile` now accepts a `subtitle` to display the connected network/device name or "On"/"Off".
  - Added click handlers to the Wi-Fi and Bluetooth tiles to open their respective system settings via Intents.
  - Updated layout to accommodate the new information.
- Added `ACCESS_FINE_LOCATION` and `ACCESS_COARSE_LOCATION` to `AndroidManifest.xml` to enable fetching the connected Wi-Fi SSID on Android 8.1+.
- Updated `PlayerViewModel` to expose `wifiName` and `bluetoothName` StateFlows.
  - Implemented `ConnectivityManager.NetworkCallback` logic to attempt to retrieve SSID (gracefully handling redaction if permissions are missing).
  - Implemented `AudioManager.AudioDeviceCallback` to detect and display the name of connected Bluetooth audio devices (A2DP, SCO, BLE).
- Updated `CastBottomSheet` UI:
  - `QuickSettingTile` now accepts a `subtitle` to display the connected network/device name or "On"/"Off".
  - Added click handlers to the Wi-Fi and Bluetooth tiles to open their respective system settings via Intents.
  - Updated layout to accommodate the new information.
This commit refactors and visually enhances the Cast bottom sheet and related player components.

Key changes include:
- Refined the visual design and layout of the "Connect device" card.
- Updated color schemes and shapes for better consistency.
- Removed the "Connecting..." text from the full player header.
- Cleaned up and removed obsolete commented-out code.
@theovilardo theovilardo merged commit 055ef40 into bckp/cast-currently Dec 9, 2025
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@lostf1sh lostf1sh deleted the enhance-cast-sheet-connectivity-info-15220278969080433240 branch January 16, 2026 20:39
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.

1 participant