Browse Source

Rename InstaApp to InstaGrabberApplication

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
edd95f6944
  1. 2
      app/src/main/AndroidManifest.xml
  2. 6
      app/src/main/java/awais/instagrabber/InstaGrabberApplication.java

2
app/src/main/AndroidManifest.xml

@ -8,7 +8,7 @@
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<application
android:name=".InstaApp"
android:name=".InstaGrabberApplication"
android:allowBackup="true"
android:fullBackupContent="@xml/backup_descriptor"
android:icon="@mipmap/ic_launcher"

6
app/src/main/java/awais/instagrabber/InstaApp.java → app/src/main/java/awais/instagrabber/InstaGrabberApplication.java

@ -28,7 +28,9 @@ import static awais.instagrabber.utils.Utils.notificationManager;
import static awais.instagrabber.utils.Utils.settingsHelper;
import static awais.instagrabber.utils.Utils.telegramPackage;
public final class InstaApp extends MultiDexApplication {
public final class InstaGrabberApplication extends MultiDexApplication {
private static final String TAG = "InstaGrabberApplication";
@Override
public void onCreate() {
super.onCreate();
@ -39,7 +41,7 @@ public final class InstaApp extends MultiDexApplication {
.getMethod("setEnabled", boolean.class)
.invoke(null, true);
} catch (Exception e) {
Log.e("InstaApp", "Error", e);
Log.e(TAG, "Error", e);
}
}
Loading…
Cancel
Save