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
|
@ -59,5 +59,5 @@ public *;
|
|||
}
|
||||
|
||||
# for bouncycastle
|
||||
-keep class org.bouncycastle.jce.provider.**
|
||||
-keep class org.bouncycastle.**
|
||||
-dontwarn javax.naming.**
|
||||
|
|
|
@ -310,11 +310,13 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm
|
|||
}
|
||||
} else {
|
||||
String contentWarning = intent.getStringExtra("saved_toot_content_warning");
|
||||
startingHideText = !TextUtils.isEmpty(contentWarning);
|
||||
if (contentWarning != null) {
|
||||
startingHideText = !contentWarning.isEmpty();
|
||||
if (startingHideText) {
|
||||
startingContentWarning = contentWarning;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If come from SavedTootActivity
|
||||
String savedTootText = intent.getStringExtra("saved_toot_text");
|
||||
|
|
Loading…
Reference in New Issue