diff options
Diffstat (limited to 'init/util.cpp')
-rw-r--r-- | init/util.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/init/util.cpp b/init/util.cpp index e69b43f8c..eab99d4e3 100644 --- a/init/util.cpp +++ b/init/util.cpp @@ -735,5 +735,16 @@ bool IsRecoveryMode() { return access("/system/bin/recovery", F_OK) == 0; } +// Check if default mount namespace is ready to be used with APEX modules +static bool is_default_mount_namespace_ready = false; + +bool IsDefaultMountNamespaceReady() { + return is_default_mount_namespace_ready; +} + +void SetDefaultMountNamespaceReady() { + is_default_mount_namespace_ready = true; +} + } // namespace init } // namespace android |