mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Resolve auto close on widget swipe
Bug: 172891360 Test: Manual Change-Id: Icb384b6dc5ec9a29b6a9a7811b862a2d83ca11a7 (cherry picked from commit 5fa6f3ce503cde51687985ebc9dee6f163b9b1ea)
This commit is contained in:
@@ -132,7 +132,7 @@ public class AlphabeticalAppsList implements AllAppsStore.OnUpdateListener {
|
||||
* Returns the child adapter item with IME launch focus.
|
||||
*/
|
||||
public AdapterItem getFocusedChild() {
|
||||
if (mAdapterItems.size() == 0 || getFocusedChildIndex() != -1) {
|
||||
if (mAdapterItems.size() == 0 || getFocusedChildIndex() == -1) {
|
||||
return null;
|
||||
}
|
||||
return mAdapterItems.get(getFocusedChildIndex());
|
||||
|
||||
Reference in New Issue
Block a user