commit | 4ea1e4288985508e3e0f21febe4da242c86a7dd1 | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Wed Mar 11 13:15:28 2020 -0700 |
committer | Ryan Mitchell <rtmitchell@google.com> | Thu Mar 19 18:33:55 2020 -0700 |
tree | e66c14e354dab6b573f4ca8dd643642e35ef54d2 | |
parent | c07aa702703388747bd6e9b1091127e2736ffcd8 [diff] |
Move AssetsProvider to native layer Querying in the native layer for assets provided through AssetsProviders does not currently work. This change refactors the AssetProvider API to return a file descriptor that is read in the native layer and can bubble up to the java layer. This change also removes the InputStream API to favor of developers using memfd_create. Bug: 142716192 Test: atest ResourceLoaderValuesTest Change-Id: I1a7eca0994c3b7cc32008d9a72bf91086ff0e816