Merge change Id80d1999 into eclair

* changes:
  Fix power widget brightness.
This commit is contained in:
Android (Google) Code Review
2009-09-29 17:34:43 -04:00

View File

@@ -397,6 +397,8 @@ public class SettingsAppWidgetProvider extends AppWidgetProvider {
Settings.System.putInt(context.getContentResolver(),
Settings.System.SCREEN_BRIGHTNESS_MODE,
0);
// Set it again in case auto brightness was on
power.setBacklightBrightness(brightness);
}
}
} catch (RemoteException e) {