mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Restore divider between app predictions and apps
Screenshot: https://screenshot.googleplex.com/89jJLU3JXV8tRXM Bug: 180017741 Test: Manual Change-Id: Iab1764fe94340f120770054cf5a59bd3ed9e45a4
This commit is contained in:
@@ -108,7 +108,8 @@ public class PredictionRowView extends LinearLayout implements
|
||||
|
||||
AllAppsSectionDecorator.SectionDecorationHandler mDecorationHandler;
|
||||
|
||||
@Nullable private List<ItemInfo> mPendingPredictedItems;
|
||||
@Nullable
|
||||
private List<ItemInfo> mPendingPredictedItems;
|
||||
|
||||
public PredictionRowView(@NonNull Context context) {
|
||||
this(context, null);
|
||||
@@ -181,7 +182,7 @@ public class PredictionRowView extends LinearLayout implements
|
||||
|
||||
@Override
|
||||
public boolean shouldDraw() {
|
||||
return getVisibility() == VISIBLE;
|
||||
return getVisibility() != GONE;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -189,6 +190,11 @@ public class PredictionRowView extends LinearLayout implements
|
||||
return mPredictionsEnabled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isVisible() {
|
||||
return getVisibility() == VISIBLE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the predicted apps.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user