Skip to content
Commit 10ef287c authored by Xiaowen Lei's avatar Xiaowen Lei
Browse files

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
parent ce97eb64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment