* Introduce Lawnchair Device Search Initial Implementation device search in Lawnchair: Enables search functionality across Files, Contacts, and Suggestions on the Startpage. * Apply reviewed suggestions by @Gooler - Use retrofit for fetching suggestions * use kotlinxJson * Separate suggestion * Apply changes code refine @Goooler * Fix styling * Implement MIME Type Compat * Apply suggestion changes by @suphon-t * Apply suggestion changes by @SuperDragonXD * Cleanup * Remodel FileInfo * Private retrofit * Clean up SearchRequest * Add FileExtensions * Optimize file search method * Fix style * Rename * Optimize file opening * Add type checkers * Reformat AVDs * Fixed crash java.lang.ClassCastException error logs : https://katb.in/abahivihaqu * More fixes * Surround try catch to give proper error logs java.lang.NullPointerException at app.lawnchair.search.data.SearchRequestKt$findContactsByName$2.invokeSuspend(SearchRequest.kt:124) at app.lawnchair.search.data.SearchRequestKt$findContactsByName$2.invoke(Unknown Source:8) at app.lawnchair.search.data.SearchRequestKt$findContactsByName$2.invoke(Unknown Source:4) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1) at app.lawnchair.search.data.SearchRequestKt.findContactsByName(SearchRequest.kt:68) at app.lawnchair.search.LawnchairSearchAlgorithm$performDeviceWideSearch$2.invokeSuspend(LawnchairSearchAlgorithm.kt:152) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) * Fixed opened file instead of just redirect to file manager * Fixed crash opening folder * Initial implementation callback * Add max results option for files, suggestion and people * Add initial settings entry * Properly use folder mimetype * Fixed target icon styling * Cleanups * Revert * Fixes * Apply suggestions by @Goooler * Fixed crash on external storage directory * Implement history keyword using built-in SearchRecentSuggestionsProvider * misc fixes * Add timeout 3 seconds - As we don't how long gonna take to receive response in startpage * Misc fixes * Misc fixes --------- Co-authored-by: Goooler <wangzongler@gmail.com>
16 lines
1.3 KiB
XML
16 lines
1.3 KiB
XML
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:width="24dp"
|
|
android:height="24dp"
|
|
android:autoMirrored="true"
|
|
android:tint="?android:attr/textColorPrimary"
|
|
android:viewportWidth="24"
|
|
android:viewportHeight="24">
|
|
<path
|
|
android:fillColor="#00000000"
|
|
android:pathData="M9,3V5.4C9,5.96 9,6.24 9.109,6.454C9.205,6.642 9.358,6.795 9.546,6.891C9.76,7 10.04,7 10.6,7H12.4C12.96,7 13.24,7 13.454,6.891C13.642,6.795 13.795,6.642 13.891,6.454C14,6.24 14,5.96 14,5.4V3.004M19,9.123V17.8C19,18.92 19,19.48 18.782,19.908C18.59,20.284 18.284,20.59 17.908,20.782C17.48,21 16.92,21 15.8,21H8.2C7.08,21 6.52,21 6.092,20.782C5.716,20.59 5.41,20.284 5.218,19.908C5,19.48 5,18.92 5,17.8V6.2C5,5.08 5,4.52 5.218,4.092C5.41,3.716 5.716,3.41 6.092,3.218C6.52,3 7.08,3 8.2,3H13.462C14.027,3 14.309,3 14.57,3.072C14.801,3.135 15.019,3.24 15.213,3.381C15.432,3.539 15.608,3.76 15.961,4.201L18.299,7.123C18.559,7.448 18.689,7.611 18.781,7.792C18.863,7.952 18.923,8.123 18.959,8.299C19,8.498 19,8.706 19,9.123ZM14,15.5C14,16.881 12.881,18 11.5,18C10.119,18 9,16.881 9,15.5C9,14.119 10.119,13 11.5,13C12.881,13 14,14.119 14,15.5Z"
|
|
android:strokeWidth="2"
|
|
android:strokeColor="#000000"
|
|
android:strokeLineCap="round"
|
|
android:strokeLineJoin="round" />
|
|
</vector>
|