diff options
author | Josiah Gaskin <josiahgaskin@google.com> | 2014-07-31 10:01:40 -0700 |
---|---|---|
committer | Josiah Gaskin <josiahgaskin@google.com> | 2014-07-31 18:22:15 +0000 |
commit | c423c79d7b8adf17f570f299f642b6aabc8aaf48 (patch) | |
tree | 8074f6d40cf8d134d77220275b014a0522d80836 /android/testData/projects | |
parent | 37406e53a6e167077f955a07c9820839b0b876d8 (diff) | |
download | idea-c423c79d7b8adf17f570f299f642b6aabc8aaf48.tar.gz |
Parameter Validation: Improve existence detection
For template parameters which have the exists/unique constraints
we were not properly detecting items which were not declared in
named files (e.g. layout aliases). This change replaces the old
file-based detection method with proper calls to the resource repository
for the res folders inside a given source set.
If there isn't a facet available, we fall back to the file based
detection system.
Fixes https://code.google.com/p/android/issues/detail?id=74253
Change-Id: I879ee823bead63d5e3775ecf85a37e01cd6c32fa
Diffstat (limited to 'android/testData/projects')
-rw-r--r-- | android/testData/projects/projectWithAppandLib/app/src/main/res/values/refs.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android/testData/projects/projectWithAppandLib/app/src/main/res/values/refs.xml b/android/testData/projects/projectWithAppandLib/app/src/main/res/values/refs.xml new file mode 100644 index 00000000000..b7b554c74c5 --- /dev/null +++ b/android/testData/projects/projectWithAppandLib/app/src/main/res/values/refs.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> + +<resources> + <item name="fragment_foo" type="layout">@layout/fragment_main</item> +</resources>
\ No newline at end of file |