Skip to content

Commit

Permalink
fix(Android) - remove some unused imports in canvas utils (facebook#4…
Browse files Browse the repository at this point in the history
…7132)

Summary:
Was working on something, saw that CanvasUtils has some unused imports. Figured i'd send a PR to clean up.

## Changelog:

[INTERNAL] [FIXED] - Cleanup CanvasUtils imports

Pull Request resolved: facebook#47132

Test Plan:
Ran yarn test:

<img width="513" alt="Screenshot 2024-10-19 at 22 54 13" src="https://github.com/user-attachments/assets/6ca86852-cab5-425a-b71c-785c7d1ea95e">

Also tried running ./gradlew test, but it appears it is not having fun with my Node version (18.20.3), so `createBundleHermesReleaseJsAndAssets` randomly fails, to be investigated why:

<img width="1515" alt="Screenshot 2024-10-19 at 22 56 02" src="https://github.com/user-attachments/assets/f860cdc5-4f42-4d54-9497-7eaa028b6bc6">

Reviewed By: NickGerleman

Differential Revision: D64663918

Pulled By: cortinico

fbshipit-source-id: a681d6ee76dfcbc56889e76da6cf8ea11907bdf2
  • Loading branch information
TheRogue76 authored and facebook-github-bot committed Oct 21, 2024
1 parent e7a3f47 commit 5697d92
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ package com.facebook.react.views.view
import android.annotation.SuppressLint
import android.graphics.Canvas
import android.os.Build
import android.os.Build.VERSION
import android.os.Build.VERSION.SDK_INT
import android.os.Build.VERSION_CODES
import android.os.Build.VERSION_CODES.P
import android.os.Build.VERSION_CODES.Q
import java.lang.reflect.InvocationTargetException
import java.lang.reflect.Method

Expand Down

0 comments on commit 5697d92

Please sign in to comment.