blob: c9e0aa2d73369129d256ccb19c2ab38e5845b145 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.recovery.policy;
/// A protocol for determining whether factory reset can be triggered.
@discoverable
closed protocol FactoryReset {
/// A hanging-get style api that returns whether local factory reset is
/// enabled.
strict GetEnabled() -> (struct {
fdr_enabled bool;
});
};