system_suspend: start early

With aosp/952637, FDE devices will restart services that were
started after the tmpfs /data was mounted.

vold grabs a wake lock before triggering framework restart. Restarting
system_suspend in these circumstances results in a wake lock leak.

Prevent system_suspend from restarting by moving it to early_hal class.

Bug: 136777986
Bug: 133175847
Test: boot blueline
Change-Id: I00204ebbe6f807a04bc8529f02f6eb4a26b1478e
1 file changed