Skip to content

Commit

Permalink
Make overridden value null
Browse files Browse the repository at this point in the history
  • Loading branch information
keeramis committed Jun 28, 2024
1 parent d70930a commit 55ac253
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,9 @@ class Device extends DeviceBase {
});
}
});
return { protected: allSegmentsProtected };
// FIXME: Currently, device-os does not reliably distinguish the `overridden` value for different protection modes.
// As a workaround, we use `null` to uniquely indicate the distinction.
return { protected: allSegmentsProtected, overridden: null };
}

const rep = await this.sendProtobufRequest('GetProtectedStateRequest');
Expand Down

0 comments on commit 55ac253

Please sign in to comment.