-
Notifications
You must be signed in to change notification settings - Fork 93
fix javadoc generation #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -25,7 +25,6 @@ | |||
import android.os.Build; | ||||
import android.os.IBinder; | ||||
import android.preference.PreferenceManager; | ||||
import androidx.core.app.NotificationCompat; | ||||
import android.util.Log; | ||||
|
||||
import java.io.File; | ||||
|
@@ -242,7 +241,7 @@ private Notification makeNotification(Intent intent, int icon, String title, Str | |||
} | ||||
|
||||
PendingIntent pi = PendingIntent.getActivity(getApplicationContext(), 0, intent, PendingIntent.FLAG_IMMUTABLE); | ||||
return new NotificationCompat.Builder(PdService.this, TAG) | ||||
return new Notification.Builder(PdService.this, TAG) | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What compatibility with old versions is being lost by this change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there again, my comprehension is limited... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By the way, here's where the javadoc errors are ignored in CI: pd-for-android/PdCore/build.gradle Line 109 in 395ff52
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Of course! |
||||
.setSmallIcon(icon) | ||||
.setContentTitle(title) | ||||
.setTicker(title) | ||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What else is imported?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not pretending I fully understand this, but I think the problem comes from
R
is not defined at the moment javadoc runs. So replacingorg.puredata.android.service.R
withorg.puredata.android.service.*
fixes the javadoc issue (that's a hack I found on the net when I tried to fix this).