-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[android_alarm_manager] Android Code Inspection and Clean up #3020
Conversation
| @@ -1 +1,2 @@ | |||
| org.gradle.jvmargs=-Xmx1536M | |||
| android.enableR8=true | |||
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 don't think we want this as part of this patch
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.
it's good, android.enableR8=true removed
| @@ -0,0 +1,5 @@ | |||
| distributionBase=GRADLE_USER_HOME | |||
| distributionPath=wrapper/dists | |||
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.
Did you mean to add this file?
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.
no, i will fix it now and push again , Thank you @dnfield
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.
it's good, I took care of all the comments
| Iterator<Intent> i = alarmQueue.iterator(); | ||
| while (i.hasNext()) { | ||
| flutterBackgroundExecutor.executeDartCallbackInBackgroundIsolate(i.next(), null); | ||
| /// 'while' loop replaceable with enhanced 'for' |
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.
Please remove thes e comments
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.
ah sorry my bad
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 juste removed all e commants like
/// 'while' loop replaceable with enhanced 'for'
dnfield
left a comment
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.
LGTM, thanks!
…#3020) -Werror and code cleanup for Java code.
…#3020) -Werror and code cleanup for Java code.
…#3020) -Werror and code cleanup for Java code.
Description
Handle deprecation & unchecked warning as error
Avoiding uses or overrides a deprecated API in FlutterBackgroundExecutor.java
'while' loop replaced with enhanced 'for'
'if' statement replaced with 'switch' statement
Remove Unnecessary 'Integer.toString()' call
A message is displayed when building for android:
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?