Widens proguard to just keep everything under org.bouncycastle when minifying. Also fixes a bug where the composer's content warning is hidden after changing orientation.
This commit is contained in:
parent
408d38102d
commit
857f39b480
2 changed files with 6 additions and 4 deletions
2
app/proguard-rules.pro
vendored
2
app/proguard-rules.pro
vendored
|
@ -59,5 +59,5 @@ public *;
|
||||||
}
|
}
|
||||||
|
|
||||||
# for bouncycastle
|
# for bouncycastle
|
||||||
-keep class org.bouncycastle.jce.provider.**
|
-keep class org.bouncycastle.**
|
||||||
-dontwarn javax.naming.**
|
-dontwarn javax.naming.**
|
||||||
|
|
|
@ -310,9 +310,11 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
String contentWarning = intent.getStringExtra("saved_toot_content_warning");
|
String contentWarning = intent.getStringExtra("saved_toot_content_warning");
|
||||||
startingHideText = !TextUtils.isEmpty(contentWarning);
|
if (contentWarning != null) {
|
||||||
if (startingHideText) {
|
startingHideText = !contentWarning.isEmpty();
|
||||||
startingContentWarning = contentWarning;
|
if (startingHideText) {
|
||||||
|
startingContentWarning = contentWarning;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue