commit | ff22a56ef88214381cc9955f9a32d0e8d4db228f | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Mon Apr 18 12:14:12 2016 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Mon Apr 18 12:14:12 2016 -0700 |
tree | 5cea70591f69ec7673f7f40f2c385bfa73763eee | |
parent | 7e25024758c2aff4b70024c70d931f81ad25cbd6 [diff] |
Use Activity resources in DecorContext We use the application context in DecorContext to avoid holding a reference to the Activity. However, the resources don't match the Activity's in a multi-window world, so we use the resources from the Activity, which get updated as the Activity goes between multi-window states. This avoids holding a reference to the Activity. Bug:28096052 Change-Id: I2804f2420afad6dcecc56e5dece008c390540d72