mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-26 23:25:20 +03:00
remove permission LOCAL_MAC_ADDRESS need
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
3caa02f535
commit
6386bb05d7
2 changed files with 4 additions and 5 deletions
|
@ -43,7 +43,6 @@
|
||||||
<uses-permission
|
<uses-permission
|
||||||
android:name="android.permission.GET_ACCOUNTS"
|
android:name="android.permission.GET_ACCOUNTS"
|
||||||
android:maxSdkVersion="22" />
|
android:maxSdkVersion="22" />
|
||||||
<uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" />
|
|
||||||
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
|
|
|
@ -42,6 +42,7 @@ import android.content.Intent;
|
||||||
import android.content.IntentFilter;
|
import android.content.IntentFilter;
|
||||||
import android.content.pm.PackageManager;
|
import android.content.pm.PackageManager;
|
||||||
import android.media.AudioManager;
|
import android.media.AudioManager;
|
||||||
|
import android.os.Build;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.os.Looper;
|
import android.os.Looper;
|
||||||
import android.os.Process;
|
import android.os.Process;
|
||||||
|
@ -319,8 +320,7 @@ public class MagicBluetoothManager {
|
||||||
Log.d(TAG, "BluetoothAdapter: "
|
Log.d(TAG, "BluetoothAdapter: "
|
||||||
+ "enabled=" + localAdapter.isEnabled() + ", "
|
+ "enabled=" + localAdapter.isEnabled() + ", "
|
||||||
+ "state=" + stateToString(localAdapter.getState()) + ", "
|
+ "state=" + stateToString(localAdapter.getState()) + ", "
|
||||||
+ "name=" + localAdapter.getName() + ", "
|
+ "name=" + localAdapter.getName());
|
||||||
+ "address=" + localAdapter.getAddress());
|
|
||||||
// Log the set of BluetoothDevice objects that are bonded (paired) to the local adapter.
|
// Log the set of BluetoothDevice objects that are bonded (paired) to the local adapter.
|
||||||
Set<BluetoothDevice> pairedDevices = localAdapter.getBondedDevices();
|
Set<BluetoothDevice> pairedDevices = localAdapter.getBondedDevices();
|
||||||
if (!pairedDevices.isEmpty()) {
|
if (!pairedDevices.isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue