[Q] CM 10/10.1 patch, how to implement?

protoc0l

Member
Nov 19, 2013
11
3
0
Hi All,

I'm new to android dev, but have been coding for years on pcs, and don't really know where to ask this. I have an Atrix 4g running CM 10/10.1 through various roms (haven't settled on one yet).

Problem: notification LED doesn't stay on if screen wakes up (using various lock screen notifiers, etc). Hardcoded into Android.

Solution: notification LED should continue until lock screen passed (USER_PRESENT)

I found a fix checked into android / platform/frameworks/base / (d'ohh, can't post link), but I don't think it's in CM 10/10.1 - android_frameworks_base / services / java / com / android / server / NotificationManagerService.java

Question: how do I go about implementing/porting this fix for my Atrix 4G?

- recompile the entire CM 10/10.1 rom (or is this a kernel change?), assuming I can get the Atrix 4G source [epinter/etc], and then include fix?
- apply a 'patch' of some sort?
- recompile services.jar with fix?


As mentioned, I'm new to Android, and haven't done anything this low-level/OS-level before, and tips would be appreciated :)

protoc0l