Allow to customize applicationId
This commit is contained in:
parent
c26157e808
commit
c0e96ed1d3
|
@ -140,7 +140,7 @@
|
|||
|
||||
<provider
|
||||
android:name="androidx.core.content.FileProvider"
|
||||
android:authorities="dummydomain.yetanothercallblocker.fileprovider"
|
||||
android:authorities="${applicationId}.fileprovider"
|
||||
android:exported="false"
|
||||
android:grantUriPermissions="true">
|
||||
<meta-data
|
||||
|
|
|
@ -14,9 +14,11 @@ import org.slf4j.LoggerFactory;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
import dummydomain.yetanothercallblocker.BuildConfig;
|
||||
|
||||
public class FileUtils {
|
||||
|
||||
private static final String FILEPROVIDER_AUTHORITY = "dummydomain.yetanothercallblocker.fileprovider";
|
||||
private static final String FILEPROVIDER_AUTHORITY = BuildConfig.APPLICATION_ID + ".fileprovider";
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(FileUtils.class);
|
||||
|
||||
|
|
Loading…
Reference in New Issue