Camelia, the Perl 6 bug

IRC log for #motoactv, 2012-06-16

| Channels | #motoactv index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
18:02 CEnnis91|Mobile joined #motoactv
19:46 dproldan joined #motoactv
19:51 dproldan I found the first reason why wifi turns off itself
19:52 dproldan settings is being killed because of low memory
19:52 dproldan also that's why you can't have power widget anymore
19:52 dproldan now I need to find WHY is it being killed
19:53 CEnnis91|Mobile Low memory?
19:53 CEnnis91|Mobile Wtf
19:53 CEnnis91|Mobile I thought wifi was apart of system
19:54 CEnnis91|Mobile Meaning it never gets killed
19:54 dproldan when you turn it on,  it's settings who keeps it alive
19:54 dproldan when settings gets killed,  wifimanager thinks nobody is using it anymore
19:56 dproldan I thought that com.android.settings should never be killed
19:56 CEnnis91|Mobile Settings is allowed to be killed
19:57 CEnnis91_ joined #motoactv
19:57 CEnnis91_ Android System van never be killed
19:57 CEnnis91_ I have a quick solution to keep settings in memory thou hold on
20:02 dproldan 06-16 22:01:30.644  1196  1901 W WifiService: Detected that process 1398 has died
20:02 dproldan 06-16 22:01:30.644  1196  1901 I WifiService: Removing process 1398 from the wifi user list
20:02 dproldan 06-16 22:01:30.644  1196  1901 I WifiService: Disabling wifi since last wifi user died
20:02 dproldan maybe I should just remove that part of wifiservice
20:03 CEnnis91 echo -17 > /proc/$(ps | grep "com.android.settings" | awk '{print $2}')/oom_adj
20:03 CEnnis91 that should work
20:03 dproldan ok,  let me try
20:03 CEnnis91 may need echo "-17"
20:04 dproldan it worked,  -17 i mean
20:04 dproldan browsing a  bit now
20:04 CEnnis91 when oom_adj = -17 then linux knows to keep it in memory
20:04 CEnnis91 its not fullproof but itll keep it on much longer
20:07 dproldan I've used that in the past,  it works fine as a workaround
20:07 CEnnis91 yep, just not as a solution
20:08 CEnnis91 used it a bit one my droid
20:08 dproldan as you say,  it took a bit longer,  but still has died
20:09 dproldan will see about wifiService...
20:14 dproldan ok,  it's in services.jar
20:14 Quietlyawesome94 joined #motoactv
20:16 dproldan .field private static final DEFAULT_IDLE_MILLIS:J = 0xdbba0L
20:16 dproldan bug?
20:16 dproldan what's that L at the end?
20:18 dproldan nope, same thing on another rom
20:30 dproldan ok,  they definitely messed around in WifiService from 6.6 to 7.2,  several changes on who can lock it or not
20:35 dproldan some calls change from WifiManager to HashMap
22:27 Quietlyawesome94 joined #motoactv
23:50 ds2 joined #motoactv

| Channels | #motoactv index | Today | | Search | Google Search | Plain-Text | summary