From f569ea56b170c73e9f90667643c81bed4d9e0921 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 27 Sep 2018 08:07:36 +0300 Subject: gradle and dependency updates for android studio 3.2 remove deprecated tasker-related components --- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 4 +- org.fox.ttrss/build.gradle | 19 +- org.fox.ttrss/src/main/AndroidManifest.xml | 14 -- .../java/org/fox/ttrss/tasker/TaskerReceiver.java | 103 ----------- .../fox/ttrss/tasker/TaskerSettingsActivity.java | 94 ---------- settings.gradle | 1 - taskerlocaleapi/build.gradle | 22 --- taskerlocaleapi/lint.xml | 3 - taskerlocaleapi/src/main/AndroidManifest.xml | 13 -- .../com/twofortyfouram/locale/BreadCrumber.java | 90 ---------- .../java/com/twofortyfouram/locale/Constants.java | 48 ----- .../java/com/twofortyfouram/locale/Intent.java | 195 --------------------- .../twofortyfouram/locale/PackageUtilities.java | 123 ------------- .../twofortyfouram_locale_ic_menu_dontsave.png | Bin 243 -> 0 bytes .../twofortyfouram_locale_ic_menu_help.png | Bin 314 -> 0 bytes .../twofortyfouram_locale_ic_menu_save.png | Bin 953 -> 0 bytes .../twofortyfouram_locale_ic_menu_dontsave.png | Bin 162 -> 0 bytes .../twofortyfouram_locale_ic_menu_help.png | Bin 208 -> 0 bytes .../twofortyfouram_locale_ic_menu_save.png | Bin 512 -> 0 bytes .../twofortyfouram_locale_ic_menu_dontsave.png | Bin 195 -> 0 bytes .../twofortyfouram_locale_ic_menu_help.png | Bin 248 -> 0 bytes .../twofortyfouram_locale_ic_menu_save.png | Bin 707 -> 0 bytes .../twofortyfouram_locale_ic_menu_dontsave.png | Bin 282 -> 0 bytes .../twofortyfouram_locale_ic_menu_help.png | Bin 373 -> 0 bytes .../twofortyfouram_locale_ic_menu_save.png | Bin 1242 -> 0 bytes .../twofortyfouram_locale_ic_menu_dontsave.xml | 17 -- .../twofortyfouram_locale_ic_menu_help.xml | 17 -- .../twofortyfouram_locale_ic_menu_save.xml | 17 -- .../twofortyfouram_locale_help_save_dontsave.xml | 48 ----- .../src/main/res/values-cs/strings-cs.xml | 23 --- .../src/main/res/values-de/strings-de.xml | 23 --- .../src/main/res/values-es/strings-es.xml | 23 --- .../src/main/res/values-fr/strings-fr.xml | 23 --- .../src/main/res/values-hdpi/integers.xml | 19 -- .../src/main/res/values-it/strings-it.xml | 23 --- .../src/main/res/values-ja/strings-ja.xml | 23 --- .../src/main/res/values-ko/strings-ko.xml | 23 --- .../src/main/res/values-ldpi/integers.xml | 19 -- .../src/main/res/values-mdpi/integers.xml | 20 --- .../src/main/res/values-nb/strings-nb.xml | 23 --- .../src/main/res/values-nl/strings-nl.xml | 23 --- .../src/main/res/values-pt-rBR/strings-pt-rBR.xml | 23 --- .../src/main/res/values-ru/strings-ru.xml | 23 --- .../src/main/res/values-sv/strings-sv.xml | 23 --- taskerlocaleapi/src/main/res/values-v11/styles.xml | 23 --- taskerlocaleapi/src/main/res/values-v14/styles.xml | 23 --- taskerlocaleapi/src/main/res/values-v9/styles.xml | 26 --- .../src/main/res/values-vi/strings-vi.xml | 23 --- taskerlocaleapi/src/main/res/values/id.xml | 27 --- taskerlocaleapi/src/main/res/values/strings-en.xml | 32 ---- taskerlocaleapi/src/main/res/values/styles.xml | 26 --- tt-rss-android.iml | 2 +- 53 files changed, 13 insertions(+), 1333 deletions(-) delete mode 100755 org.fox.ttrss/src/main/java/org/fox/ttrss/tasker/TaskerReceiver.java delete mode 100644 org.fox.ttrss/src/main/java/org/fox/ttrss/tasker/TaskerSettingsActivity.java mode change 100644 => 100755 settings.gradle delete mode 100644 taskerlocaleapi/build.gradle delete mode 100644 taskerlocaleapi/lint.xml delete mode 100644 taskerlocaleapi/src/main/AndroidManifest.xml delete mode 100644 taskerlocaleapi/src/main/java/com/twofortyfouram/locale/BreadCrumber.java delete mode 100644 taskerlocaleapi/src/main/java/com/twofortyfouram/locale/Constants.java delete mode 100644 taskerlocaleapi/src/main/java/com/twofortyfouram/locale/Intent.java delete mode 100644 taskerlocaleapi/src/main/java/com/twofortyfouram/locale/PackageUtilities.java delete mode 100644 taskerlocaleapi/src/main/res/drawable-hdpi-v14/twofortyfouram_locale_ic_menu_dontsave.png delete mode 100644 taskerlocaleapi/src/main/res/drawable-hdpi-v14/twofortyfouram_locale_ic_menu_help.png delete mode 100644 taskerlocaleapi/src/main/res/drawable-hdpi-v14/twofortyfouram_locale_ic_menu_save.png delete mode 100644 taskerlocaleapi/src/main/res/drawable-ldpi-v14/twofortyfouram_locale_ic_menu_dontsave.png delete mode 100644 taskerlocaleapi/src/main/res/drawable-ldpi-v14/twofortyfouram_locale_ic_menu_help.png delete mode 100644 taskerlocaleapi/src/main/res/drawable-ldpi-v14/twofortyfouram_locale_ic_menu_save.png delete mode 100644 taskerlocaleapi/src/main/res/drawable-mdpi-v14/twofortyfouram_locale_ic_menu_dontsave.png delete mode 100644 taskerlocaleapi/src/main/res/drawable-mdpi-v14/twofortyfouram_locale_ic_menu_help.png delete mode 100644 taskerlocaleapi/src/main/res/drawable-mdpi-v14/twofortyfouram_locale_ic_menu_save.png delete mode 100644 taskerlocaleapi/src/main/res/drawable-xhdpi-v14/twofortyfouram_locale_ic_menu_dontsave.png delete mode 100644 taskerlocaleapi/src/main/res/drawable-xhdpi-v14/twofortyfouram_locale_ic_menu_help.png delete mode 100644 taskerlocaleapi/src/main/res/drawable-xhdpi-v14/twofortyfouram_locale_ic_menu_save.png delete mode 100644 taskerlocaleapi/src/main/res/drawable/twofortyfouram_locale_ic_menu_dontsave.xml delete mode 100644 taskerlocaleapi/src/main/res/drawable/twofortyfouram_locale_ic_menu_help.xml delete mode 100644 taskerlocaleapi/src/main/res/drawable/twofortyfouram_locale_ic_menu_save.xml delete mode 100644 taskerlocaleapi/src/main/res/menu/twofortyfouram_locale_help_save_dontsave.xml delete mode 100644 taskerlocaleapi/src/main/res/values-cs/strings-cs.xml delete mode 100644 taskerlocaleapi/src/main/res/values-de/strings-de.xml delete mode 100644 taskerlocaleapi/src/main/res/values-es/strings-es.xml delete mode 100644 taskerlocaleapi/src/main/res/values-fr/strings-fr.xml delete mode 100644 taskerlocaleapi/src/main/res/values-hdpi/integers.xml delete mode 100644 taskerlocaleapi/src/main/res/values-it/strings-it.xml delete mode 100644 taskerlocaleapi/src/main/res/values-ja/strings-ja.xml delete mode 100644 taskerlocaleapi/src/main/res/values-ko/strings-ko.xml delete mode 100644 taskerlocaleapi/src/main/res/values-ldpi/integers.xml delete mode 100644 taskerlocaleapi/src/main/res/values-mdpi/integers.xml delete mode 100644 taskerlocaleapi/src/main/res/values-nb/strings-nb.xml delete mode 100644 taskerlocaleapi/src/main/res/values-nl/strings-nl.xml delete mode 100644 taskerlocaleapi/src/main/res/values-pt-rBR/strings-pt-rBR.xml delete mode 100644 taskerlocaleapi/src/main/res/values-ru/strings-ru.xml delete mode 100644 taskerlocaleapi/src/main/res/values-sv/strings-sv.xml delete mode 100644 taskerlocaleapi/src/main/res/values-v11/styles.xml delete mode 100644 taskerlocaleapi/src/main/res/values-v14/styles.xml delete mode 100644 taskerlocaleapi/src/main/res/values-v9/styles.xml delete mode 100644 taskerlocaleapi/src/main/res/values-vi/strings-vi.xml delete mode 100644 taskerlocaleapi/src/main/res/values/id.xml delete mode 100644 taskerlocaleapi/src/main/res/values/strings-en.xml delete mode 100644 taskerlocaleapi/src/main/res/values/styles.xml diff --git a/build.gradle b/build.gradle index 2b2ce5c5..82684d02 100755 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.4' + classpath 'com.android.tools.build:gradle:3.2.0' } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index bd1f5426..08102530 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Tue Sep 25 07:55:43 MSK 2018 +#Thu Sep 27 07:58:25 MSK 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip diff --git a/org.fox.ttrss/build.gradle b/org.fox.ttrss/build.gradle index 4a46e9d2..1a3501d2 100755 --- a/org.fox.ttrss/build.gradle +++ b/org.fox.ttrss/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.application' android { compileSdkVersion 27 - buildToolsVersion "27.0.3" + buildToolsVersion "28.0.3" defaultConfig { applicationId "org.fox.ttrss" @@ -47,9 +47,8 @@ android { } dependencies { - compile project(':taskerlocaleapi') compile files('libs/dashclock-api-r1.1.jar') - compile 'com.squareup.okhttp3:okhttp:3.8.0' + compile 'com.squareup.okhttp3:okhttp:3.10.0' compile('com.github.bumptech.glide:okhttp3-integration:1.5.0') { exclude group: 'glide-parent' } @@ -57,13 +56,13 @@ dependencies { compile 'com.bogdwellers:pinchtozoom:0.1' compile 'com.github.bumptech.glide:glide:3.8.0' compile 'jp.wasabeef:glide-transformations:2.0.2' - compile 'com.android.support:recyclerview-v7:27.1.0' - compile 'com.android.support:cardview-v7:27.1.0' - compile 'com.android.support:support-v4:27.1.0' - compile 'com.android.support:appcompat-v7:27.1.0' - compile 'com.android.support:customtabs:27.1.0' - compile 'com.android.support:design:27.1.0' - compile 'com.google.code.gson:gson:2.8.0' + compile 'com.android.support:recyclerview-v7:27.1.1' + compile 'com.android.support:cardview-v7:27.1.1' + compile 'com.android.support:support-v4:27.1.1' + compile 'com.android.support:appcompat-v7:27.1.1' + compile 'com.android.support:customtabs:27.1.1' + compile 'com.android.support:design:27.1.1' + compile 'com.google.code.gson:gson:2.8.2' compile 'com.shamanland:fab:0.0.8' compile 'ch.acra:acra:4.9.1' compile 'com.ToxicBakery.viewpager.transforms:view-pager-transforms:1.2.32@aar' diff --git a/org.fox.ttrss/src/main/AndroidManifest.xml b/org.fox.ttrss/src/main/AndroidManifest.xml index 20d90005..82f15faf 100755 --- a/org.fox.ttrss/src/main/AndroidManifest.xml +++ b/org.fox.ttrss/src/main/AndroidManifest.xml @@ -69,13 +69,6 @@ android:name=".LogcatActivity" android:label="@string/logcat_title" > - - - - - @@ -223,13 +216,6 @@ - - - - - - - diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/tasker/TaskerReceiver.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/tasker/TaskerReceiver.java deleted file mode 100755 index 52c600bf..00000000 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/tasker/TaskerReceiver.java +++ /dev/null @@ -1,103 +0,0 @@ -package org.fox.ttrss.tasker; - -import android.content.BroadcastReceiver; -import android.content.Context; -import android.content.Intent; -import android.content.SharedPreferences; -import android.os.Build; -import android.os.Bundle; -import android.preference.PreferenceManager; -import android.util.Log; -import android.widget.Toast; - -import org.fox.ttrss.ApiCommon; -import org.fox.ttrss.ApiRequest; -import org.fox.ttrss.offline.OfflineDownloadService; -import org.fox.ttrss.offline.OfflineUploadService; -import org.fox.ttrss.util.SimpleLoginManager; - -public class TaskerReceiver extends BroadcastReceiver { - private final String TAG = this.getClass().getSimpleName(); - - @Override - public void onReceive(Context context, Intent intent) { - Log.d(TAG, "Got action: " + intent.getAction()); - - final Context fContext = context; - - if (com.twofortyfouram.locale.Intent.ACTION_FIRE_SETTING.equals(intent.getAction())) { - - final Bundle settings = intent.getBundleExtra(com.twofortyfouram.locale.Intent.EXTRA_BUNDLE); - final int actionId = settings != null ? settings.getInt("actionId", -1) : -1; - - Log.d(TAG, "received action id=" + actionId); - - SimpleLoginManager loginMgr = new SimpleLoginManager() { - - @Override - protected void onLoginSuccess(int requestId, String sessionId, int apiLevel) { - - switch (actionId) { - case TaskerSettingsActivity.ACTION_DOWNLOAD: - if (true) { - Intent intent = new Intent(fContext, - OfflineDownloadService.class); - intent.putExtra("sessionId", sessionId); - intent.putExtra("batchMode", true); - - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { - fContext.startForegroundService(intent); - } else { - fContext.startService(intent); - } - } - break; - case TaskerSettingsActivity.ACTION_UPLOAD: - if (true) { - Intent intent = new Intent(fContext, - OfflineUploadService.class); - intent.putExtra("sessionId", sessionId); - intent.putExtra("batchMode", true); - - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { - fContext.startForegroundService(intent); - } else { - fContext.startService(intent); - } - - } - break; - default: - Log.d(TAG, "unknown action id=" + actionId); - } - } - - @Override - protected void onLoginFailed(int requestId, ApiRequest ar) { - Toast toast = Toast.makeText(fContext, fContext.getString(ar.getErrorMessage()), Toast.LENGTH_SHORT); - toast.show(); - } - - @Override - protected void onLoggingIn(int requestId) { - // - } - }; - - SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); - - String login = prefs.getString("login", "").trim(); - String password = prefs.getString("password", "").trim(); - String ttrssUrl = prefs.getString("ttrss_url", "").trim(); - ApiCommon.trustAllHosts(prefs.getBoolean("ssl_trust_any", false), prefs.getBoolean("ssl_trust_any_host", false)); - - if (ttrssUrl.equals("")) { - Toast toast = Toast.makeText(fContext, "Could not download articles: not configured?", Toast.LENGTH_SHORT); - toast.show(); - } else { - loginMgr.logIn(context, 1, login, password); - } - } - } - -} diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/tasker/TaskerSettingsActivity.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/tasker/TaskerSettingsActivity.java deleted file mode 100644 index 21c65e20..00000000 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/tasker/TaskerSettingsActivity.java +++ /dev/null @@ -1,94 +0,0 @@ -package org.fox.ttrss.tasker; - -import android.app.Activity; -import android.content.Intent; -import android.os.Bundle; -import android.util.Log; -import android.view.View; -import android.view.View.OnClickListener; -import android.widget.Button; -import android.widget.RadioGroup; -import android.widget.RadioGroup.OnCheckedChangeListener; - -import org.fox.ttrss.R; - -public class TaskerSettingsActivity extends Activity { - protected static final int ACTION_DOWNLOAD = 0; - protected static final int ACTION_UPLOAD = 1; - - private final String TAG = this.getClass().getSimpleName(); - - protected Bundle m_settings = new Bundle(); - - @Override - public void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - - Bundle settings = getIntent().getBundleExtra(com.twofortyfouram.locale.Intent.EXTRA_BUNDLE); - - int actionId = settings != null ? settings.getInt("actionId", -1) : -1; - - setContentView(R.layout.activity_tasker_settings); - - RadioGroup radioGroup = (RadioGroup) findViewById(R.id.taskerActions); - - switch (actionId) { - case TaskerSettingsActivity.ACTION_DOWNLOAD: - radioGroup.check(R.id.actionDownload); - break; - case TaskerSettingsActivity.ACTION_UPLOAD: - radioGroup.check(R.id.actionUpload); - break; - default: - Log.d(TAG, "unknown action id=" + actionId); - } - - radioGroup.setOnCheckedChangeListener(new OnCheckedChangeListener() { - @Override - public void onCheckedChanged(RadioGroup group, int checkedId) { - switch (checkedId) { - case R.id.actionDownload: - m_settings.putInt("actionId", ACTION_DOWNLOAD); - break; - case R.id.actionUpload: - m_settings.putInt("actionId", ACTION_UPLOAD); - break; - } - } - }); - - Button button = (Button)findViewById(R.id.close_button); - - button.setOnClickListener(new OnClickListener() { - @Override - public void onClick(View v) { - finish(); - } - }); - } - - @Override - public void finish() { - final Intent intent = new Intent(); - - intent.putExtra(com.twofortyfouram.locale.Intent.EXTRA_BUNDLE, m_settings); - - String blurb = "?"; - - switch (m_settings.getInt("actionId")) { - case TaskerSettingsActivity.ACTION_DOWNLOAD: - blurb = getString(R.string.download_articles_and_go_offline); - break; - case TaskerSettingsActivity.ACTION_UPLOAD: - blurb = getString(R.string.synchronize_read_articles_and_go_online); - break; - } - - intent.putExtra(com.twofortyfouram.locale.Intent.EXTRA_STRING_BLURB, blurb); - - setResult(RESULT_OK, intent); - - super.finish(); - - } -} diff --git a/settings.gradle b/settings.gradle old mode 100644 new mode 100755 index a24972a7..51448259 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1 @@ -include ':taskerlocaleapi' include ':org.fox.ttrss' diff --git a/taskerlocaleapi/build.gradle b/taskerlocaleapi/build.gradle deleted file mode 100644 index 772de187..00000000 --- a/taskerlocaleapi/build.gradle +++ /dev/null @@ -1,22 +0,0 @@ -apply plugin: 'com.android.library' - -android { - compileSdkVersion 19 - buildToolsVersion '25.0.0' - - defaultConfig { - minSdkVersion 3 - targetSdkVersion 17 - } - - lintOptions { - abortOnError false - } - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' - } - } -} diff --git a/taskerlocaleapi/lint.xml b/taskerlocaleapi/lint.xml deleted file mode 100644 index 8423c0ef..00000000 --- a/taskerlocaleapi/lint.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/AndroidManifest.xml b/taskerlocaleapi/src/main/AndroidManifest.xml deleted file mode 100644 index 12de0b05..00000000 --- a/taskerlocaleapi/src/main/AndroidManifest.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/java/com/twofortyfouram/locale/BreadCrumber.java b/taskerlocaleapi/src/main/java/com/twofortyfouram/locale/BreadCrumber.java deleted file mode 100644 index 6363982f..00000000 --- a/taskerlocaleapi/src/main/java/com/twofortyfouram/locale/BreadCrumber.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2013 two forty four a.m. LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in - * compliance with the License. You may obtain a copy of the License at - * - * - * Unless required by applicable law or agreed to in writing, software distributed under the License is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and limitations under the License. - */ - -package com.twofortyfouram.locale; - -import android.content.Context; -import android.content.Intent; -import android.util.Log; - -import com.twofortyfouram.locale.api.R; - -/** - * Utility class to generate a breadcrumb title string for {@code Activity} instances in Locale. - *

- * This class cannot be instantiated. - */ -public final class BreadCrumber -{ - /** - * Static helper method to generate bread crumbs. Bread crumb strings will be properly formatted for the - * current language, including right-to-left languages, as long as the proper - * {@link com.twofortyfouram.locale.platform.R.string#twofortyfouram_locale_breadcrumb_format} string - * resources have been created. - * - * @param context {@code Context} for loading platform resources. Cannot be null. - * @param intent {@code Intent} to extract the bread crumb from. - * @param currentCrumb The last element of the bread crumb path. - * @return {@code String} presentation of the bread crumb. If the intent parameter is null, then this - * method returns currentCrumb. If currentCrumb is null, then this method returns the empty string - * "". If intent contains a private Serializable instances as an extra, then this method returns - * the empty string "". - * @throws IllegalArgumentException if {@code context} is null. - */ - public static CharSequence generateBreadcrumb(final Context context, final Intent intent, - final String currentCrumb) - { - if (null == context) - { - throw new IllegalArgumentException("context cannot be null"); //$NON-NLS-1$ - } - - try - { - if (null == currentCrumb) - { - Log.w(Constants.LOG_TAG, "currentCrumb cannot be null"); //$NON-NLS-1$ - return ""; //$NON-NLS-1$ - } - if (null == intent) - { - Log.w(Constants.LOG_TAG, "intent cannot be null"); //$NON-NLS-1$ - return currentCrumb; - } - - /* - * Note: this is vulnerable to a private serializable attack, but the try-catch will solve that. - */ - final String breadcrumbString = intent.getStringExtra(com.twofortyfouram.locale.Intent.EXTRA_STRING_BREADCRUMB); - if (null != breadcrumbString) - { - return context.getString(R.string.twofortyfouram_locale_breadcrumb_format, breadcrumbString, context.getString(R.string.twofortyfouram_locale_breadcrumb_separator), currentCrumb); - } - return currentCrumb; - } - catch (final Exception e) - { - Log.e(Constants.LOG_TAG, "Encountered error generating breadcrumb", e); //$NON-NLS-1$ - return ""; //$NON-NLS-1$ - } - } - - /** - * Private constructor prevents instantiation. - * - * @throws UnsupportedOperationException because this class cannot be instantiated. - */ - private BreadCrumber() - { - throw new UnsupportedOperationException("This class is non-instantiable"); //$NON-NLS-1$ - } -} \ No newline at end of file diff --git a/taskerlocaleapi/src/main/java/com/twofortyfouram/locale/Constants.java b/taskerlocaleapi/src/main/java/com/twofortyfouram/locale/Constants.java deleted file mode 100644 index 7e22c518..00000000 --- a/taskerlocaleapi/src/main/java/com/twofortyfouram/locale/Constants.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2013 two forty four a.m. LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in - * compliance with the License. You may obtain a copy of the License at - * - * - * Unless required by applicable law or agreed to in writing, software distributed under the License is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and limitations under the License. - */ - -package com.twofortyfouram.locale; - -/** - * Utility class containing constants for the Locale Developer Platform. - */ -/* - * This class is NOT part of the public API. - */ -/* package */final class Constants -{ - /** - * Log tag for logcat messages generated by the Locale Developer Platform - */ - /* - * This is NOT a public API. Third party apps should NOT use this log tag for their own log messages. - */ - /* package */static final String LOG_TAG = "LocaleApiLibrary"; //$NON-NLS-1$ - - /** - * String package name for Locale. - */ - /* - * This is NOT a public API. Third parties should NOT rely on this being the only package name for Locale. - */ - /* package */static final String LOCALE_PACKAGE = "com.twofortyfouram.locale"; //$NON-NLS-1$ - - /** - * Private constructor prevents instantiation - * - * @throws UnsupportedOperationException because this class cannot be instantiated. - */ - private Constants() - { - throw new UnsupportedOperationException("This class is non-instantiable"); //$NON-NLS-1$ - } -} \ No newline at end of file diff --git a/taskerlocaleapi/src/main/java/com/twofortyfouram/locale/Intent.java b/taskerlocaleapi/src/main/java/com/twofortyfouram/locale/Intent.java deleted file mode 100644 index 79716041..00000000 --- a/taskerlocaleapi/src/main/java/com/twofortyfouram/locale/Intent.java +++ /dev/null @@ -1,195 +0,0 @@ -/* - * Copyright 2013 two forty four a.m. LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in - * compliance with the License. You may obtain a copy of the License at - * - * - * Unless required by applicable law or agreed to in writing, software distributed under the License is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and limitations under the License. - */ - -package com.twofortyfouram.locale; - -import android.os.Parcelable; - -/** - * Contains Intent constants necessary for interacting with the Locale Developer Platform. - */ -public final class Intent -{ - /** - * Private constructor prevents instantiation. - * - * @throws UnsupportedOperationException because this class cannot be instantiated. - */ - private Intent() - { - throw new UnsupportedOperationException("This class is non-instantiable"); //$NON-NLS-1$ - } - - /** - * Ordered broadcast result code indicating that a plug-in condition's state is satisfied (true). - * - * @see Intent#ACTION_QUERY_CONDITION - */ - public static final int RESULT_CONDITION_SATISFIED = 16; - - /** - * Ordered broadcast result code indicating that a plug-in condition's state is not satisfied (false). - * - * @see Intent#ACTION_QUERY_CONDITION - */ - public static final int RESULT_CONDITION_UNSATISFIED = 17; - - /** - * Ordered broadcast result code indicating that a plug-in condition's state is unknown (neither true nor - * false). - *

- * If a condition returns UNKNOWN, then Locale will use the last known return value on a best-effort - * basis. Best-effort means that Locale may not persist known values forever (e.g. last known values could - * hypothetically be cleared after a device reboot or a restart of the Locale process. If - * there is no last known return value, then unknown is treated as not satisfied (false). - *

- * The purpose of an UNKNOWN result is to allow a plug-in condition more than 10 seconds to process a - * requery. A {@code BroadcastReceiver} must return within 10 seconds, otherwise it will be killed by - * Android. A plug-in that needs more than 10 seconds might initially return - * {@link #RESULT_CONDITION_UNKNOWN}, subsequently request a requery, and then return either - * {@link #RESULT_CONDITION_SATISFIED} or {@link #RESULT_CONDITION_UNSATISFIED}. - * - * @see Intent#ACTION_QUERY_CONDITION - */ - public static final int RESULT_CONDITION_UNKNOWN = 18; - - /** - * {@code Intent} action {@code String} broadcast by Locale to create or edit a plug-in setting. When - * Locale broadcasts this {@code Intent}, it will be sent directly to the package and class of the - * plug-in's {@code Activity}. The {@code Intent} may contain a {@link #EXTRA_BUNDLE} that was previously - * set by the {@code Activity} result of {@link #ACTION_EDIT_SETTING}. - *

- * There SHOULD be only one {@code Activity} per APK that implements this {@code Intent}. If a single APK - * wishes to export multiple plug-ins, it MAY implement multiple Activity instances that implement this - * {@code Intent}, however there must only be a single {@link #ACTION_FIRE_SETTING} receiver. In this - * scenario, it is the responsibility of the Activities to store enough data in {@link #EXTRA_BUNDLE} to - * allow this receiver to disambiguate which "plug-in" is being fired. To avoid user confusion, it is - * recommended that only a single plug-in be implemented per APK. - * - * @see Intent#EXTRA_BUNDLE - * @see Intent#EXTRA_STRING_BREADCRUMB - */ - public static final String ACTION_EDIT_SETTING = "com.twofortyfouram.locale.intent.action.EDIT_SETTING"; //$NON-NLS-1$ - - /** - * {@code Intent} action {@code String} broadcast by Locale to fire a plug-in setting. When Locale - * broadcasts this {@code Intent}, it will be sent directly to the package and class of the plug-in's - * {@code BroadcastReceiver}. The {@code Intent} will contain a {@link #EXTRA_BUNDLE} that was previously - * set by the {@code Activity} result of {@link #ACTION_EDIT_SETTING}. - *

- * There MUST be only one {@code BroadcastReceiver} per APK that implements this {@code Intent}. - * - * @see Intent#EXTRA_BUNDLE - */ - public static final String ACTION_FIRE_SETTING = "com.twofortyfouram.locale.intent.action.FIRE_SETTING"; //$NON-NLS-1$ - - /** - * {@code Intent} action {@code String} broadcast by Locale to create or edit a plug-in condition. When - * Locale broadcasts this {@code Intent}, it will be sent directly to the package and class of the - * plug-in's {@code Activity}. The {@code Intent} may contain a store-and-forward {@link #EXTRA_BUNDLE} - * that was previously set by the {@code Activity} result of {@link #ACTION_EDIT_CONDITION}. - *

- * There SHOULD be only one {@code Activity} per APK that implements this {@code Intent}. If a single APK - * wishes to export multiple plug-ins, it MAY implement multiple Activity instances that implement this - * {@code Intent}, however there must only be a single {@link #ACTION_QUERY_CONDITION} receiver. In this - * scenario, it is the responsibility of the Activities to store enough data in {@link #EXTRA_BUNDLE} to - * allow this receiver to disambiguate which "plug-in" is being queried. To avoid user confusion, it is - * recommended that only a single plug-in be implemented per APK. - * - * @see Intent#EXTRA_BUNDLE - * @see Intent#EXTRA_STRING_BREADCRUMB - */ - public static final String ACTION_EDIT_CONDITION = "com.twofortyfouram.locale.intent.action.EDIT_CONDITION"; //$NON-NLS-1$ - - /** - * Ordered {@code Intent} action {@code String} broadcast by Locale to query a plug-in condition. When - * Locale broadcasts this {@code Intent}, it will be sent directly to the package and class of the - * plug-in's {@code BroadcastReceiver}. The {@code Intent} will contain a {@link #EXTRA_BUNDLE} that was - * previously set by the {@code Activity} result of {@link #ACTION_EDIT_CONDITION}. - *

- * Since this is an ordered broadcast, the receiver is expected to set an appropriate result code from - * {@link #RESULT_CONDITION_SATISFIED}, {@link #RESULT_CONDITION_UNSATISFIED}, and - * {@link #RESULT_CONDITION_UNKNOWN}. - *

- * There MUST be only one {@code BroadcastReceiver} per APK that implements this {@code Intent}. - * - * @see Intent#EXTRA_BUNDLE - * @see Intent#RESULT_CONDITION_SATISFIED - * @see Intent#RESULT_CONDITION_UNSATISFIED - * @see Intent#RESULT_CONDITION_UNKNOWN - */ - public static final String ACTION_QUERY_CONDITION = "com.twofortyfouram.locale.intent.action.QUERY_CONDITION"; //$NON-NLS-1$ - - /** - * {@code Intent} action {@code String} to notify Locale that a plug-in condition is requesting that - * Locale query it via {@link #ACTION_QUERY_CONDITION}. This merely serves as a hint to Locale that a - * condition wants to be queried. There is no guarantee as to when or if the plug-in will be queried after - * this {@code Intent} is broadcast. If Locale does not respond to the plug-in condition after a - * {@link #ACTION_REQUEST_QUERY} Intent is sent, the plug-in SHOULD shut itself down and stop requesting - * requeries. A lack of response from Locale indicates that Locale is not currently interested in this - * plug-in. When Locale becomes interested in the plug-in again, Locale will send - * {@link #ACTION_QUERY_CONDITION}. - *

- * The extra {@link #EXTRA_ACTIVITY} MUST be included, otherwise Locale will ignore this {@code Intent}. - *

- * Plug-in conditions SHOULD NOT use this unless there is some sort of asynchronous event that has - * occurred, such as a broadcast {@code Intent} being received by the plug-in. Plug-ins SHOULD NOT - * periodically request a requery as a way of implementing polling behavior. - * - * @see Intent#EXTRA_ACTIVITY - */ - public static final String ACTION_REQUEST_QUERY = "com.twofortyfouram.locale.intent.action.REQUEST_QUERY"; //$NON-NLS-1$ - - /** - * Type: {@code String}. - *

- * Maps to a {@code String} that represents the {@code Activity} bread crumb path. - * - * @see BreadCrumber - */ - public static final String EXTRA_STRING_BREADCRUMB = "com.twofortyfouram.locale.intent.extra.BREADCRUMB"; //$NON-NLS-1$ - - /** - * Type: {@code String}. - *

- * Maps to a {@code String} that represents a blurb. This is returned as an {@code Activity} result extra - * from {@link #ACTION_EDIT_CONDITION} or {@link #ACTION_EDIT_SETTING}. - *

- * The blurb is a concise description displayed to the user of what the plug-in is configured to do. - */ - public static final String EXTRA_STRING_BLURB = "com.twofortyfouram.locale.intent.extra.BLURB"; //$NON-NLS-1$ - - /** - * Type: {@code Bundle}. - *

- * Maps to a {@code Bundle} that contains all of a plug-in's extras. - *

- * Plug-ins MUST NOT store {@link Parcelable} objects in this {@code Bundle}, because {@code Parcelable} - * is not a long-term storage format. Also, plug-ins MUST NOT store any serializable object that is not - * exposed by the Android SDK. - *

- * The maximum size of a Bundle that can be sent across process boundaries is on the order of 500 - * kilobytes (base-10), while Locale further limits plug-in Bundles to about 100 kilobytes (base-10). - * Although the maximum size is about 100 kilobytes, plug-ins SHOULD keep Bundles much smaller for - * performance and memory usage reasons. - */ - public static final String EXTRA_BUNDLE = "com.twofortyfouram.locale.intent.extra.BUNDLE"; //$NON-NLS-1$ - - /** - * Type: {@code String}. - *

- * Maps to a {@code String} that represents the name of a plug-in's {@code Activity}. - * - * @see Intent#ACTION_REQUEST_QUERY - */ - public static final String EXTRA_ACTIVITY = "com.twofortyfouram.locale.intent.extra.ACTIVITY"; //$NON-NLS-1$ -} \ No newline at end of file diff --git a/taskerlocaleapi/src/main/java/com/twofortyfouram/locale/PackageUtilities.java b/taskerlocaleapi/src/main/java/com/twofortyfouram/locale/PackageUtilities.java deleted file mode 100644 index a4b623ce..00000000 --- a/taskerlocaleapi/src/main/java/com/twofortyfouram/locale/PackageUtilities.java +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Copyright 2013 two forty four a.m. LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in - * compliance with the License. You may obtain a copy of the License at - * - * - * Unless required by applicable law or agreed to in writing, software distributed under the License is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and limitations under the License. - */ - -package com.twofortyfouram.locale; - -import android.content.pm.PackageInfo; -import android.content.pm.PackageManager; - -import java.util.Collections; -import java.util.HashSet; -import java.util.List; -import java.util.Set; - -/** - * A simple utility class to find a package that is compatible with hosting the Locale Developer Platform. - */ -/* - * This class is NOT part of the public Locale Developer Platform API - */ -public final class PackageUtilities -{ - /** - * A hard-coded set of Android packages that support the Locale Developer Platform. - */ - /* - * This is NOT a public field and is subject to change in future releases of the Developer Platform. A - * conscious design decision was made to use hard-coded package names, rather than dynamic discovery of - * packages that might be compatible with hosting the Locale Developer Platform API. This is for two - * reasons: to ensure the host is implemented correctly (hosts must pass the extensive Locale Platform - * Host compatibility test suite) and to prevent malicious applications from crashing plug-ins by - * providing bad values. As additional apps implement the Locale Developer Platform, their package names - * will also be added to this list. - */ - /* - * Note: this is implemented as a Set rather than a String[], in order to enforce immutability. - */ - private static final Set COMPATIBLE_PACKAGES = constructPackageSet(); - - /** - * @return a list wrapped in {@link Collections#unmodifiableList(List)} that represents the set of - * Locale-compatible packages. - */ - private static Set constructPackageSet() - { - final HashSet packages = new HashSet(); - - packages.add(Constants.LOCALE_PACKAGE); - - /* - * Note: Tasker is not 100% compatible with Locale's plug-in API, but it is close enough that these - * packages are enabled. Tasker's known incompatibilities are documented on the Tasker website. - */ - packages.add("net.dinglisch.android.taskerm"); //$NON-NLS-1$ - packages.add("net.dinglisch.android.tasker"); //$NON-NLS-1$ - packages.add("net.dinglisch.android.taskercupcake"); //$NON-NLS-1$ - - return Collections.unmodifiableSet(packages); - } - - /** - * Obtains the {@code String} package name of a currently-installed package which implements the host - * component of the Locale Developer Platform. - *

- * Note: A TOCTOU error exists, due to the fact that the package could be uninstalled at any time. - *

- * Note: If there are multiple hosts, this method will return one of them. The interface of this method - * makes no guarantee which host will returned, nor whether that host will be consistently returned. - * - * @param manager an instance of {@code PackageManager}. Cannot be null. - * @param packageHint hint as to which package should take precedence. This parameter may be null. - * @return {@code String} package name of a host for the Locale Developer Platform, such as - * "com.twofortyfouram.locale". If no such package is found, returns null. - */ - public static String getCompatiblePackage(final PackageManager manager, final String packageHint) - { - /* - * The interface for this method makes no guarantees as to which host will be returned. However the - * implementation is more predictable. - */ - - final List installedPackages = manager.getInstalledPackages(0); - - if (COMPATIBLE_PACKAGES.contains(packageHint)) - { - for (final PackageInfo packageInfo : installedPackages) - { - final String temp = packageInfo.packageName; - if (packageHint.equals(temp)) - { - return temp; - } - } - } - - for (final String compatiblePackageName : COMPATIBLE_PACKAGES) - { - if (compatiblePackageName.equals(packageHint)) - { - continue; - } - - for (final PackageInfo packageInfo : installedPackages) - { - final String temp = packageInfo.packageName; - if (compatiblePackageName.equals(temp)) - { - return temp; - } - } - } - - return null; - } -} \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/drawable-hdpi-v14/twofortyfouram_locale_ic_menu_dontsave.png b/taskerlocaleapi/src/main/res/drawable-hdpi-v14/twofortyfouram_locale_ic_menu_dontsave.png deleted file mode 100644 index 9b208222..00000000 Binary files a/taskerlocaleapi/src/main/res/drawable-hdpi-v14/twofortyfouram_locale_ic_menu_dontsave.png and /dev/null differ diff --git a/taskerlocaleapi/src/main/res/drawable-hdpi-v14/twofortyfouram_locale_ic_menu_help.png b/taskerlocaleapi/src/main/res/drawable-hdpi-v14/twofortyfouram_locale_ic_menu_help.png deleted file mode 100644 index f7b483de..00000000 Binary files a/taskerlocaleapi/src/main/res/drawable-hdpi-v14/twofortyfouram_locale_ic_menu_help.png and /dev/null differ diff --git a/taskerlocaleapi/src/main/res/drawable-hdpi-v14/twofortyfouram_locale_ic_menu_save.png b/taskerlocaleapi/src/main/res/drawable-hdpi-v14/twofortyfouram_locale_ic_menu_save.png deleted file mode 100644 index dffe5646..00000000 Binary files a/taskerlocaleapi/src/main/res/drawable-hdpi-v14/twofortyfouram_locale_ic_menu_save.png and /dev/null differ diff --git a/taskerlocaleapi/src/main/res/drawable-ldpi-v14/twofortyfouram_locale_ic_menu_dontsave.png b/taskerlocaleapi/src/main/res/drawable-ldpi-v14/twofortyfouram_locale_ic_menu_dontsave.png deleted file mode 100644 index b9a66c85..00000000 Binary files a/taskerlocaleapi/src/main/res/drawable-ldpi-v14/twofortyfouram_locale_ic_menu_dontsave.png and /dev/null differ diff --git a/taskerlocaleapi/src/main/res/drawable-ldpi-v14/twofortyfouram_locale_ic_menu_help.png b/taskerlocaleapi/src/main/res/drawable-ldpi-v14/twofortyfouram_locale_ic_menu_help.png deleted file mode 100644 index da13c6ff..00000000 Binary files a/taskerlocaleapi/src/main/res/drawable-ldpi-v14/twofortyfouram_locale_ic_menu_help.png and /dev/null differ diff --git a/taskerlocaleapi/src/main/res/drawable-ldpi-v14/twofortyfouram_locale_ic_menu_save.png b/taskerlocaleapi/src/main/res/drawable-ldpi-v14/twofortyfouram_locale_ic_menu_save.png deleted file mode 100644 index e62bab48..00000000 Binary files a/taskerlocaleapi/src/main/res/drawable-ldpi-v14/twofortyfouram_locale_ic_menu_save.png and /dev/null differ diff --git a/taskerlocaleapi/src/main/res/drawable-mdpi-v14/twofortyfouram_locale_ic_menu_dontsave.png b/taskerlocaleapi/src/main/res/drawable-mdpi-v14/twofortyfouram_locale_ic_menu_dontsave.png deleted file mode 100644 index 104fdfa9..00000000 Binary files a/taskerlocaleapi/src/main/res/drawable-mdpi-v14/twofortyfouram_locale_ic_menu_dontsave.png and /dev/null differ diff --git a/taskerlocaleapi/src/main/res/drawable-mdpi-v14/twofortyfouram_locale_ic_menu_help.png b/taskerlocaleapi/src/main/res/drawable-mdpi-v14/twofortyfouram_locale_ic_menu_help.png deleted file mode 100644 index adfaa72d..00000000 Binary files a/taskerlocaleapi/src/main/res/drawable-mdpi-v14/twofortyfouram_locale_ic_menu_help.png and /dev/null differ diff --git a/taskerlocaleapi/src/main/res/drawable-mdpi-v14/twofortyfouram_locale_ic_menu_save.png b/taskerlocaleapi/src/main/res/drawable-mdpi-v14/twofortyfouram_locale_ic_menu_save.png deleted file mode 100644 index 2064eff7..00000000 Binary files a/taskerlocaleapi/src/main/res/drawable-mdpi-v14/twofortyfouram_locale_ic_menu_save.png and /dev/null differ diff --git a/taskerlocaleapi/src/main/res/drawable-xhdpi-v14/twofortyfouram_locale_ic_menu_dontsave.png b/taskerlocaleapi/src/main/res/drawable-xhdpi-v14/twofortyfouram_locale_ic_menu_dontsave.png deleted file mode 100644 index 89ce539d..00000000 Binary files a/taskerlocaleapi/src/main/res/drawable-xhdpi-v14/twofortyfouram_locale_ic_menu_dontsave.png and /dev/null differ diff --git a/taskerlocaleapi/src/main/res/drawable-xhdpi-v14/twofortyfouram_locale_ic_menu_help.png b/taskerlocaleapi/src/main/res/drawable-xhdpi-v14/twofortyfouram_locale_ic_menu_help.png deleted file mode 100644 index 0755fbb8..00000000 Binary files a/taskerlocaleapi/src/main/res/drawable-xhdpi-v14/twofortyfouram_locale_ic_menu_help.png and /dev/null differ diff --git a/taskerlocaleapi/src/main/res/drawable-xhdpi-v14/twofortyfouram_locale_ic_menu_save.png b/taskerlocaleapi/src/main/res/drawable-xhdpi-v14/twofortyfouram_locale_ic_menu_save.png deleted file mode 100644 index 9e2dd9fc..00000000 Binary files a/taskerlocaleapi/src/main/res/drawable-xhdpi-v14/twofortyfouram_locale_ic_menu_save.png and /dev/null differ diff --git a/taskerlocaleapi/src/main/res/drawable/twofortyfouram_locale_ic_menu_dontsave.xml b/taskerlocaleapi/src/main/res/drawable/twofortyfouram_locale_ic_menu_dontsave.xml deleted file mode 100644 index e12356dc..00000000 --- a/taskerlocaleapi/src/main/res/drawable/twofortyfouram_locale_ic_menu_dontsave.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/drawable/twofortyfouram_locale_ic_menu_help.xml b/taskerlocaleapi/src/main/res/drawable/twofortyfouram_locale_ic_menu_help.xml deleted file mode 100644 index 94d3ed36..00000000 --- a/taskerlocaleapi/src/main/res/drawable/twofortyfouram_locale_ic_menu_help.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/drawable/twofortyfouram_locale_ic_menu_save.xml b/taskerlocaleapi/src/main/res/drawable/twofortyfouram_locale_ic_menu_save.xml deleted file mode 100644 index bcf17fd2..00000000 --- a/taskerlocaleapi/src/main/res/drawable/twofortyfouram_locale_ic_menu_save.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - diff --git a/taskerlocaleapi/src/main/res/menu/twofortyfouram_locale_help_save_dontsave.xml b/taskerlocaleapi/src/main/res/menu/twofortyfouram_locale_help_save_dontsave.xml deleted file mode 100644 index 52eade34..00000000 --- a/taskerlocaleapi/src/main/res/menu/twofortyfouram_locale_help_save_dontsave.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - -

- - - - - - - - - - - - - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-cs/strings-cs.xml b/taskerlocaleapi/src/main/res/values-cs/strings-cs.xml deleted file mode 100644 index c934a9e7..00000000 --- a/taskerlocaleapi/src/main/res/values-cs/strings-cs.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - Zrušit - Nápověda - Hotovo - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-de/strings-de.xml b/taskerlocaleapi/src/main/res/values-de/strings-de.xml deleted file mode 100644 index 7bdd70ea..00000000 --- a/taskerlocaleapi/src/main/res/values-de/strings-de.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - Abbrechen - Hilfe - Fertig - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-es/strings-es.xml b/taskerlocaleapi/src/main/res/values-es/strings-es.xml deleted file mode 100644 index a73a5817..00000000 --- a/taskerlocaleapi/src/main/res/values-es/strings-es.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - Cancelar - Ayuda - Listo - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-fr/strings-fr.xml b/taskerlocaleapi/src/main/res/values-fr/strings-fr.xml deleted file mode 100644 index 6357ced6..00000000 --- a/taskerlocaleapi/src/main/res/values-fr/strings-fr.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - Annuler - Aide - OK - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-hdpi/integers.xml b/taskerlocaleapi/src/main/res/values-hdpi/integers.xml deleted file mode 100644 index 92f91104..00000000 --- a/taskerlocaleapi/src/main/res/values-hdpi/integers.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - 60 - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-it/strings-it.xml b/taskerlocaleapi/src/main/res/values-it/strings-it.xml deleted file mode 100644 index 439c5eb0..00000000 --- a/taskerlocaleapi/src/main/res/values-it/strings-it.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - Annulla - Aiuto - Fine - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-ja/strings-ja.xml b/taskerlocaleapi/src/main/res/values-ja/strings-ja.xml deleted file mode 100644 index bd3a8692..00000000 --- a/taskerlocaleapi/src/main/res/values-ja/strings-ja.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - キャンセル - ヘルプ - 完了 - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-ko/strings-ko.xml b/taskerlocaleapi/src/main/res/values-ko/strings-ko.xml deleted file mode 100644 index 0b24297a..00000000 --- a/taskerlocaleapi/src/main/res/values-ko/strings-ko.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - 취소 - 도움말 - 완료 - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-ldpi/integers.xml b/taskerlocaleapi/src/main/res/values-ldpi/integers.xml deleted file mode 100644 index 667317e8..00000000 --- a/taskerlocaleapi/src/main/res/values-ldpi/integers.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - 45 - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-mdpi/integers.xml b/taskerlocaleapi/src/main/res/values-mdpi/integers.xml deleted file mode 100644 index 5de6c29f..00000000 --- a/taskerlocaleapi/src/main/res/values-mdpi/integers.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - 50 - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-nb/strings-nb.xml b/taskerlocaleapi/src/main/res/values-nb/strings-nb.xml deleted file mode 100644 index 97ce7e68..00000000 --- a/taskerlocaleapi/src/main/res/values-nb/strings-nb.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - Avbryt - Hjelp - Ferdig - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-nl/strings-nl.xml b/taskerlocaleapi/src/main/res/values-nl/strings-nl.xml deleted file mode 100644 index 3dd3ee82..00000000 --- a/taskerlocaleapi/src/main/res/values-nl/strings-nl.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - Annuleren - Help - Gereed - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-pt-rBR/strings-pt-rBR.xml b/taskerlocaleapi/src/main/res/values-pt-rBR/strings-pt-rBR.xml deleted file mode 100644 index ccfa8492..00000000 --- a/taskerlocaleapi/src/main/res/values-pt-rBR/strings-pt-rBR.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - Cancelar - Ajuda - Concluído - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-ru/strings-ru.xml b/taskerlocaleapi/src/main/res/values-ru/strings-ru.xml deleted file mode 100644 index f0b677e7..00000000 --- a/taskerlocaleapi/src/main/res/values-ru/strings-ru.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - Отмена - Помощь - Готово - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-sv/strings-sv.xml b/taskerlocaleapi/src/main/res/values-sv/strings-sv.xml deleted file mode 100644 index 2aad4867..00000000 --- a/taskerlocaleapi/src/main/res/values-sv/strings-sv.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - Avbryt - Hjälp - Klar - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-v11/styles.xml b/taskerlocaleapi/src/main/res/values-v11/styles.xml deleted file mode 100644 index 2efc5dc2..00000000 --- a/taskerlocaleapi/src/main/res/values-v11/styles.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values-vi/strings-vi.xml b/taskerlocaleapi/src/main/res/values-vi/strings-vi.xml deleted file mode 100644 index db3cc6fc..00000000 --- a/taskerlocaleapi/src/main/res/values-vi/strings-vi.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - %1$s%2$s%3$s - \u0020>\u0020 - Hủy - Giúp đỡ - Xong - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values/id.xml b/taskerlocaleapi/src/main/res/values/id.xml deleted file mode 100644 index b093316c..00000000 --- a/taskerlocaleapi/src/main/res/values/id.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values/strings-en.xml b/taskerlocaleapi/src/main/res/values/strings-en.xml deleted file mode 100644 index 2eb934ed..00000000 --- a/taskerlocaleapi/src/main/res/values/strings-en.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - %1$s%2$s%3$s - - - \u0020>\u0020 - - - Cancel - - - Help - - - Done - - \ No newline at end of file diff --git a/taskerlocaleapi/src/main/res/values/styles.xml b/taskerlocaleapi/src/main/res/values/styles.xml deleted file mode 100644 index c329d5cf..00000000 --- a/taskerlocaleapi/src/main/res/values/styles.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - -