Only restore apex backups on non-checkpointing devices.

Backup and restore of /data/apex/active is only intended to occur on
devices that do not have FS-checkpointing support. This change
ensures that backups are not restored on devices that do support
checkpointing.

Cherry-pick of aosp/1767767

Bug: 192102594
Bug: 193932765
Test: atest ApexServiceRevertTest
Change-Id: Ia07633c0da71f167098b15958e519ebb0bc90b6b
Merged-In: Ia07633c0da71f167098b15958e519ebb0bc90b6b
(cherry picked from commit 85642155eecda9c895283e3050fdb376d92271ae)
(cherry picked from commit f8365a8edcfd195562af485080d2a0462be8e180)
2 files changed