首先直接说结论: 1.config.xml是平台性的默认配置文件; 2.defaults.xml是系统应用中provider里面的默认值; 这个两个默认配置直接是交集关系,那么谁的优先级高呢?
public DisplayPowerController(Context context,
369 DisplayPowerCallbacks callbacks, Handler handler,
370 SensorManager sensorManager, DisplayBlanker blanker) {
371 mHandler = new DisplayControllerHandler(handler.getLooper());
372 mBrightnessTracker = new BrightnessTracker(context, null);
373 mSettingsObserver = new SettingsObserver(mHandler);
374 mCallbacks = callbacks;
375
376 mBatteryStats = BatteryStatsService.getService();
377 mSensorManager = sensorManager;
378 mWindowManagerPolicy = LocalServic
|