commit | 0b581f3497e550dfcca8d1f9439e5745d00ce791 | [log] [tgz] |
---|---|---|
author | Fedor Kudasov <kudasov@google.com> | Thu Aug 25 13:40:42 2022 +0100 |
committer | Fedor Kudasov <kudasov@google.com> | Tue Aug 30 11:47:19 2022 +0000 |
tree | 2b0fa4dfda496ad68721e3cd9aff104fa7f6bbec | |
parent | e4a85cd7bf79887b5d06de3f23df278055b15280 [diff] |
Add IActivityManager stub implementation In glance app widgets LazyListTranslator translateEmittableLazyList calls PendingIntent.getActivity which in turn calls ActivityManager#getService and expects non-null result. To prevent NPE we intercept the call and return a stub implementation that seems sufficient. Bug: 239802877 Test: manually tested Change-Id: I6fa2a702943fd7c0dfe839e929a0a4b322edddb8 (cherry picked from commit dcbce84a4fe6808dea57d649ac4391263f8e77f0)