如何区分给定的Context对象是Activity还是Service Context?