public static void finishStartingService(Service service, int i) { synchronized (sStartingServiceSync) { if (sStartingService != null && service.stopSelfResult(i)) { Log.d("DockEventReceiver", "finishStartingService: stopping service"); sStartingService.release(); } } return; exception; obj; JVM INSTR monitorexit ; throw exception; }
private static void beginStartingService(Context context, Intent intent) { synchronized (sStartingServiceSync) { if (sStartingService == null) sStartingService = ((PowerManager)context.getSystemService("power")).newWakeLock(1, "StartingDockService"); sStartingService.acquire(); if (context.startService(intent) == null) Log.e("DockEventReceiver", "Can't start DockService"); } return; exception; obj; JVM INSTR monitorexit ; throw exception; }