Renamed Main to MainActivity
This commit is contained in:
parent
d1e7eb0cb3
commit
2043fc7aee
@ -25,7 +25,7 @@
|
||||
<activity android:name=".ListeningActivity"
|
||||
android:theme="@style/Theme.Transparent" />
|
||||
|
||||
<activity android:name=".Main"
|
||||
<activity android:name=".MainActivity"
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
@ -13,7 +13,7 @@ import androidx.appcompat.app.AppCompatActivity;
|
||||
import androidx.core.app.ActivityCompat;
|
||||
import androidx.core.content.ContextCompat;
|
||||
|
||||
public class Main extends AppCompatActivity {
|
||||
public class MainActivity extends AppCompatActivity {
|
||||
private boolean hasPermissions() {
|
||||
return ActivityCompat.checkSelfPermission(this, Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED;
|
||||
}
|
@ -3,7 +3,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".Main">
|
||||
tools:context=".MainActivity">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
|
Loading…
Reference in New Issue
Block a user