add atom and logging for Picture-in-Picture feature

Test: manual test
Change-Id: I883b56ef5e922e513f218309b57d7df5753996c0
5 files changed