单项选择题

启动服务必须管理自己的生命周期,服务必须调用()方法停止自身。

A.stopService()
B.onStopCommand()
C.stop()
D.stopSelf()