mirror of
https://gitee.com/farsunset/cim.git
synced 2025-07-25 09:11:45 +08:00
Update CIMPushManager.java
This commit is contained in:
parent
7187bcc38f
commit
1e9e94a784
@ -174,7 +174,7 @@ public class CIMPushManager {
|
|||||||
* 异步获取与服务端连接状态,将会在广播中收到onConnectionStatus(boolean f)
|
* 异步获取与服务端连接状态,将会在广播中收到onConnectionStatus(boolean f)
|
||||||
* @param context
|
* @param context
|
||||||
*/
|
*/
|
||||||
public void detectIsConnected(Context context){
|
public static void detectIsConnected(Context context){
|
||||||
Intent serviceIntent = new Intent(context, CIMPushService.class);
|
Intent serviceIntent = new Intent(context, CIMPushService.class);
|
||||||
serviceIntent.putExtra(SERVICE_ACTION, ACTION_CONNECTION_STATUS);
|
serviceIntent.putExtra(SERVICE_ACTION, ACTION_CONNECTION_STATUS);
|
||||||
context.startService(serviceIntent);
|
context.startService(serviceIntent);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user