commit | ac04095ba91f262c9167985a8024607763d8cacc | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Fri Mar 30 16:13:53 2018 -0700 |
committer | Ryan Mitchell <rtmitchell@google.com> | Fri Mar 30 16:13:53 2018 -0700 |
tree | eb9fcd6c1187a2616368128b415da96d637af87b | |
parent | ecc58adba14232f5580720035ffb48bb4ddee1ba [diff] |
Fixed resource bag retrieval infinite recursion. An app was crashing because in an attempt to retrieve layout attribute/style data, the app infinitely recursed because its parent was set to itself. This change checks if the resource bag parent and child have the same ids, and if so, attempts to find the resource in this bag alone rather than attempting to also look in parent bags. Bug: 74493983 Test: Manual testing of Fitbit app Change-Id: Iea37533a0676bd51b72c9bb235adec9bd04f2ccc