am eb8d6f78: Merge change Id80d1999 into eclair
Merge commit 'eb8d6f783088a39e243e7be9ac930d198369092a' into eclair-plus-aosp * commit 'eb8d6f783088a39e243e7be9ac930d198369092a': Fix power widget brightness.
This commit is contained in:
@@ -397,6 +397,8 @@ public class SettingsAppWidgetProvider extends AppWidgetProvider {
|
|||||||
Settings.System.putInt(context.getContentResolver(),
|
Settings.System.putInt(context.getContentResolver(),
|
||||||
Settings.System.SCREEN_BRIGHTNESS_MODE,
|
Settings.System.SCREEN_BRIGHTNESS_MODE,
|
||||||
0);
|
0);
|
||||||
|
// Set it again in case auto brightness was on
|
||||||
|
power.setBacklightBrightness(brightness);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user