Framework patches for PDroid2.0 and PDroidManager