Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40bd3eff authored by Janis Danisevskis's avatar Janis Danisevskis
Browse files

Cplusplusify the constant MIN_RESTRICTED_HOME_SDK_VERSION

Make the former macro MIN_RESTRICTED_HOME_SDK_VERSION a constexpr.

Change-Id: I0e85a0edecbcb1f5bba95e14fc36cd9561b369a7
parent 8fbed7fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ namespace installd {
static constexpr const char* kCpPath = "/system/bin/cp";
static constexpr const char* kXattrDefault = "user.default";

#define MIN_RESTRICTED_HOME_SDK_VERSION 24 // > M
static constexpr const int MIN_RESTRICTED_HOME_SDK_VERSION = 24; // > M

typedef int fd_t;