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