Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit aea1880

Browse files
Fix for a user-identified bug in the complete OCR sample. Thanks, davidtcdeveloper.
Merge remote-tracking branch 'goog/master' into github_live
2 parents 712ff7e + 6e32b80 commit aea1880

File tree

1 file changed

+0
-9
lines changed
  • visionSamples/ocr-reader/app/src/main/java/com/google/android/gms/samples/vision/ocrreader

1 file changed

+0
-9
lines changed

‎visionSamples/ocr-reader/app/src/main/java/com/google/android/gms/samples/vision/ocrreader/OcrGraphic.java‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,6 @@ public TextBlock getTextBlock() {
7373
return mText;
7474
}
7575

76-
/**
77-
* Updates the TextBlock instance from the detection of the most recent frame. Invalidates the
78-
* relevant portions of the overlay to trigger a redraw.
79-
*/
80-
void updateItem(TextBlock text) {
81-
mText = text;
82-
postInvalidate();
83-
}
84-
8576
/**
8677
* Checks whether a point is within the bounding box of this graphic.
8778
* The provided point should be relative to this graphic's containing overlay.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /