From 33e85298c361daf0de70f7fe6af6f2ba998da017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Wed, 20 May 2020 23:13:49 +0200 Subject: [PATCH] Version 3.0.0 --- README.md | 16 +++------------- app/build.gradle | 4 ++-- appkillermanager/build.gradle | 4 ++-- build.gradle | 9 ++++----- 4 files changed, 11 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index dc3981a..2a6b0f2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ -[![Join the chat at https://gitter.im/AppKillerManager](https://badges.gitter.im/AppKillerManager.svg)](https://gitter.im/AppKillerManager?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Apache 2.0 License](https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0.html) -[ ![Download](https://api.bintray.com/packages/thomas-goureau/maven/AppKillerManager/images/download.svg) ](https://bintray.com/thomas-goureau/maven/AppKillerManager/_latestVersion) +[![Download](https://jitpack.io/v/wulkanowy/appkillermanager.svg)](https://jitpack.io/#wulkanowy/appkillermanager) # AppKillerManager Android library to handle App killer manager, agressive power saving mode or battery optimization (Xiaomi, Huawei, letv, ...) and prevent from : not showing notification, services not start at boot, etc @@ -46,23 +45,14 @@ Android Custom Roms made sometimes your apps unfunctional due to : ```groovy dependencies { - implementation 'com.thelittlefireman:AppKillerManager:2.1.1' + implementation 'io.github.wulkanowy:AppKillerManager:3.0.0' } ``` ### Step 2 -Use with a custom dialog: +Use it: - - -```Java - public void startDialog(KillerManager.Actions actions) { - new DialogKillerManagerBuilder().setContext(this).setAction(actions).show(); - } -``` - -Or use it directly : ```Java // Open the corresponding Power Saving Settings KillerManager.doActionPowerSaving(MyContext); diff --git a/app/build.gradle b/app/build.gradle index d5e876a..c7168a2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "com.thelittlefireman.appkillermanager_exemple" minSdkVersion 15 targetSdkVersion 29 - versionCode 3 - versionName "2.2.1" + versionCode 4 + versionName "3.0.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/appkillermanager/build.gradle b/appkillermanager/build.gradle index 65fd0ad..a84a549 100644 --- a/appkillermanager/build.gradle +++ b/appkillermanager/build.gradle @@ -10,8 +10,8 @@ android { minSdkVersion 15 targetSdkVersion 29 - //versionCode rootProject.ext.libVersionCode - //versionName rootProject.ext.libVersionName + versionCode rootProject.ext.libVersionCode + versionName rootProject.ext.libVersionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/build.gradle b/build.gradle index 4d79921..782f37c 100644 --- a/build.gradle +++ b/build.gradle @@ -42,12 +42,11 @@ wrapper { } ext{ // ValidateTor Library Info - libVersionCode = 4 - libVersionName = '2.2.1' - libPomUrl = 'https://github.com/thelittlefireman/AppKillerManager' - libGithubRepo = 'thelittlefireman/AppKillerManager' + libVersionCode = 5 + libVersionName = '3.0.0' + libPomUrl = 'https://github.com/wulkanowy/AppKillerManager' + libGithubRepo = 'wulkanowy/AppKillerManager' libModuleName = 'AppKillerManager' libModuleDesc = 'Android library to handle flaky App killer manager (Xiaomi, Huawei, letv, ...) and prevent from : not showing notification, services not start at boot, etc' libBintrayName = 'AppKillerManager' } -