mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +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:
@@ -82,7 +82,8 @@ public class AddWidgetTest extends AbstractLauncherUiTest {
|
||||
@Override
|
||||
public boolean evaluate(ItemInfo info, View view) {
|
||||
return info instanceof LauncherAppWidgetInfo &&
|
||||
((LauncherAppWidgetInfo) info).providerName.equals(widgetInfo.provider);
|
||||
((LauncherAppWidgetInfo) info).providerName.getClassName().equals(
|
||||
widgetInfo.provider.getClassName());
|
||||
}
|
||||
}).call());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user