Skip to content

Commit

Permalink
fixed bug to show application details settings, see #1076
Browse files Browse the repository at this point in the history
  • Loading branch information
oliexdev committed Nov 17, 2024
1 parent 8b43266 commit 8c36ee4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.provider.Settings;
Expand Down Expand Up @@ -185,7 +186,7 @@ public void onClick(DialogInterface dialogInterface, int i) {
builder.setMessage(R.string.permission_notification_info);
builder.setPositiveButton(R.string.label_ok, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialogInterface, int i) {
Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse("package:" + getContext().getPackageName()));
getContext().startActivity(intent);
}
});
Expand Down

0 comments on commit 8c36ee4

Please sign in to comment.