Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
converted projects to JobIntentService and notification channels
- Loading branch information
1 parent
f4711ea
commit 1897edc
Showing
37 changed files
with
400 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,38 +1,41 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<manifest | <manifest package="com.commonsware.android.backup" | ||
package="com.commonsware.android.backup" | |||
xmlns:android="http://schemas.android.com/apk/res/android" | xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:versionCode="1" | android:versionCode="1" | ||
android:versionName="1.0"> | android:versionName="1.0"> | ||
|
|
||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.INTERNET"/> | <uses-permission android:name="android.permission.INTERNET" /> | ||
|
|
||
<supports-screens | <supports-screens | ||
android:anyDensity="true" | android:anyDensity="true" | ||
android:largeScreens="true" | android:largeScreens="true" | ||
android:normalScreens="true" | android:normalScreens="true" | ||
android:smallScreens="true"/> | android:smallScreens="true" /> | ||
|
|
||
<application | <application | ||
android:fullBackupContent="@xml/backup_rules" | |||
android:icon="@drawable/ic_launcher" | android:icon="@drawable/ic_launcher" | ||
android:label="@string/app_name" | android:label="@string/app_name" | ||
android:theme="@style/Theme.Apptheme" | android:theme="@style/Theme.Apptheme"> | ||
android:fullBackupContent="@xml/backup_rules"> | |||
<activity | <activity | ||
android:name=".MainActivity" | android:name=".MainActivity" | ||
android:label="@string/app_name"> | android:label="@string/app_name"> | ||
<intent-filter> | <intent-filter> | ||
<action android:name="android.intent.action.MAIN"/> | <action android:name="android.intent.action.MAIN" /> | ||
|
|
||
<category android:name="android.intent.category.LAUNCHER"/> | <category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | </intent-filter> | ||
</activity> | </activity> | ||
<activity android:name=".RestoreRosterActivity"/> | <activity android:name=".RestoreRosterActivity" /> | ||
<activity android:name=".RestoreProgressActivity"/> | <activity android:name=".RestoreProgressActivity" /> | ||
|
|
||
<service android:name=".BackupService"/> | <service | ||
<service android:name=".RestoreService"/> | android:name=".BackupService" | ||
android:permission="android.permission.BIND_JOB_SERVICE" /> | |||
<service | |||
android:name=".RestoreService" | |||
android:permission="android.permission.BIND_JOB_SERVICE" /> | |||
</application> | </application> | ||
|
|
||
</manifest> | </manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,24 +1,19 @@ | |||
apply plugin: 'com.android.application' | apply plugin: 'com.android.application' | ||
|
|
||
repositories { | |||
maven { | |||
url "https://s3.amazonaws.com/repo.commonsware.com" | |||
} | |||
} | |||
|
|||
dependencies { | dependencies { | ||
implementation 'org.greenrobot:eventbus:3.0.0' | implementation 'org.greenrobot:eventbus:3.0.0' | ||
implementation 'com.android.support:support-v13:24.2.0' | implementation "com.android.support:support-v13:27.0.2" | ||
implementation 'com.commonsware.cwac:wakeful:1.0.+' | |||
} | } | ||
|
|
||
android { | android { | ||
compileSdkVersion 24 | compileSdkVersion 27 | ||
buildToolsVersion '26.0.2' | buildToolsVersion '27.0.3' | ||
|
|
||
defaultConfig { | defaultConfig { | ||
minSdkVersion 15 | minSdkVersion 15 | ||
targetSdkVersion 24 | targetSdkVersion 27 | ||
applicationId 'com.commonsware.android.eventbus.greenrobot3' | applicationId 'com.commonsware.android.eventbus.greenrobot3' | ||
} | } | ||
} | } | ||
|
|||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.