This makes ProviderTestCase2 work better by enabling code under test to make calls to context.getDatabasePath(). Without this fix the call throws an exception. It would be reasonable (and useful) to backport this to donut, but I'm not even building donut these days.