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" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<application <application
android:name=".InstaApp"
android:name=".InstaGrabberApplication"
android:allowBackup="true" android:allowBackup="true"
android:fullBackupContent="@xml/backup_descriptor" android:fullBackupContent="@xml/backup_descriptor"
android:icon="@mipmap/ic_launcher" 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.settingsHelper;
import static awais.instagrabber.utils.Utils.telegramPackage; 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 @Override
public void onCreate() { public void onCreate() {
super.onCreate(); super.onCreate();
@ -39,7 +41,7 @@ public final class InstaApp extends MultiDexApplication {
.getMethod("setEnabled", boolean.class) .getMethod("setEnabled", boolean.class)
.invoke(null, true); .invoke(null, true);
} catch (Exception e) { } catch (Exception e) {
Log.e("InstaApp", "Error", e);
Log.e(TAG, "Error", e);
} }
} }
Loading…
Cancel
Save