Update PlayerView javadoc

Added a note about using TextureView only on hardware accelerated window.

Issue: #3901

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=187498594
This commit is contained in:
eguven 2018-03-01 10:39:39 -08:00 committed by Andrew Lewis
parent a3c8062e52
commit 380ec82881

View file

@ -111,7 +111,9 @@ import java.util.List;
* <li><b>{@code surface_type}</b> - The type of surface view used for video playbacks. Valid
* values are {@code surface_view}, {@code texture_view} and {@code none}. Using {@code none}
* is recommended for audio only applications, since creating the surface can be expensive.
* Using {@code surface_view} is recommended for video applications.
* Using {@code surface_view} is recommended for video applications. Note, TextureView can
* only be used in a hardware accelerated window. When rendered in software, TextureView will
* draw nothing.
* <ul>
* <li>Corresponding method: None
* <li>Default: {@code surface_view}