Skip to content

Commit

Permalink
[devicelock] Add an option to clear external storage on device reset.…
Browse files Browse the repository at this point in the history
… Contributes to JB#38804
  • Loading branch information
adenexter committed Jun 13, 2017
1 parent 7079f03 commit dd9240a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/nemo-devicelock/devicereset.cpp
Expand Up @@ -47,6 +47,7 @@ namespace NemoDeviceLock
\value Shutdown Shutdown the device after reset.
\value Reboot Reboot the device after reset.
\value WipePartitions Zero all bytes not overwritten by the factory image.
\value ClearExternalMedia Data on external storage will also be deleted.
*/

/*!
Expand Down
3 changes: 2 additions & 1 deletion src/nemo-devicelock/devicereset.h
Expand Up @@ -49,7 +49,8 @@ class NEMODEVICELOCK_EXPORT DeviceReset : public QObject, private ConnectionClie
enum Option {
Shutdown = 0x00,
Reboot = 0x01,
WipePartitions = 0x02
WipePartitions = 0x02,
ClearExternalMedia = 0x04
};
Q_ENUM(Option)
Q_DECLARE_FLAGS(Options, Option)
Expand Down

0 comments on commit dd9240a

Please sign in to comment.