Fixed incorrect instantiation of Resources class

Change-Id: I8b2c530ae9450165e084f769035a78552ca8d9ce
Merge "Fixed incorrect instantiation of Resources class"