mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-21 00:05:15 +02:00
UI support to cleanup bluetooth bonded devices (#757)
Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
This commit is contained in:
committed by
GitHub
parent
c481720dd7
commit
806bfa4087
@@ -50,6 +50,12 @@ module.exports = function DeviceSettingsCtrl($scope, $timeout) {
|
||||
}
|
||||
}
|
||||
|
||||
$scope.cleanBluetoothBondedDevices = function() {
|
||||
if ($scope.control) {
|
||||
$scope.control.cleanBluetoothBondedDevices()
|
||||
}
|
||||
}
|
||||
|
||||
$scope.$watch('ringerMode', function(newValue, oldValue) {
|
||||
if (oldValue) {
|
||||
if ($scope.control) {
|
||||
|
||||
Reference in New Issue
Block a user