Loading android/app/AndroidManifest.xml +4 −1 Original line number Diff line number Diff line Loading @@ -519,9 +519,12 @@ <action android:name="android.bluetooth.IBluetoothPbapClient"/> </intent-filter> </service> <!-- Note: This service doesn't get started, it just indicates to the Authentication framework that we can create accounts of a specific type. As such, its safe to have as enabled on all targets and not just the ones that use PBAP Client --> <service android:process="@string/process" android:name="com.android.bluetooth.pbapclient.AuthenticationService" android:enabled="false" android:enabled="true" android:exported="true"> <intent-filter> <action android:name="android.accounts.AccountAuthenticator"/> Loading android/app/src/com/android/bluetooth/pbapclient/PbapClientService.java +0 −9 Original line number Diff line number Diff line Loading @@ -60,12 +60,6 @@ public class PbapClientService extends ProfileService { private static final String TAG = "PbapClientService"; private static final String SERVICE_NAME = "Phonebook Access PCE"; /** * The component names for the owned authenticator service */ private static final String AUTHENTICATOR_SERVICE = AuthenticationService.class.getCanonicalName(); // MAXIMUM_DEVICES set to 10 to prevent an excessive number of simultaneous devices. private static final int MAXIMUM_DEVICES = 10; private Map<BluetoothDevice, PbapClientStateMachine> mPbapClientStateMachineMap = Loading Loading @@ -94,8 +88,6 @@ public class PbapClientService extends ProfileService { mDatabaseManager = Objects.requireNonNull(AdapterService.getAdapterService().getDatabase(), "DatabaseManager cannot be null when PbapClientService starts"); setComponentAvailable(AUTHENTICATOR_SERVICE, true); IntentFilter filter = new IntentFilter(); filter.addAction(BluetoothDevice.ACTION_ACL_DISCONNECTED); // delay initial download until after the user is unlocked to add an account. Loading Loading @@ -128,7 +120,6 @@ public class PbapClientService extends ProfileService { pbapClientStateMachine.doQuit(); } removeUncleanAccounts(); setComponentAvailable(AUTHENTICATOR_SERVICE, false); return true; } Loading Loading
android/app/AndroidManifest.xml +4 −1 Original line number Diff line number Diff line Loading @@ -519,9 +519,12 @@ <action android:name="android.bluetooth.IBluetoothPbapClient"/> </intent-filter> </service> <!-- Note: This service doesn't get started, it just indicates to the Authentication framework that we can create accounts of a specific type. As such, its safe to have as enabled on all targets and not just the ones that use PBAP Client --> <service android:process="@string/process" android:name="com.android.bluetooth.pbapclient.AuthenticationService" android:enabled="false" android:enabled="true" android:exported="true"> <intent-filter> <action android:name="android.accounts.AccountAuthenticator"/> Loading
android/app/src/com/android/bluetooth/pbapclient/PbapClientService.java +0 −9 Original line number Diff line number Diff line Loading @@ -60,12 +60,6 @@ public class PbapClientService extends ProfileService { private static final String TAG = "PbapClientService"; private static final String SERVICE_NAME = "Phonebook Access PCE"; /** * The component names for the owned authenticator service */ private static final String AUTHENTICATOR_SERVICE = AuthenticationService.class.getCanonicalName(); // MAXIMUM_DEVICES set to 10 to prevent an excessive number of simultaneous devices. private static final int MAXIMUM_DEVICES = 10; private Map<BluetoothDevice, PbapClientStateMachine> mPbapClientStateMachineMap = Loading Loading @@ -94,8 +88,6 @@ public class PbapClientService extends ProfileService { mDatabaseManager = Objects.requireNonNull(AdapterService.getAdapterService().getDatabase(), "DatabaseManager cannot be null when PbapClientService starts"); setComponentAvailable(AUTHENTICATOR_SERVICE, true); IntentFilter filter = new IntentFilter(); filter.addAction(BluetoothDevice.ACTION_ACL_DISCONNECTED); // delay initial download until after the user is unlocked to add an account. Loading Loading @@ -128,7 +120,6 @@ public class PbapClientService extends ProfileService { pbapClientStateMachine.doQuit(); } removeUncleanAccounts(); setComponentAvailable(AUTHENTICATOR_SERVICE, false); return true; } Loading