commit | 94022e8997084be458a1faf46e72efab1d59e973 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Tue Dec 04 11:05:39 2012 -0800 |
committer | Amith Yamasani <yamasani@google.com> | Tue Dec 04 16:25:38 2012 -0800 |
tree | ae057bc155e917bd490aecd545a4acba0cf7e4e9 | |
parent | b6b4f171ff38ccac833edb2a1ad7f725ed068d46 [diff] |
Make 3rd party lockscreen widgets work on secondary users If you install a lockscreen widget app on a secondary user, lockscreen fails to find it. There were several places where the correct context and userId were required under the covers - AppWidgetHost, AppWidgetHostView and RemoteViewsAdapter. Set the user id in the required places and use it to query the package information. Bug: 7662835 Change-Id: Ife482c8ab2a2e601650b7cfe2660e88d3b8f2050