Use the context we have instead of RequestContext::getMain()

Change-Id: I2dd27a102c01d4fb1b761d9ed49f5116e73d9911
Merge "Use the context we have instead of RequestContext::getMain()"