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:
fischman@webrtc.org 2013-10-17 20:53:12 +00:00
parent 2df89c0c8b
commit 1c82037494
2 changed files with 0 additions and 4 deletions

View File

@ -13,7 +13,6 @@
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<application android:label="@string/app_name"

View File

@ -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();
}
}