AppRTCDemo(android): remove vestigial mentions of PowerManager
R=henrike@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2402004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4995 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
		| @@ -34,7 +34,6 @@ import android.content.Intent; | ||||
| import android.graphics.Point; | ||||
| import android.media.AudioManager; | ||||
| import android.os.Bundle; | ||||
| import android.os.PowerManager; | ||||
| import android.util.Log; | ||||
| import android.view.WindowManager; | ||||
| import android.webkit.JavascriptInterface; | ||||
| @@ -88,7 +87,6 @@ public class AppRTCDemoActivity extends Activity | ||||
|   // Synchronize on quit[0] to avoid teardown-related crashes. | ||||
|   private final Boolean[] quit = new Boolean[] { false }; | ||||
|   private MediaConstraints sdpMediaConstraints; | ||||
|   private PowerManager.WakeLock wakeLock; | ||||
|  | ||||
|   @Override | ||||
|   public void onCreate(Bundle savedInstanceState) { | ||||
| @@ -547,7 +545,6 @@ public class AppRTCDemoActivity extends Activity | ||||
|         factory.dispose(); | ||||
|         factory = null; | ||||
|       } | ||||
|       wakeLock.release(); | ||||
|       finish(); | ||||
|     } | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 fischman@webrtc.org
					fischman@webrtc.org