summaryrefslogtreecommitdiffstats
path: root/mobile/android/focus-android/app/src/klarRelease
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/focus-android/app/src/klarRelease')
-rw-r--r--mobile/android/focus-android/app/src/klarRelease/java/org/mozilla/focus/utils/AdjustHelper.java14
-rw-r--r--mobile/android/focus-android/app/src/klarRelease/java/org/mozilla/focus/web/Config.kt10
-rw-r--r--mobile/android/focus-android/app/src/klarRelease/res/xml-v25/shortcuts.xml31
3 files changed, 55 insertions, 0 deletions
diff --git a/mobile/android/focus-android/app/src/klarRelease/java/org/mozilla/focus/utils/AdjustHelper.java b/mobile/android/focus-android/app/src/klarRelease/java/org/mozilla/focus/utils/AdjustHelper.java
new file mode 100644
index 0000000000..b0aa2e1835
--- /dev/null
+++ b/mobile/android/focus-android/app/src/klarRelease/java/org/mozilla/focus/utils/AdjustHelper.java
@@ -0,0 +1,14 @@
+/* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+package org.mozilla.focus.utils;
+
+import android.content.Context;
+
+public class AdjustHelper {
+ public static void setupAdjustIfNeeded(Context context) {
+ // DEBUG: No Adjust - This class has different implementations for all build types.
+ }
+}
diff --git a/mobile/android/focus-android/app/src/klarRelease/java/org/mozilla/focus/web/Config.kt b/mobile/android/focus-android/app/src/klarRelease/java/org/mozilla/focus/web/Config.kt
new file mode 100644
index 0000000000..33ddf545d7
--- /dev/null
+++ b/mobile/android/focus-android/app/src/klarRelease/java/org/mozilla/focus/web/Config.kt
@@ -0,0 +1,10 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+package org.mozilla.focus.web
+
+object Config {
+ const val EXPERIMENT_DESCRIPTOR_GECKOVIEW_ENGINE = "use-gecko"
+ const val EXPERIMENT_DESCRIPTOR_HOME_SCREEN_TIPS = "use-homescreen-tips"
+}
diff --git a/mobile/android/focus-android/app/src/klarRelease/res/xml-v25/shortcuts.xml b/mobile/android/focus-android/app/src/klarRelease/res/xml-v25/shortcuts.xml
new file mode 100644
index 0000000000..c35341d8c1
--- /dev/null
+++ b/mobile/android/focus-android/app/src/klarRelease/res/xml-v25/shortcuts.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
+ <shortcut
+ android:shortcutId="erase"
+ android:enabled="true"
+ android:icon="@drawable/ic_shortcut_erase"
+ android:shortcutShortLabel="@string/shortcut_erase_short_label"
+ android:shortcutLongLabel="@string/shortcut_erase_long_label">
+ <intent
+ android:action="erase"
+ android:targetPackage="org.mozilla.klar"
+ android:targetClass="org.mozilla.focus.activity.EraseShortcutActivity">
+ <extra android:name="shortcut" android:value="true" />
+ </intent>
+ </shortcut>
+ <shortcut
+ android:shortcutId="erase_and_open"
+ android:enabled="true"
+ android:icon="@drawable/ic_shortcut_erase"
+ android:shortcutShortLabel="@string/shortcut_erase_and_open_short_label">
+ <intent
+ android:action="erase"
+ android:targetPackage="org.mozilla.klar"
+ android:targetClass="org.mozilla.focus.activity.EraseAndOpenShortcutActivity">
+ <extra android:name="shortcut" android:value="true" />
+ </intent>
+ </shortcut>
+</shortcuts>