Store package restriction settings at shutdown

Symptom:
Disabled package was re-enabled by restarting a device.

Root cause:
PMS postpones storing the package restriction settings in 10
seconds by design. When a package gets disabled right before
shutdown, PMS fails to store the last changes.

Solution:
Store package restriction settings at shutdown.

Test: Manually:
1. Run "pm suspend <package-name>"
2. Press power and reboot device within 10 seconds
3. Verify that <package-name> remains suspended

BUG: 73447744, 79209078
Change-Id: I4fe76c1f003e51653304cfaeaa5129d84803ce1e
Merged-In: I4fe76c1f003e51653304cfaeaa5129d84803ce1e
1 file changed