Skip to content

Commit

Permalink
replace forceencrypt with encryptable
Browse files Browse the repository at this point in the history
  • Loading branch information
androidlover5842 committed May 1, 2018
1 parent 181b564 commit 741d129
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/main/java/com/github/twrpbuilder/mkTree/MakeTree.java
Original file line number Diff line number Diff line change
Expand Up @@ -269,17 +269,24 @@ private String grepPartition(String path, String partition) {
{
if (o.contains("/metadata"))
{
tmp += o.replace("wait,check,resize,"," flags=").replace(",","") + "\n";
tmp += o
.replace("wait,check,resize,"," flags=")
.replace(",","")
.replace("forceencrypt","encryptable")+ "\n";

}
else {
tmp += "/" + partition + " ext4 " + o.replace("wait,check,resize,", " ").replace(",", "");
tmp += "/" + partition + " ext4 " + o
.replace("wait,check,resize,", " ")
.replace(",", "");
}
fullpath+=tmp;

}
else
fullpath = "/" + partition + " ext4 " + o.replace("wait,check,resize,"," ").replace(",","") + "\n";
fullpath = "/" + partition + " ext4 " + o
.replace("wait,check,resize,"," ")
.replace(",","") + "\n";
}
else
{
Expand Down

0 comments on commit 741d129

Please sign in to comment.