Fixing BindWidgetTest failing on Launcher3

Bug: 117616326
Change-Id: I3d08defc735498305cf982b214f6c0fae1508bd9
This commit is contained in:
Sunny Goyal
2018-10-11 15:51:39 -07:00
parent 7fad0d54ca
commit 4470344529
5 changed files with 52 additions and 42 deletions

View File

@@ -63,7 +63,7 @@ public class ShellCommandRule implements TestRule {
/**
* Grants the launcher permission to bind widgets.
*/
public static ShellCommandRule grandWidgetBind() {
public static ShellCommandRule grantWidgetBind() {
return new ShellCommandRule("appwidget grantbind --package "
+ InstrumentationRegistry.getTargetContext().getPackageName(), null);
}