fix: resolve emulator crash - thread safety and icon fallback
- NativeSearch: move onResult/onError callbacks outside withContext(Dispatchers.IO) to prevent CalledFromWrongThreadException - SearchStrategy: change callback types to suspend to enable proper coroutine chaining - SearchCoordinator: remove leaked CoroutineScope, rely on suspend callback chaining for fallback flow - Resources: add mipmap-hdpi/mdpi/xhdpi/xxhdpi icon fallbacks for API < 26 devices
This commit is contained in:
6
app/src/main/res/drawable/card_focus_border.xml
Normal file
6
app/src/main/res/drawable/card_focus_border.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_focused="true" android:drawable="@color/focus_border" />
|
||||
<item android:state_selected="true" android:drawable="@color/focus_border" />
|
||||
<item android:drawable="@android:color/transparent" />
|
||||
</selector>
|
||||
Reference in New Issue
Block a user