From 9a023298b6690175af90d9c5bda1c2d1161e500f Mon Sep 17 00:00:00 2001 From: Oupson Date: Mon, 10 May 2021 08:14:46 +0200 Subject: [PATCH] Working on widget --- .idea/codeStyles/Project.xml | 16 --- .idea/jarRepositories.xml | 5 + app/build.gradle | 3 +- app/src/main/AndroidManifest.xml | 2 - .../taotoolbox/activities/MainActivity.kt | 1 - .../TaoWidgetConfigurationActivity.kt | 106 ++++-------------- .../oupson/taotoolbox/receivers/TaoWidget.kt | 62 +++++----- .../taotoolbox/utils/PrefsWidgetHelper.kt | 89 +++++++++++++++ build.gradle | 6 +- common/build.gradle | 2 +- wear_tao/build.gradle | 2 +- 11 files changed, 151 insertions(+), 143 deletions(-) create mode 100644 app/src/main/java/fr/oupson/taotoolbox/utils/PrefsWidgetHelper.kt diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 3c7772a..7643783 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -1,22 +1,6 @@ - - diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml index 2370474..35ffc9d 100644 --- a/.idea/jarRepositories.xml +++ b/.idea/jarRepositories.xml @@ -26,5 +26,10 @@ \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 6d3946f..3280049 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,7 +5,7 @@ plugins { android { compileSdkVersion 30 - buildToolsVersion "29.0.3" + buildToolsVersion "30.0.3" defaultConfig { applicationId "fr.oupson.taotoolbox" @@ -13,7 +13,6 @@ android { targetSdkVersion 30 versionCode 1 versionName "0.0.2" - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index c4bf984..011a8d6 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -6,8 +6,6 @@ - -