| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cyanogenmod bug #2770 is available at :
http://code.google.com/p/cyanogenmod/issues/detail?id=2770
The bug is a compilation failure which fails like that:
target Dex: Development
frameworks/base/services/java/com/android/server/status/StatusBarService.java:338: cannot find symbol
symbol : variable statusbar_background_sq
location: class com.android.internal.R.drawable
mStatusBarView.setBackgroundDrawable(res.getDrawable(com.android.internal.R.drawable.statusbar_background_sq,
[...]
Note that only the commit message was touched by Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
The patch itself was untouched.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
|
|
|
|
| |
Change-Id: I24fa8e62c9a2bbac693ff9825988e04384dd6d75
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
on certain devices, the flashlight affects the light sensor, causing the display
autobrightness to switch to the maximum level when flashlight is on
Change-Id: I22d623ce5457fc3ae177b609da8b51904bc73e83
|
| |
| |
| |
| |
| |
| | |
setting.
Change-Id: I5a35a4eb399d54613b782eac78ca1d1dad7cecf5
|
| |
| |
| |
| |
| |
| | |
and add state storage for flashlight.
Change-Id: I6d4ad46318a7593809e7ff63601f8bd70db64a0c
|
| |
| |
| |
| | |
Change-Id: Ibbb2da79ef93502990d122d1f31664e578a44a79
|
|/
|
|
|
|
|
|
|
|
| |
- Disable "blend mode" for sholes
- Make LightsService use a different method for turning off LED/trackball-
on some devices (ok, droid), the previous method was causing the LED to stay on
continuously.
- Fix bug that was causing the custom offTime for notifications to be ignored.
Change-Id: I89123555dd813e1ff67f70ff2874761c229b9522
|
|
|
|
|
|
| |
2nd try: already merged (I255359ba) but subsequently erased by Ib6a7e284
Change-Id: I21376f4c423d2b567a288db03cfb09c95d452eba
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cyclic references can occur between a Service object held by an
application and a ServiceRecord object held by the system server.
A part of the problem is that binders are leaked and since many binders
are implemented by inner classes of services these services are also leaked.
This causes low memory problems. The solution is: When a Service is beeing
destroyed, go through the ServiceRecord's all IntentBindRecord and set its
binder references to null. This allows the binder and the service object to
be garbage collected.
Change-Id: I5a257521964851f34c08ffb3908feaad96b1bafe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When using sendOrderedBroadcast(..) with a BroadcastReceiver the
BroadcastReceiver instance was not released. The reason for this was that
the resultTo field in the BroadcastRecord kept a reference until it was pushed
out of the mBroadcastHistory. This reference in turn kept a reference to the
process side IIntentReceiver (implemented in ReceiverDispatcher$InnerReceiver).
This in turn had a strong reference (through mStrongRef) to the Context.
In order to keep the debug output the resultTo is also kept as a String in the
new resultToString variable.
Change-Id: I4382a22a541c27b3694fb2b78a04ee820b235f8f
|
|
|
|
|
|
|
|
|
|
|
|
| |
Key LED does not turn off when entering into sleep mode at
the brightness allignment mode in setting.
1 Open the brightness allignment mode in setting
2 Enter sleep mode
Make sure that the keyboard light is turned off.
Change-Id: Ib0436954164bcd9f6cb8d4453304e645e6ff70f0
|
|
|
|
| |
Change-Id: Ib6a7e284648212bcb90a6f54dea834b83cda26c0
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Surface.openTransaction and Surface.closeTransaction is not reentrant.
If we are updating the mouse surface when the WindowManager is also
updating the surfaces, the global transaction can be closed too early
by the other side. The results are random runtime exceptions and
unstable surface state.
Move the mouse surface update logic to the big surfaces update
loop, together with the other surfaces update logic.
Change-Id: I38a4f264f8de59899c3ac0fdaf9d8cd520d41947
|
|
|
|
| |
Change-Id: I3659587e4005f3fa0401981a2329744840f9ff10
|
|
|
|
| |
This reverts commit 1acb2fbadc3da3c3fdb4f57425449780c1a8e20b.
|
|
|
|
|
|
| |
(the same fix has been already applied to Settings app power widget)
Change-Id: I255359ba4a6ba3d384140c4c9bd5f73e780b9037
|
|
|
|
|
|
|
| |
While watching YouTube and receiving a call, after hang up the call,
mExpandedView may flash when screen transform from Phone to YouTube.
Change-Id: Ib25a0cd1086c278b91a2b34e21744a3c432a8f35
|
|
|
|
|
|
| |
can break e.g. the reading of the asec list returned from vold - package manager then assumes no secure containers on sdcard, which can result in system_server being killed by vold during sdcard unmount, in case it keeps a recently run pkg.apk file in an asec opened.
Change-Id: I068d8ef8cd244fde03f08b1f6b3f920eb9135aaf
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the memory card is not inserted (or removed) from
the phone the shut down process is very long. It
takes almost 24 seconds. For the phone with memory
card the averige is 5-6 seconds
Make sure to send onShutDownComplete even if an SD
card is not mounted and no unmount is done.
Change-Id: I0e79b82e294a971f5e7144cdd3cc16b7ff414b9c
|
|
|
|
|
|
| |
disturbing layout of battery percent display (HDPI).
Change-Id: Ibaaec05ad2159cdc1e27c3d24006e7036e06f85c
|
|
|
|
| |
Change-Id: Id243bdc0065da4c88926f78cf99daeb66260c938
|
|
|
|
|
|
|
|
|
|
| |
Causes problems on phones like Vision. We have a setting to disable
the notification altogether, so this is pointless and causes the
trackpad light to flash all the time.
This reverts commit 39a636a021aa9a6d393c93f6235e426d43392047.
Change-Id: I4badd0d2c9289db18084f6c6a9bb4621ecbb8b1d
|
|
|
|
|
|
|
|
|
|
| |
If USB was removed while UMS was enabled, the MountService was only
remounting the primary share. Any other shares, like the HTC Inc's
emmc, were left in limbo. This patch now iterates over *all* shared
volumes to remount after disconnect.
Change-Id: Icf6c3d5396ea762aeb223869c380c5c3757d5652
Signed-off-by: Josh Stone <cuviper@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New power buttons in the StatusBar is a great thing. But, on my HTC Hero,
I got a lot of the following error in logcat:
E/FlashlightButton( 133): getFlashlightEnabled failed
E/FlashlightButton( 133): java.io.FileNotFoundException: /sys/class/leds/flashlight/brightness (No such file or directory)
E/FlashlightButton( 133): at org.apache.harmony.luni.platform.OSFileSystem.openImpl(Native Method)
E/FlashlightButton( 133): at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:152)
E/FlashlightButton( 133): at java.io.FileInputStream.<init>(FileInputStream.java:82)
E/FlashlightButton( 133): at java.io.FileInputStream.<init>(FileInputStream.java:134)
E/FlashlightButton( 133): at com.android.server.status.widget.FlashlightButton.getFlashlightEnabled(FlashlightButton.java:73)
E/FlashlightButton( 133): at com.android.server.status.widget.FlashlightButton.updateState(FlashlightButton.java:47)
E/FlashlightButton( 133): at com.android.server.status.StatusBarService.updateStates(StatusBarService.java:2043)
E/FlashlightButton( 133): at com.android.server.status.StatusBarService.updateWidget(StatusBarService.java:2065)
E/FlashlightButton( 133): at com.android.server.status.StatusBarService.access$800(StatusBarService.java:120)
E/FlashlightButton( 133): at com.android.server.status.StatusBarService$7.onReceive(StatusBarService.java:2094)
E/FlashlightButton( 133): at android.app.ActivityThread$PackageInfo$ReceiverDispatcher$Args.run(ActivityThread.java:892)
E/FlashlightButton( 133): at android.os.Handler.handleCallback(Handler.java:587)
E/FlashlightButton( 133): at android.os.Handler.dispatchMessage(Handler.java:92)
E/FlashlightButton( 133): at android.os.Looper.loop(Looper.java:123)
E/FlashlightButton( 133): at com.android.server.ServerThread.run(SystemServer.java:524)
This is beacause, all power buttons are instantiate, even if unused or
functionnality is missing. So, I remove most calls to getInstance() for
all of them and use a HashMap to store the buttons used and only call
them in updateStates() and updateWidget().
Additionnaly, my change reduce memory usage of the status bar.
Fixed tabs, some indents and long lines.
Change-Id: I22b98bddc791c547d02b50a09b561aa469cc25b7
|
|
|
|
| |
with no flash
|
|
|
|
| |
Change-Id: I7a6989b53f15e86ced59e5fd31464a2334bbfd68
|
|
|
|
|
|
| |
HID mouse support was not checking the device orientation and previously
only worked in portrait mode. Check the device orientation and calculate
the pointer position correctly.
|
|\
| |
| |
| | |
into froyo
|
| | |
|
| |
| |
| |
| | |
Change-Id: Ib94135d8bcf8339d386e11f785b4cb077c5cb5c9
|
|/
|
|
| |
Change-Id: I44bbf86b3dbe1655acd50c872b9d01d7d941cd96
|
|\ |
|
| |
| |
| |
| |
| | |
Check to make sure the Uri we are modding is the one we want to.
This is to prevent the bar from be disabled for some paradoxial reason.
|
|\ \
| |/ |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch adds support for the Geeksphone ONE's MUTE hard key.
I don't know of any other device with such a key, so this will
defaults to disabled. It's enabled by setting the "ro.config.ringerswitch"
property to 1
Change-Id: Ica18f3f3ee872b4b911ddd79b95ba569cb13f4e8
|
| |/
|/|
| |
| |
| |
| | |
when disabled.
I forgot the !.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If sys_tz is not set correctly, the timestamp of
filesystem will be in-consistent with android's time,
until time zone is set from android's UI. Set kernel
timezone while initializing AlarmManagerService.
Change-Id: Ic85def954fc9388e943e3dee45767d8179825a49
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Correction for the error:
When a window is done animating and about to be destroyed,
it is still checked for visibility in the method
updateReportedVisibilityLocked in the WindowManager.
In the case where other windows are ready to be reported as
visible, this, not yet destroyed window which has the state
not visible, will prevent the visibility report message from
being sent.
Change-Id: I9e307a678a204f0883ccd78c2645c373d3f81066
|
| |
| |
| |
| | |
This reverts commit 912b6d61dfc74fabcdaf6c4dcb0e6246d26af795.
|
| |
| |
| |
| | |
This reverts commit 5207106cd602dcd7c1a09ea7931afdb1c529c41d.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As soon as we recive the insert event we try to
mount the mmc sending a "volume mount" command.
But, the volume manager sometimes is still on
"pending" state, and the insertion mount will
fail.
This patch calls the doMount command on insert
only after the state has changed to idle.
This way, the mount will not fail, because the
state is pending.
Change-Id: I1f8f13c8e232a6b9159eeb78a9484838f1c600af
Signed-off-by: Axel Haslam <axelhaslam@ti.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Now we can connect to an AP which only has a space character in its
SSID. Names with space at the beginning and/or will also work. The
earlier troublesome "-=^-^=-" still works.
Change-Id: Ie1de3bd162fbd992ccad5e1b5bca9c163e49e36d
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The code that calculates the Kernel TimeZone does not check
if we are actually in daylite time prior updating the kernel
time zone. Add a call to TimeZone.inDaylightTime to get correct
time zone.
Change-Id: I44565bc8df48e81370ea3bfbb099a6a5675e343d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a service is stopping we get unbindFinished when all connections
are unbinded. If applications are still bound to this Service we will
rebind the connection making the service hang in stopping state. This
fixed issues with ANR during CTS test
android.os.cts.BinderTest#testTransact
Change-Id: I9402aebd0d2d0fa3e0e6381fb51d3189d530f31b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
startActivityUncheckedLocked tries to move the target task to front
when it is not at front. topRunningNonDelayedActivityLocked is used
to find the current task, however null value isn't handled. This
null causes an unhandled exception leading to the android framework
reboot.
Change-Id: I2a43cda50483e28a4456846d8b3ccb30d7cf110e
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix to avoid posting MSG_SHOW_IM_PICKER in
showInputMethodPickerFromClient when ignoring the request from the
client.
Change-Id: Iff8a0809aea892b4493d5cffbb91adba2d74414e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Android framework does not shutdown when battery capacity is 0% and a
charger is attached (USB or AC). This handling is incomplete since a
charger might very well be attached but charging has stopped because
USB suspended or the charging algorithm has stopped because of
battery safety handling. Also shutdown when battery is reported 'dead'.
This might happen although charging is present.
Change-Id: If328260ebf4d38f912e4d2fad204431cbb19c993
|