mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Enable BindWidgetTest, RequestPinItemTest
Comparing only widget provider class names, as package names (sometimes) switch to the test package, not to the ones in Launcher. Bug: 131116593 Change-Id: Ieeed69432303a86fcefb194d509cdaf9d4513f3a
This commit is contained in:
@@ -156,7 +156,8 @@ public class AddConfigWidgetTest extends AbstractLauncherUiTest {
|
||||
@Override
|
||||
public boolean evaluate(ItemInfo info, View view) {
|
||||
return info instanceof LauncherAppWidgetInfo &&
|
||||
((LauncherAppWidgetInfo) info).providerName.equals(mWidgetInfo.provider) &&
|
||||
((LauncherAppWidgetInfo) info).providerName.getClassName().equals(
|
||||
mWidgetInfo.provider.getClassName()) &&
|
||||
((LauncherAppWidgetInfo) info).appWidgetId == mWidgetId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user