Retain Activity Recognition permission state across device update

Bug: 131867032
Test: Manual testing with apks that request new Android and old gmscore
permission targetting P and Q. After system upgrade from P to Q,
both apps always get Android AR permission auto-granted. Meanwhile, new
installs of the same apps on Q don't get the Android AR permission
auto-granted.

Change-Id: I68493a42650407056ef6b9fa40e24aea94a72f88
1 file changed