Fix AndroidManifest for new encrypt activities

This commit is contained in:
Dominik Schürmann
2014-09-06 17:55:19 +02:00
parent f2f1a9516d
commit cc14119425
3 changed files with 27 additions and 3 deletions

View File

@@ -267,7 +267,7 @@ public class EncryptFileActivity extends DrawerActivity implements EncryptActivi
private Intent sendWithChooserExcludingEncrypt(Message message) {
Intent prototype = createSendIntent(message);
String title = getString(R.string.title_share_file);
String[] blacklist = new String[]{Constants.PACKAGE_NAME + ".ui.EncryptActivity"};
String[] blacklist = new String[]{Constants.PACKAGE_NAME + ".ui.EncryptFileActivity"};
return new ShareHelper(this).createChooserExcluding(prototype, title, blacklist);
}

View File

@@ -250,7 +250,7 @@ public class EncryptTextActivity extends DrawerActivity implements EncryptActivi
private Intent sendWithChooserExcludingEncrypt(Message message) {
Intent prototype = createSendIntent(message);
String title = getString(R.string.title_share_message);
String[] blacklist = new String[]{Constants.PACKAGE_NAME + ".ui.EncryptActivity"};
String[] blacklist = new String[]{Constants.PACKAGE_NAME + ".ui.EncryptTextActivity"};
return new ShareHelper(this).createChooserExcluding(prototype, title, blacklist);
}