SELinux can be assumed for Android 4.4+
Change-Id: I7410a0c8e439eec90a955ee9201efd9a92bb9635
This commit is contained in:
@@ -1578,7 +1578,6 @@ int TWPartitionManager::Decrypt_Device(string Password) {
|
||||
}
|
||||
|
||||
int TWPartitionManager::Fix_Contexts(void) {
|
||||
#ifdef HAVE_SELINUX
|
||||
std::vector<TWPartition*>::iterator iter;
|
||||
for (iter = Partitions.begin(); iter != Partitions.end(); iter++) {
|
||||
if ((*iter)->Has_Data_Media) {
|
||||
@@ -1591,10 +1590,6 @@ int TWPartitionManager::Fix_Contexts(void) {
|
||||
UnMount_Main_Partitions();
|
||||
gui_msg("done=Done.");
|
||||
return 0;
|
||||
#else
|
||||
LOGERR("Cannot fix contexts, no selinux support present.\n");
|
||||
return -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
TWPartition* TWPartitionManager::Find_Next_Storage(string Path, bool Exclude_Data_Media) {
|
||||
|
||||
Reference in New Issue
Block a user