Annoyed at how Gingerbread turns off LED notifications when the screen is turned on?

This is a discussion on Annoyed at how Gingerbread turns off LED notifications when the screen is turned on? within the Droid Development forums, part of the Droid Hacking category; If you're like me (an amateur Android builder with good programming experience) or even a more experienced developer, you may find this trick handy. I've ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Annoyed at how Gingerbread turns off LED notifications when the screen is turned on?

  1. Senior Droid
    hyperdude's Avatar
    Member #
    150247
    Join Date
    Dec 2010
    Location
    Minnesota
    Posts
    196
    Phone
    Droid 1
    #1

    Cool Annoyed at how Gingerbread turns off LED notifications when the screen is turned on?

    If you're like me (an amateur Android builder with good programming experience) or even a more experienced developer, you may find this trick handy.

    I've been using Pete's stock Gingerbread ROMs for weeks now, and the only thing I don't like about Gingerbread is the fact that it disabled LED pulsing when the screen has been turned on (meaning LEDs don't blink again when the screen is off). Since I decided I'm going to try my hand at compiling a ROM for my Droid, I felt the need to find a way to switch that off.

    Lo and behold, I found it. Line 1088 in frameworks/base/services/java/com/android/server/NotificationManagerService.java
    Code:
            // clear pending pulse notification if screen is on
            if (mScreenOn || mLedNotification == null) {
                mPendingPulseNotification = false;
            }
    I assume that if I take out the "mScreenOn || ", it will, of course, no longer clear the LED notifications when the screen is turned on. I'll be working on the rest of my minor edits over the next day or two and I'll report back if this fixes it.
    Galaxy Nexus - Verizon
    4.0.2, stock
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Droid
    NebraskaX24's Avatar
    Member #
    121444
    Join Date
    Sep 2010
    Posts
    36
    Phone
    OG Droid
    #2
    PLEASE let this be incorporated in further gingerbread builds.

    I've gotten used to having handcent not turn the screen on, but it's much quicker to be able to just glance at my phone whenever I get a text.
  4. Senior Droid
    hyperdude's Avatar
    Member #
    150247
    Join Date
    Dec 2010
    Location
    Minnesota
    Posts
    196
    Phone
    Droid 1
    #3
    Quote Originally Posted by NebraskaX24 View Post
    PLEASE let this be incorporated in further gingerbread builds.

    I've gotten used to having handcent not turn the screen on, but it's much quicker to be able to just glance at my phone whenever I get a text.
    Exactly, right?

    Unfortunately my computer is deciding to be a b*tch about my build project. Probably gonna just uninstall Eclipse and wipe the directory and try it all over again. But yeah, I also hope it gets incorporated into future GB builds. I know this feature is meant to save battery and whatnot, but it's annoying.
    Galaxy Nexus - Verizon
    4.0.2, stock
  5. Developer
    jeffv2's Avatar
    Member #
    151962
    Join Date
    Dec 2010
    Location
    south jersey
    Posts
    1,240
    Liked
    3 times
    Phone
    galaxy nexus
    DroidForums.net Developer
    #4
    check cm's source..
    led blinks until my sms notification is cleared or i read the message, even after screen on and off.

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. Screen turns off while in games or moving icons - touch screen shortout?
    By DroidUserName23 in forum Motorola Droid Pro
    Replies: 2
    Last Post: 12-20-2010, 12:21 AM
  2. Screen turns on when LED flashes
    By SkydiverGoose in forum Droid 2 General Discussions
    Replies: 2
    Last Post: 11-28-2010, 06:18 AM
  3. Screen timeout turns itself off
    By navigator in forum Motorola Droid
    Replies: 5
    Last Post: 11-10-2010, 07:16 AM
  4. Red LED Stuck when screen turned on...
    By Foreverrr in forum Tech Issues, Bug Reports & Suggestions
    Replies: 0
    Last Post: 08-20-2010, 03:11 PM
  5. Screen turns off and on repeatedly.
    By KiloByte in forum Tech Issues, Bug Reports & Suggestions
    Replies: 0
    Last Post: 03-15-2010, 10:16 AM

Search tags for this page

android 2.3.3 notifications led
,
android led notification gingerbread
,
android screen turns off notification
,
android turn screen on notifications
,
droid x 2.3 led notification
,

droid x gingerbread led notifications

,
gingerbread clear led notification
,

gingerbread led notification

,
gingerbread screen turns on for notifications
,
gingerbread sms screen
,
gingerbread turn off led
,
handcent led gingerbread
,
how to turn on notifications on gingerbread
,
led on off java android
,
?????
Click on a term to search our site for related topics.