Skip to content

Commit 0c160a0

Browse files
Fix Bugs
1 parent 2b40b59 commit 0c160a0

File tree

20 files changed

+90
-422
lines changed

20 files changed

+90
-422
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,15 @@ restartActivity(Class<? extends Activity>);
144144
```
145145
> This method sets the activity that must be launched by the error activity when the user presses the button to restart the app.
146146
> If you don't set it (or set it to null), the library will use the first activity on your manifest that has an intent-filter with action
147-
> `com.developer.kinda.RESTART`, and if there is none, the default launchable activity on your app.
147+
> `com.developer.crashx.RESTART`, and if there is none, the default launchable activity on your app.
148148
> If no launchable activity can be found and you didn't specify any, the "restart app" button will become a "close app" button,
149149
> even if `showRestartButton` is set to `true`.
150150
>
151151
> As noted, you can also use the following intent-filter to specify the restart activity:
152152
> ```xml
153153
> <intent-filter>
154154
> <!-- ... -->
155-
> <action android:name="com.developer.kinda.RESTART" />
155+
> <action android:name="com.developer.crashx.RESTART" />
156156
> </intent-filter>
157157
> ```
158158
@@ -162,13 +162,13 @@ errorActivity(Class<? extends Activity>);
162162
> This method allows you to set a custom error activity to be launched, instead of the default one.
163163
> Use it if you need further customization that is not just strings, colors or themes (see below).
164164
> If you don't set it (or set it to null), the library will use the first activity on your manifest that has an intent-filter with action
165-
> `com.developer.kinda.ERROR`, and if there is none, a default error activity from the library.
165+
> `com.developer.crashx.ERROR`, and if there is none, a default error activity from the library.
166166
> If you use this, the activity **must** be declared in your `AndroidManifest.xml`, with `process` set to `:error_activity`.
167167
>
168168
> Example:
169169
> ```xml
170170
> <activity
171-
> android:name="com.developer.kinda.sample.CustomErrorActivity"
171+
> android:name="com.developer.crashx.sample.CustomErrorActivity"
172172
> android:label="@string/error_title"
173173
> android:process=":error_activity" />
174174
> ```
@@ -177,7 +177,7 @@ errorActivity(Class<? extends Activity>);
177177
> ```xml
178178
> <intent-filter>
179179
> <!-- ... -->
180-
> <action android:name="com.developer.kinda.ERROR" />
180+
> <action android:name="com.developer.crashx.ERROR" />
181181
> </intent-filter>
182182
> ```
183183
@@ -200,7 +200,7 @@ If you want to specify a specific theme only for the error activity, you can do
200200
201201
```xml
202202
<activity
203-
android:name="com.developer.kinda.activity.DefaultErrorActivity"
203+
android:name="com.developer.crashx.activity.DefaultErrorActivity"
204204
android:theme="@style/YourThemeHere"
205205
android:process=":error_activity" />
206206
```

build.gradle

-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2-
31
buildscript {
42
repositories {
53
google()
@@ -8,9 +6,6 @@ buildscript {
86
dependencies {
97
classpath 'com.android.tools.build:gradle:3.4.1'
108
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
11-
12-
// NOTE: Do not place your application dependencies here; they belong
13-
// in the individual module build.gradle files
149
}
1510
}
1611

library/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ android {
1010
defaultConfig {
1111
minSdkVersion 21
1212
targetSdkVersion 29
13-
versionCode 6
14-
versionName "3.0.19"
13+
versionCode 7
14+
versionName "4.0.19"
1515
}
1616
buildTypes {
1717
release {

library/src/main/AndroidManifest.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.developer.kinda">
3+
package="com.developer.crashx">
44

55
<application>
66
<activity
7-
android:name="com.developer.kinda.activity.DefaultErrorActivity"
7+
android:name="com.developer.crashx.activity.DefaultErrorActivity"
88
android:process=":error_activity" />
99
<provider
10-
android:name="com.developer.kinda.provider.CrashInitProvider"
10+
android:name="com.developer.crashx.provider.CrashInitProvider"
1111
android:authorities="${applicationId}.crashinitprovider"
1212
android:exported="false"
1313
android:initOrder="101" />

0 commit comments

Comments
 (0)