summaryrefslogtreecommitdiff
path: root/odrefresh/odrefresh_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'odrefresh/odrefresh_main.cc')
-rw-r--r--odrefresh/odrefresh_main.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/odrefresh/odrefresh_main.cc b/odrefresh/odrefresh_main.cc
index 2d3009e25c..22551f96f1 100644
--- a/odrefresh/odrefresh_main.cc
+++ b/odrefresh/odrefresh_main.cc
@@ -35,6 +35,8 @@
#include "odr_metrics.h"
#include "odrefresh.h"
#include "odrefresh/odrefresh.h"
+#include "selinux/android.h"
+#include "selinux/selinux.h"
namespace {
@@ -278,7 +280,7 @@ int main(int argc, char** argv) {
GetSystemProperties(config.MutableSystemProperties());
OdrMetrics metrics(config.GetArtifactDirectory());
- OnDeviceRefresh odr(config);
+ OnDeviceRefresh odr(config, setfilecon, selinux_android_restorecon);
std::string_view action(argv[0]);
CompilationOptions compilation_options;