Move `setIsDreaming(..);` to be right after `plugin.getView(parent);`.
This is necessary because registerDataProvider(plugin) could already be logging events. The logged surface is 2 (Keyguard) without the `setIsDreaming(true)`. Bug: 227613246 Bug: 231251252 Test: on device via `adb logcat | grep SMARTSPACE_CARD_RECEIVED` Change-Id: Id792bde00b66fd51b6a8606f7f6480718f64a22a
Loading
Please register or sign in to comment