Skip to content
Commit ee3a48ee authored by Abodunrinwa Toki's avatar Abodunrinwa Toki
Browse files

Implement TextClassifierImpl.detectLanguage()

- Includes some fixes to handle null ParcelFileDescriptors.
- Closes fds immediately after the model has been loaded.

Bug: 116020587
Test: atest android.view.textclassifier.TextClassificationManagerTest
Change-Id: Ieb05d081847ac218d2a5b46db95cd512838f67ab
parent c2896a27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment