Skip to content

Commit

Permalink
Update app/src/main/java/com/termux/app/TermuxActivity.java
Browse files Browse the repository at this point in the history
Co-authored-by: tuhana <github@tuhana.me>
  • Loading branch information
fornwall and catuhana authored Oct 5, 2023
1 parent 38408d4 commit 71eecd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/termux/app/TermuxActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ private void registerTermuxActivityBroadcastReceiver() {
intentFilter.addAction(TERMUX_ACTIVITY.ACTION_RELOAD_STYLE);
intentFilter.addAction(TERMUX_ACTIVITY.ACTION_REQUEST_PERMISSIONS);

if (Build.VERSION.SDK_INT >= 28 ) {
if (Build.VERSION.SDK_INT >= 28) {
registerReceiver(mTermuxActivityBroadcastReceiver, intentFilter, Context.RECEIVER_NOT_EXPORTED);
} else {
registerReceiver(mTermuxActivityBroadcastReceiver, intentFilter);
Expand Down

0 comments on commit 71eecd4

Please sign in to comment.