Checklist
Affected version
0.27.7
Steps to reproduce the bug
Crash when start NewPipe in Automotive
SkyTubeApp.java
line 354
public static void setFeedUpdateInterval(int interval) {
Intent alarm = new Intent(getContext(), FeedUpdaterReceiver.class);
PendingIntent pendingIntent = PendingIntent.getBroadcast(getContext(), 0, alarm, PendingIntent.FLAG_CANCEL_CURRENT);
Changed to fix the problem, suggested by Android Studio, may not be the right fix:
PendingIntent pendingIntent = PendingIntent.getBroadcast(getContext(), 0, alarm, PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE);
Expected behavior
No response
Actual behavior
No response
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
No response
Affected device model
No response
Additional information
No response
Checklist
Affected version
0.27.7
Steps to reproduce the bug
Crash when start NewPipe in Automotive
SkyTubeApp.java
line 354
public static void setFeedUpdateInterval(int interval) {
Intent alarm = new Intent(getContext(), FeedUpdaterReceiver.class);
PendingIntent pendingIntent = PendingIntent.getBroadcast(getContext(), 0, alarm, PendingIntent.FLAG_CANCEL_CURRENT);
Changed to fix the problem, suggested by Android Studio, may not be the right fix:
PendingIntent pendingIntent = PendingIntent.getBroadcast(getContext(), 0, alarm, PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE);
Expected behavior
No response
Actual behavior
No response
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
No response
Affected device model
No response
Additional information
No response