android 蓝牙设置参数修改
作者:互联网
一. 修改蓝牙名称:
system\bluetooth\data\main.conf !12
-Name = %m
+Name = LeaderUp
二. 修改蓝牙可被发现时间:
packages\apps\Settings\src\com\android\settings\bluetooth\RequestPermissionActivity.java !46
private static final int MAX_DISCOVERABLE_TIMEOUT = 300; //最大可发现时间
packages\apps\Settings\src\com\android\settings\bluetooth\BluetoothDiscoverableEnabler.java !42
/* package */ static final int DEFAULT_DISCOVERABLE_TIMEOUT = 120; //默认可发现时间
标签:java,apps,蓝牙,bluetooth,参数,TIMEOUT,android 来源: https://blog.51cto.com/u_15298588/3034245