app/src/main/java/com/auto/lyric/MainActivity.java
@@ -26,9 +26,6 @@ @Override public void initViews() { Intent inputService = new Intent(getApplicationContext(), AutoInputService.class); Intent floatService = new Intent(getApplicationContext(), FloatingWindowService.class); binding.button.setOnClickListener(v -> { @@ -75,7 +72,9 @@ startActivity(intent); }else{//开启监听服务 startService(floatService); startService(new Intent(this,AutoInputService.class)); } //startService(floatService); } }); }