更新时间:2023-02-22 11:15:06
您可以在api级别26之前使用service来实现,但是在api级别27上,服务会被操作系统自动终止.
you can achieve that using service till api level 26 but in api level 27 service will automatically kill by the os.