forked from mirror/monocles_chat
make stickers visible for gallery to be used with other apps
This commit is contained in:
parent
8e4514c223
commit
c4fed45851
1 changed files with 0 additions and 9 deletions
|
@ -121,15 +121,6 @@ public class DownloadDefaultStickers extends Service {
|
|||
mDatabaseBackend.saveCid(cid, file, sticker.getString("url"));
|
||||
}
|
||||
|
||||
File nomediastickers = new File(mStickerDir.getAbsolutePath() + "/" + sticker.getString("pack") + "/" + ".nomedia");
|
||||
File nomediastickersfolder = new File(mStickerDir.getAbsolutePath() + "/" + ".nomedia");
|
||||
try {
|
||||
nomediastickers.createNewFile();
|
||||
nomediastickersfolder.createNewFile();
|
||||
} catch (final Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
if (file != null) {
|
||||
MediaScannerConnection.scanFile(
|
||||
|
|
Loading…
Reference in a new issue