Loading packages/SettingsLib/aconfig/settingslib.aconfig +11 −1 Original line number Diff line number Diff line Loading @@ -109,3 +109,13 @@ flag { description: "Settings catalyst project migration" bug: "323791114" } flag { name: "asha_profile_access_profile_enabled_true" namespace: "accessibility" description: "Changes the return value of HearingAidProfile.accessProfileEnabled() to true" bug: "356530795" metadata { purpose: PURPOSE_BUGFIX } } packages/SettingsLib/src/com/android/settingslib/bluetooth/HearingAidProfile.java +2 −1 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ import androidx.annotation.NonNull; import com.android.settingslib.R; import com.android.settingslib.Utils; import com.android.settingslib.flags.Flags; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; Loading Loading @@ -141,7 +142,7 @@ public class HearingAidProfile implements LocalBluetoothProfile { } public boolean accessProfileEnabled() { return false; return Flags.ashaProfileAccessProfileEnabledTrue(); } public boolean isAutoConnectable() { Loading Loading
packages/SettingsLib/aconfig/settingslib.aconfig +11 −1 Original line number Diff line number Diff line Loading @@ -109,3 +109,13 @@ flag { description: "Settings catalyst project migration" bug: "323791114" } flag { name: "asha_profile_access_profile_enabled_true" namespace: "accessibility" description: "Changes the return value of HearingAidProfile.accessProfileEnabled() to true" bug: "356530795" metadata { purpose: PURPOSE_BUGFIX } }
packages/SettingsLib/src/com/android/settingslib/bluetooth/HearingAidProfile.java +2 −1 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ import androidx.annotation.NonNull; import com.android.settingslib.R; import com.android.settingslib.Utils; import com.android.settingslib.flags.Flags; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; Loading Loading @@ -141,7 +142,7 @@ public class HearingAidProfile implements LocalBluetoothProfile { } public boolean accessProfileEnabled() { return false; return Flags.ashaProfileAccessProfileEnabledTrue(); } public boolean isAutoConnectable() { Loading