Jump to content

About to Return Streak. Just want to confirm my issue


Recommended Posts

Guest somebody9
Posted

So with much excitement I recently bought my Dell Streak. I've loved it for just about two weeks now ( running Steve's 1.5.1 ) , unfortunately it seems like I'll have to either return it to Dell or sell it and buy something from HTC or Samsung. Before I return it or sell it I just want to confirm that the issue I'm having is an isolated fault with my device and not something everyone has to deal with:

Due to the nature of my work I have to constantly switch between inside and outside work environments and as such I use the Brightness Toggle Widget ( either stock or Extended Settings or Switch Pro ) on my HTC Desire a LOT to switch between 10%-70%-100% and Auto Brightness. Unfortunately on my Dell Streak, when I use the toggle - the device cycles through the settings once, but after that setting it back to Auto does *nothing*, and the device will continue to stay in it's last brightness state until I actually go through the menu - Settings>Display>Brightness, at which point the Auto Brightness activates all of a sudden.

I know it is a small issue, but it is one of those deal-breakers that means I need to take my phone out and be disrespectful to clients by tinkering for seconds every time I need to make an adjustment. Makes me look bad and I never had the problem with my Desire. So if this issue is something everyone experiences I might just sell or return the device for a refund, if it is a problem with just my handset I would like to just exchange it for a new Streak.

Any help would be appreciated..

Posted

This issue with settings is know with steves rom.

I think i have read somewhere about a solution but cant recall.

I would recommend that you switch to stock rom 318 or 319 till steve releases an updated rom. These two versions are very stable and fast

With 318 u have to install fards perf update to get best results. However 319 works well evenwithout them

Guest somebody9
Posted
This issue with settings is know with steves rom.

I think i have read somewhere about a solution but cant recall.

So I'm not the only one with this problem? Can you recreate it on 319?

Guest somebody9
Posted (edited)

I found this on Github at [platform/packages/apps/Settings.git] / src / com / android / settings / widget / SettingsAppWidgetProvider.javab

So now I'm confused, if it is built into Stock 2.2, and my sensor is working - then why am I unable to use it? Any Devs want to help?

 /**
796 * Increases or decreases the brightness.
797 *
798 * @param context
799 */
800 private void toggleBrightness(Context context) {
801 try {
802 IPowerManager power = IPowerManager.Stub.asInterface(
803 ServiceManager.getService("power"));
804 if (power != null) {
805 ContentResolver cr = context.getContentResolver();
806 int brightness = Settings.System.getInt(cr,
807 Settings.System.SCREEN_BRIGHTNESS);
808 int brightnessMode = Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL;
809 //Only get brightness setting if available
810 if (context.getResources().getBoolean(
811 com.android.internal.R.bool.config_automatic_brightness_available)) {
812 brightnessMode = Settings.System.getInt(cr,
813 Settings.System.SCREEN_BRIGHTNESS_MODE);
814 }
815
816 // Rotate AUTO -> MINIMUM -> DEFAULT -> MAXIMUM
817 // Technically, not a toggle...
818 if (brightnessMode == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC) {
819 brightness = MINIMUM_BACKLIGHT;
820 brightnessMode = Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL;
821 } else if (brightness < DEFAULT_BACKLIGHT) {
822 brightness = DEFAULT_BACKLIGHT;
823 } else if (brightness < MAXIMUM_BACKLIGHT) {
824 brightness = MAXIMUM_BACKLIGHT;
825 } else {
826 brightnessMode = Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC;
827 brightness = MINIMUM_BACKLIGHT;
828 }
829
830 if (context.getResources().getBoolean(
831 com.android.internal.R.bool.config_automatic_brightness_available)) {
832 // Set screen brightness mode (automatic or manual)
833 Settings.System.putInt(context.getContentResolver(),
834 Settings.System.SCREEN_BRIGHTNESS_MODE,
835 brightnessMode);
836 } else {
837 // Make sure we set the brightness if automatic mode isn't available
838 brightnessMode = Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL;
839 }
840 if (brightnessMode == Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL) {
841 power.setBacklightBrightness(brightness);
842 Settings.System.putInt(cr, Settings.System.SCREEN_BRIGHTNESS, brightness);
843 }
844 }
845 } catch (RemoteException e) {
846 Log.d(TAG, "toggleBrightness: " + e);
847 } catch (Settings.SettingNotFoundException e) {
848 Log.d(TAG, "toggleBrightness: " + e);
849 }
850 }
851 }[/codebox]

Edited by somebody9

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.