Fix light filter sometimes being slow when changing light conditions.

If the screen is turned off, the light filter is supposed to be reset
when the screen comes back on. On screen off, the light sensor listener
is unregistered, and the code relies on it not being called anymore.
That assumption doesn't hold true, though (verified by checking logs),
which causes the light filter to be filled while the screen is off.
Fix haptic feedback for pattern length of 1.
Update ringer audio focus if ringer volume is changed during ringing.

AudioService only grabs the audio focus for the phone if the ringer
volume is set to something audible. If e.g. ascending ringtone is
enabled and starts at 0, the audio focus wouldn't be grabbed for the
whole ring period, leading to a mixture of played music and the
ringtone. Fix that by grabbing the audio focus if the volume is set away
from 0 while ringing.

Also attenuate music during ringing even when using silent ringtone.
Makes it more obvious to the user that something is going on.
Theme some more framework notifications.
Localize screen timeout toast.

Change-Id: Ic167ead9a218ae3cb887c2b70257024e3b5bbbc5
Merge "Localize screen timeout toast." into gingerbread
Merge "Fix light filter sometimes being slow when changing light conditions." into gingerbread
Merge "Theme some more framework notifications." into gingerbread
Merge "Update ringer audio focus if ringer volume is changed during ringing." into gingerbread
Merge remote-tracking branch 'cm/gingerbread' into gingerbread