commit | f410ca77c7f9baaccab62139691cee8d5cefdca1 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Tue Mar 07 15:27:00 2017 -0800 |
committer | Sunny Goyal <sunnygoyal@google.com> | Tue Mar 07 15:27:13 2017 -0800 |
tree | 5270eccdaf21c9b3b671f2952ad172559b1d9c20 | |
parent | 3ba48fa019048b69aace5c88373bb3c59f3c2c1d [diff] |
Updating test as per API changes Change-Id: I746bf48254ebfcad18426d47c61a54f8a11f5cf8
diff --git a/tests/src/com/android/launcher3/testcomponent/RequestPinItemActivity.java b/tests/src/com/android/launcher3/testcomponent/RequestPinItemActivity.java index c2dd225..2a031af 100644 --- a/tests/src/com/android/launcher3/testcomponent/RequestPinItemActivity.java +++ b/tests/src/com/android/launcher3/testcomponent/RequestPinItemActivity.java
@@ -84,6 +84,6 @@ } private void requestWidget(ComponentName cn) { - AppWidgetManager.getInstance(this).requestPinAppWidget(cn, mCallback); + AppWidgetManager.getInstance(this).requestPinAppWidget(cn, null, mCallback); } }