Combine privacy guard and AppOps to use it kinda like Permission management

Change-Id: Ib64e91a2dc63a4a9367fc216d6ffed8cc1c8dca5