For LE audio lead device, the `CachedBluetoothDevice.isConnected()` will return true since `BluetoothLeAudio.getConnectionStatus(device)` will return STATE_CONNECTED even if the device is powered off. Changing to use `CachedBluetoothDevice.getDevice().isConnected()` can avoid the wrong value of the connection status of the device.
Bug: 325524694
Flag: EXEMPT bugfix
Test: atest AccessibilityHearingAidPreferenceControllerTest
Change-Id: If763c0861bb5796d9bc0511916b7077c784b49f5
Creates new layout for setting the start & end time, and days of the week, for a schedule-based mode.
This is close to the mocks specified in https://screenshot.googleplex.com/8zmb7PAjjt73VkN, but with the following differences:
- the end time is left-aligned with the center rather than on the right side of the screen. This is a side effect of using LinearLayout to evenly space start & end times, and could in theory be fixed by using a ConstraintLayout, but that option seems to cause times to overlap instead of wrap when display size is cranked up. Could be fixed later.
- no icons yet on either side of the time display
- no Done button. Instead, has the "exit at alarm" switch that exists today.
Have not yet checked how this interacts with TalkBack, etc.
Flag: android.app.modes_ui
Bug: 332730302
Test: ZenModeSetSchedulePreferenceControllerTest, ZenModeExitAtAlarmPreferenceControllerTest, ZenModeSetTriggerLinkPreferenceControllerTest
Test: manual: interacting with UI in normal size, with font & display at minimum and maximum, and in locales (fr) where the first day of the week is a different day
Change-Id: I0b76f55891d6c12fc27720657c9eea6fe42fbafe
This reverts commit c163eb07ce.
Reason for revert: we did a 180 on MCP deprecation, see b/345628418
Change-Id: I2bd2dd7b8fa5275fa81f75d47919ac70d721cd72
This reverts commit 5fd6d6435b.
Reason for revert: As per b/343166689#comment4 this change as this is not needed based on the feedback from leads review.
Change-Id: Iad31aafbce5f3f9fc37fdd8fb4d5582cfae9d8b7
Add ConnectivityRepository, when no validated connection,
show "Airplane mode is on" or "Networks available".
Bug: 339884322
Flag: com.android.settings.flags.internet_preference_controller_v2
Test: manual - on Internet
Test: unit test
Change-Id: I227d896fd52c099fb6d58a7ab60e98983fdab8cf
adapter can be null in some SPs which disable bluetooth feature
from framework, so it will lead to NPE force close in these SPs.
Add null check for adapter.
Bug: 345584461
Change-Id: I3fabe94a97cc9baf7b1739fe1c9160a52b50d7d4
Refactor the InternetPreferenceController, migrate to repository and
flow, run data loading on background thread.
Only add Wifi summary for now.
Bug: 339884322
Flag: com.android.settings.flags.internet_preference_controller_v2
Test: manual - on Internet
Test: unit test
Change-Id: Ibd8911bc11b24d4a7e2ef320dea4d38b9c3a864f
This suggested change is automatically generated based on group
memberships and affiliations.
If this change is unnecessary or in error, vote CR -1 and the bot
will abandon it. Vote CR +1/2 to approve this change.
See the owner's recent activity for context:
https://android-review.googlesource.com/q/beccahughes@google.com
To report an issue, file a bug in the Infra>Codereview component.
Change-Id: I8563f73848a4e32ff3da4b1eaf34253374d9012c
With this change the temp GAIA education screen is removed from private
space setup code and adds a new loading screen with "Just a sec" title
in the activity while the gms intent in launched to fix blank screen issue.
Screenrecording link:
b/336822960#comment7
Bug: 336822960
Test: Manual
Change-Id: I9ee41835b39c194fefb970321b7a9d5a30f87306
- Disable "Save" button if no input or only space chars.
fix: 335763360
Test: Manual test
Test: atest pass
Change-Id: Ied5f98ec0ce7d1f38f626211cb9f465781781cd8
Due to concurrent, mSubscriptionInfoEntity could become null when
inference.
Save the subscriptionInfoEntity to local variable to fix.
Fix: 345319514
Test: manual on MobileNetworkSettings
Change-Id: I9d286b30ade65dabdfd4a394cdbe1c1c87435d02