Auto enable/disable PIE when expanded desktop mode state changed

Change-Id: Id2fe514752f7f4063d0f9f6454455bac3de77f29
Merge "Auto enable/disable PIE when expanded desktop mode state changed" into jb-mr2_mkt