From 84a8d0d44df935b63207525ab2bb83be9a7b247c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Mon, 15 Jan 2024 14:59:13 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"=E3=82=A2=E3=82=AF=E3=83=86=E3=82=A3?= =?UTF-8?q?=E3=83=93=E3=83=86=E3=82=A3=E4=BD=9C=E6=88=90"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 5b1461ff2614dc33db408b093c949ea546232341. --- component/scanner/build.gradle | 2 -- .../scanner/src/main/AndroidManifest.xml | 6 ----- .../scanner/ScannerOverrideActivity.java | 24 ------------------- .../res/layout/activity_scanner_override.xml | 10 -------- 4 files changed, 42 deletions(-) delete mode 100644 component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerOverrideActivity.java delete mode 100644 component/scanner/src/main/res/layout/activity_scanner_override.xml diff --git a/component/scanner/build.gradle b/component/scanner/build.gradle index defa4b6e..735535ff 100644 --- a/component/scanner/build.gradle +++ b/component/scanner/build.gradle @@ -30,8 +30,6 @@ dependencies { implementation libs.androidx.appcompat implementation libs.com.google.android.material - implementation libs.androidx.activity - implementation libs.androidx.constraintlayout testImplementation libs.junit androidTestImplementation libs.androidx.test.ext.junit androidTestImplementation libs.androidx.test.espresso.core diff --git a/component/scanner/src/main/AndroidManifest.xml b/component/scanner/src/main/AndroidManifest.xml index 2b9f05ea..a5918e68 100644 --- a/component/scanner/src/main/AndroidManifest.xml +++ b/component/scanner/src/main/AndroidManifest.xml @@ -1,10 +1,4 @@ - - - - \ No newline at end of file diff --git a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerOverrideActivity.java b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerOverrideActivity.java deleted file mode 100644 index 67b4959d..00000000 --- a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerOverrideActivity.java +++ /dev/null @@ -1,24 +0,0 @@ -package one.nem.lacerta.component.scanner; - -import android.os.Bundle; - -import androidx.activity.EdgeToEdge; -import androidx.appcompat.app.AppCompatActivity; -import androidx.core.graphics.Insets; -import androidx.core.view.ViewCompat; -import androidx.core.view.WindowInsetsCompat; - -public class ScannerOverrideActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - EdgeToEdge.enable(this); - setContentView(R.layout.activity_scanner_override); - ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> { - Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars()); - v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom); - return insets; - }); - } -} \ No newline at end of file diff --git a/component/scanner/src/main/res/layout/activity_scanner_override.xml b/component/scanner/src/main/res/layout/activity_scanner_override.xml deleted file mode 100644 index 98d3e3db..00000000 --- a/component/scanner/src/main/res/layout/activity_scanner_override.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - \ No newline at end of file