Skip to content

Commit

Permalink
Remove all third_party apps in recovery mode. (flutter#3197)
Browse files Browse the repository at this point in the history
The filters were incorrect and given that we are alredy getting only the list of third_party apps we are removing the unnecessary filter.

Bug: flutter/flutter#135035
  • Loading branch information
godofredoc authored Oct 27, 2023
1 parent 7f652fd commit c182851
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cipd_packages/device_doctor/lib/src/android_device.dart
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,7 @@ class AndroidDevice implements Device {
if (packageMatch != null) {
final packageName = packageMatch.group(1);
if (packageName != null) {
if (packageName.contains('/data/app/com.example') |
packageName.contains('/data/app/com.yourcompany') |
packageName.contains('flutter')) {
packages.add(packageName);
}
packages.add(packageName);
}
}
});
Expand Down

0 comments on commit c182851

Please sign in to comment.