commit | eadd6d2329972129c96dee390a8b786b37313d17 | [log] [tgz] |
---|---|---|
author | Hyundo Moon <hdmoon@google.com> | Tue Aug 16 15:46:37 2016 +0900 |
committer | Hyundo Moon <hdmoon@google.com> | Fri Aug 19 15:07:33 2016 +0900 |
tree | da2ab5e6ed663095cac6cb702ec5d7dca45f60b2 | |
parent | 2987af70714ba807722f4548bcf71370b94ec20d [diff] |
MediaRouter: Make sStatic.mResources store application resources. Previously it stored system resources, and that caused Resources.NotFoundException in following methods: - RouteInfo.getName() - RouteCategory.getName() - UserRouteInfo.setIconResource(int) - RouteGroup.setIconResource(int) Also, this CL makes getName()/setName() methods work properly. Bug: 30797944 Test: run a simple app that calls above methods. Change-Id: Ia5db57c3d7b71c91dcfeea0584867ee2d846fef9