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/search_bg_focused.xml
Normal file
6
app/src/main/res/drawable/search_bg_focused.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||
<solid android:color="@color/search_background" />
|
||||
<corners android:radius="8dp" />
|
||||
<stroke android:width="2dp" android:color="@color/focus_border" />
|
||||
</shape>
|
||||
Reference in New Issue
Block a user