Skip to content

Commit

Permalink
remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahwilliams committed Feb 27, 2024
1 parent c405e38 commit ed8e432
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions shell/platform/android/platform_view_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@

namespace flutter {

constexpr int kMinimumAndroidApiLevelForVulkan = 29;

AndroidSurfaceFactoryImpl::AndroidSurfaceFactoryImpl(
const std::shared_ptr<AndroidContext>& context,
bool enable_impeller)
Expand Down
3 changes: 1 addition & 2 deletions shell/platform/android/platform_view_android_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ TEST(AndroidPlatformView, SoftwareRenderingNotSupportedWithImpeller) {
settings.enable_software_rendering = true;
settings.enable_impeller = true;

ASSERT_DEATH(FlutterMain::SelectedRenderingAPI(settings),
"Impeller does not support software rendering");
ASSERT_DEATH(FlutterMain::SelectedRenderingAPI(settings), "");
}

} // namespace testing
Expand Down

0 comments on commit ed8e432

Please sign in to comment.