summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptIntrinsicResize.java
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2016-04-18 12:14:12 -0700
committerAdam Lesinski <adamlesinski@google.com>2016-04-18 12:14:12 -0700
commitff22a56ef88214381cc9955f9a32d0e8d4db228f (patch)
tree5cea70591f69ec7673f7f40f2c385bfa73763eee /rs/java/android/renderscript/ScriptIntrinsicResize.java
parent7e25024758c2aff4b70024c70d931f81ad25cbd6 (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
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsicResize.java')
0 files changed, 0 insertions, 0 deletions