Introduce CrashRecoveryModule Lifecycle service

This service would be part of module and will perform various actions
based on SystemService Lifecycle. For now along with onPackagesReady,
noteBoot() and RescuePartyObserver registration would be moved here.

Bug: 338468233
Test: atest CrashRecoveryModuleTests
Flag: android.crashrecovery.flags.refactor_crashrecovery
Change-Id: Ifb3297207908e9ec689dde8662238df3da8463f3
diff --git a/packages/CrashRecovery/aconfig/flags.aconfig b/packages/CrashRecovery/aconfig/flags.aconfig
index 225f8c6..52e0cbb 100644
--- a/packages/CrashRecovery/aconfig/flags.aconfig
+++ b/packages/CrashRecovery/aconfig/flags.aconfig
@@ -31,3 +31,11 @@
     description: "Deletes flag and settings resets"
     bug: "333847376"
 }
+
+flag {
+    name: "refactor_crashrecovery"
+    namespace: "modularization"
+    description: "Refactor required CrashRecovery code"
+    bug: "289203818"
+    is_fixed_read_only: true
+}