4ad6b57700bef4c484021f49e018117046562e6b |
|
28-Feb-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support for passing arbitrary extras when requesting to pin a widget. Also defining an extra constant for widget preview which can be used by developers to provide a snapshot of the widget with the pin request Bug: 35811129 Test: All exisiting tests passing for f in 1 2 3 4 5 6 7 8 9 10; do \ adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest$f \ -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner; \ done; adb shell am instrument -e class com.android.server.appwidget.AppWidgetServiceImplTest \ -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner Change-Id: Id854bd28468a5bf0416ff1a1b19c44d850016f32
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ShortcutManagerTest9.java
|
7f7372ae2abeecb564d426ec3efbfa039c797885 |
|
24-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Adding AppWidgetManager.isRequestPinAppWidgetSupported Launchers can choose to implement support pin shortcut or pin appwidget or both by specifying different actions in the intent filter Test: Automated tests and CTS Bug: 34174006 Change-Id: I4456dbb943cfba11d465556f0732f0ed629ab3ba
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ShortcutManagerTest9.java
|
970d4b462652cab66ce34da551d089f385bf39d8 |
|
20-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing dimensions for AppWidgetProviderInfo not getting updated properly for PinItemRequest Test: Manually tested on device Change-Id: I7bbf7e93e052ef25c2a4a98ff0795ef500f68cc0
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ShortcutManagerTest9.java
|
87a563e0707bb7e2be034c195e9827dfe3451cfd |
|
02-Jan-2017 |
Sunny Goyal <sunnygoyal@google.com> |
AppWidgetManager: direct add widget support. Test: Manual test and all the unit tests: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests ... to test9 adb shell am instrument -e class com.android.server.appwidget.AppWidgetServiceImplTest -w com.android.frameworks.servicestests Bug 32404406 Change-Id: Icd6d4cbd25d9cdf4508da725d95d6401cc3a46a7
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ShortcutManagerTest9.java
|