commit | 0c0e82a84cb246587204061b05177730f81ae2b4 | [log] [tgz] |
---|---|---|
author | Cătălin Tudor <catalintudor@google.com> | Thu Oct 18 18:32:49 2018 +0100 |
committer | Cătălin Tudor <catalintudor@google.com> | Wed Oct 24 16:14:15 2018 +0100 |
tree | aff0d6eb384b3346225ab1953b1f850a42dcbbdb | |
parent | a68e3ccd83ef68645d64676df7c58a98f43dea9d [diff] |
Moved LayoutInflater#mContext to dark grey list In LayoutInflater, moved the member mContext to dark grey list of APIs, disabling access for apps targeting Q. Developers should use the provided getter getContext to retrieve the context or the method cloneInContext to create a LayoutInflater copy with a different context. Both methods are available since API 1. Bug: 117519957 Test: android.view.cts.LayoutInflaterTest Change-Id: Id86969dddb14fafd76fda1b0a97c7f8fc09aca3e