必威体育Betway必威体育官网
当前位置:首页 > IT技术

adsf

时间:2019-06-16 18:40:00来源:IT技术作者:seo实验室小编阅读:56次「手机版」
 

adsf

public SystemSensorManager(context context, Looper mainLooper) { mMainLooper = mainLooper; mTargetSdkLevel = context.getAPPlicationInfo().targetSdkVersion; synchronized(sSensorModuleLock) { if (!sSensorModuleInitialized) { sSensorModuleInitialized = true; nativeClassInit(); // initialize the sensor list final ArrayList fullList = sFullSensorsList; int i = 0; do { Sensor sensor = new Sensor(); i = nativeGetNextSensor(sensor, i); if (i>=0) { //Log.d(TAG, "found sensor: " + sensor.getName() + // ", handle=" + sensor.getHandle()); fullList.add(sensor); sHandleToSensor.append(sensor.getHandle(), sensor); } } while (i>0); } } }

相关阅读

分享到:

栏目导航

推荐阅读

热门阅读