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