mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Lawnchair: Simplify structure, update app name
This commit is contained in:
Submodule IconLoader updated: 4fcec24e32...c3312bd1ae
1
lawnchair/.gitignore
vendored
1
lawnchair/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
/build
|
||||
@@ -17,6 +17,14 @@ android {
|
||||
consumerProguardFiles "consumer-rules.pro"
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
res.srcDirs = ['res']
|
||||
java.srcDirs = ['src']
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
|
||||
21
lawnchair/proguard-rules.pro
vendored
21
lawnchair/proguard-rules.pro
vendored
@@ -1,21 +0,0 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
4
lawnchair/res/values/strings.xml
Normal file
4
lawnchair/res/values/strings.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<string name="derived_app_name" tools:override="true">Lawnchair</string>
|
||||
</resources>
|
||||
@@ -1,24 +0,0 @@
|
||||
package ch.deletescape.lawnchair
|
||||
|
||||
import androidx.test.platform.app.InstrumentationRegistry
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4
|
||||
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
import org.junit.Assert.*
|
||||
|
||||
/**
|
||||
* Instrumented test, which will execute on an Android device.
|
||||
*
|
||||
* See [testing documentation](http://d.android.com/tools/testing).
|
||||
*/
|
||||
@RunWith(AndroidJUnit4::class)
|
||||
class ExampleInstrumentedTest {
|
||||
@Test
|
||||
fun useAppContext() {
|
||||
// Context of the app under test.
|
||||
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
|
||||
assertEquals("ch.deletescape.lawnchair.test", appContext.packageName)
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
package ch.deletescape.lawnchair
|
||||
|
||||
import org.junit.Test
|
||||
|
||||
import org.junit.Assert.*
|
||||
|
||||
/**
|
||||
* Example local unit test, which will execute on the development machine (host).
|
||||
*
|
||||
* See [testing documentation](http://d.android.com/tools/testing).
|
||||
*/
|
||||
class ExampleUnitTest {
|
||||
@Test
|
||||
fun addition_isCorrect() {
|
||||
assertEquals(4, 2 + 2)
|
||||
}
|
||||
}
|
||||
@@ -19,7 +19,7 @@
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Application name -->
|
||||
<string name="derived_app_name" translatable="false">Quickstep</string>
|
||||
<!-- <string name="derived_app_name" translatable="false">Quickstep</string>-->
|
||||
|
||||
<!-- Options for recent tasks -->
|
||||
<!-- Title for an option to enter split screen mode for a given app -->
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<!-- A string pointer to the original app name string. This allows derived projects to
|
||||
easily override the app name without providing all translations -->
|
||||
<string name="derived_app_name" translatable="false">@string/app_name</string>
|
||||
<!-- <string name="derived_app_name" translatable="false">@string/app_name</string>-->
|
||||
|
||||
<!-- String representing the intent for search on the apps market. To specify a query, add
|
||||
q=<query> to the data to the intent -->
|
||||
|
||||
Reference in New Issue
Block a user