Replaced legacy method calls to ResourceManager.findResourceId().