박정현

코드 수정

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.talktalkspeak">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<application
android:allowBackup="true"
......@@ -12,10 +15,10 @@
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<activity android:name="com.example.talktalkspeak.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
......
......@@ -203,7 +203,7 @@ public class MainActivity extends AppCompatActivity implements TextToSpeech.OnIn
registerReceiver(this.kakaoReceiver, new IntentFilter("android.service.notification.NotificationListenerService"));
setSeekBar();
if (!permissionGrantred()) {
startActivity(new Intent("android.setting.ACTION_NOTIFICATION_LISTENER_SETTINGS"));
startActivity(new Intent("android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS"));
}
}
......