I take it you also decompiled the services.jar as well?
Yes I did.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I take it you also decompiled the services.jar as well?
Yes I did.
What version of Andro-ID did you use?
https://groups.google.com/forum/#!msg/android-building/sPH5l0cV6lQ/TbQyx222L0UJ
http://forum.xda-developers.com/showthread.php?p=25721281#post25721281
[B]g60madman@mtdev[/B]:$ git clone git@github.com:g60madman/android_packages_apps_Camera.git
Initialized empty Git repository in /media/android/g60madman/android_packages_apps_Camera/.git/
remote: Counting objects: 16543, done.
remote: Compressing objects: 100% (4168/4168), done.
remote: Total 16543 (delta 8452), reused 16192 (delta 8160)
Receiving objects: 100% (16543/16543), 4.54 MiB | 387 KiB/s, done.
Resolving deltas: 100% (8452/8452), done.
[B]g60madman@mtdev[/B]:$ cd android_packages_apps_Camera/
[B]g60madman@mtdev[/B]:/android_packages_apps_Camera$ git rebase -i HEAD~4
pick 6526c3c Commit interim changes - Triumph options
pick 374600a Camera Scene Mode NPE Fix
pick 0f20602 Czech: fixed missing string for timer shutter
pick c9c77fa Fix up touch to focus code via overlays
pick 9af9ee8 Fix skewed camera preview when launched from lockscreen
pick a251b60 Pass the camera ID when getting JPEG quality values
pick 3c82fd6 Camera: update Simplified Chinese translations
pick 340f3fd Update Japanese translation.
pick d2e3023 elGR-Reworked translation/Added missing strings
pick 384f180 Camcorder: Focus once before recording
pick 0db56c9 Camera: Support OMAP4-specific features
pick 77dc249 Delete icon texture's after draw
pick f2b0c25 Add support for wide-screen resolution photo on SGS2
pick 18f382f VideoCamera: Return from onResume sooner to reduce the application launch time
pick 2df22d5 Check for null before storing the jpeg data.
pick cb2e2f8 Camcorder: Send initial focus after starting preview
pick 27f34f8 es_ES: Add missing translations
pick 32b9ee5 Fix touch to focus detection
pick 68803c3 Traditional Chinese: Update translations
pick 8a7d929 Updated Swedish translations
pick d3952ce Camera: Don't delay call too changeHeadUpDisplayState
pick 5d7c8b8 Camera: Updated Hungarian Translation
pick ea6c82e camera: Updated Italian translations
pick 2da496e Camera: update Simplified Chinese translations
pick 2da6f8c es_ES: Add missing translations
pick 9a420be Update Japanese translation.
pick 1da1802 Update hungarian translation
pick 37dcf22 Camera: Remove duplicate hungarian translation that breaks build.
pick 041b695 Camera: OMAP4: Add a default sane SEI encoding
pick 986d75b Camera: Use extensions other than jpg if necessary
pick 0d3d713 Camera: Autofocus camcorder only if needed
pick 579281b Added option to use either removable SD card or internal memory
pick 2e9693d es_ES: Final translations
pick df511cf Update hungarian translation
pick ffbecd5 Camera: Support TTF/TTEC with recent qcom cameras
pick 3b67e7b Update Russian translation - Camera
pick 94103d4 Czech: added missing strings
pick dc0a787 french: updated translation
pick 4d9a322 Camera: tr: CM Turkish Translations
pick c6a7869 Add support for EXIF datetime on Qualcomm libcameras
pick 5726db2 Turn the focus rectangle green when focused. Credit: dsmryder
# Rebase 608923f..5726db2 onto 608923f
#
# Commands:
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
#
# If you remove a line here THAT COMMIT WILL BE LOST.
# However, if you remove everything, the rebase will be aborted.
#
I think I made some changes. I just hope I didn't change the github side of things.
Just and FYI on removing commits here is the commands I ran to roll back the camera
Code:[B]g60madman@mtdev[/B]:$ git clone git@github.com:g60madman/android_packages_apps_Camera.git Initialized empty Git repository in /media/android/g60madman/android_packages_apps_Camera/.git/ remote: Counting objects: 16543, done. remote: Compressing objects: 100% (4168/4168), done. remote: Total 16543 (delta 8452), reused 16192 (delta 8160) Receiving objects: 100% (16543/16543), 4.54 MiB | 387 KiB/s, done. Resolving deltas: 100% (8452/8452), done. [B]g60madman@mtdev[/B]:$ cd android_packages_apps_Camera/ [B]g60madman@mtdev[/B]:/android_packages_apps_Camera$ git rebase -i HEAD~4
The HEAD~4 says to remove the last 4 commits and opens gedit (or what ever editor your using with git) with all commits made.
Code:pick 6526c3c Commit interim changes - Triumph options pick 374600a Camera Scene Mode NPE Fix pick 0f20602 Czech: fixed missing string for timer shutter pick c9c77fa Fix up touch to focus code via overlays pick 9af9ee8 Fix skewed camera preview when launched from lockscreen pick a251b60 Pass the camera ID when getting JPEG quality values pick 3c82fd6 Camera: update Simplified Chinese translations pick 340f3fd Update Japanese translation. pick d2e3023 elGR-Reworked translation/Added missing strings pick 384f180 Camcorder: Focus once before recording pick 0db56c9 Camera: Support OMAP4-specific features pick 77dc249 Delete icon texture's after draw pick f2b0c25 Add support for wide-screen resolution photo on SGS2 pick 18f382f VideoCamera: Return from onResume sooner to reduce the application launch time pick 2df22d5 Check for null before storing the jpeg data. pick cb2e2f8 Camcorder: Send initial focus after starting preview pick 27f34f8 es_ES: Add missing translations pick 32b9ee5 Fix touch to focus detection pick 68803c3 Traditional Chinese: Update translations pick 8a7d929 Updated Swedish translations pick d3952ce Camera: Don't delay call too changeHeadUpDisplayState pick 5d7c8b8 Camera: Updated Hungarian Translation pick ea6c82e camera: Updated Italian translations pick 2da496e Camera: update Simplified Chinese translations pick 2da6f8c es_ES: Add missing translations pick 9a420be Update Japanese translation. pick 1da1802 Update hungarian translation pick 37dcf22 Camera: Remove duplicate hungarian translation that breaks build. pick 041b695 Camera: OMAP4: Add a default sane SEI encoding pick 986d75b Camera: Use extensions other than jpg if necessary pick 0d3d713 Camera: Autofocus camcorder only if needed pick 579281b Added option to use either removable SD card or internal memory pick 2e9693d es_ES: Final translations pick df511cf Update hungarian translation pick ffbecd5 Camera: Support TTF/TTEC with recent qcom cameras pick 3b67e7b Update Russian translation - Camera pick 94103d4 Czech: added missing strings pick dc0a787 french: updated translation pick 4d9a322 Camera: tr: CM Turkish Translations pick c6a7869 Add support for EXIF datetime on Qualcomm libcameras pick 5726db2 Turn the focus rectangle green when focused. Credit: dsmryder # Rebase 608923f..5726db2 onto 608923f # # Commands: # p, pick = use commit # r, reword = use commit, but edit the commit message # e, edit = use commit, but stop for amending # s, squash = use commit, but meld into previous commit # f, fixup = like "squash", but discard this commit's log message # # If you remove a line here THAT COMMIT WILL BE LOST. # However, if you remove everything, the rebase will be aborted. #
Basically you delete a line that starts with "pick" and it will delete all the commits in the code. Then save and close gedit and the commit and the code will be removed.
My best guess is the problem we are having is the Camcorder Focus is causing the camera to lock up when switching back and forth. At this point it's trial and error but hopefully this helps in explaining how to remove commits from a repo.
I don't recommend that you do a git rebase and remove commits that you have already pushed up to github. You will mess up anyone who has pulled down your previous commits already.
Do a git revert instead which will revert the changes and still keep the commit in the history. So the command would be:
#git revert <hash of the commit>
Where <hash of the commit> is the hash for the commit. So if the hash is 65fe521, the command would be
#git revert 65fe521
You can either get the hash from doing a git log and viewing the log or if you already pushed the commit to github, you can look at the commit hash in your repo on github.
Updated github to r0.7
I'd help out more if I knew how to program. I'm doing as much as I can for being a non-developer. I try to provide documentation, answer questions, and file bug reports. But you're right! We need more developers! Developers, developers, developers!

I MAY have found where the code change should go for the screen logic. In Cyanogen's github page there is a mention of the lockscreen awareness. I think the code should be expanded to check the state, then if the phone isn't locked, hold off the lock. I don't know how to do it, but I know someone around here does![]()

I did a meld on CM9, CM7, and google AOSP Gingerbread. All the code is exactly the same on the lock screen while in call. So it's designed right, I guess I am missing something on the lock screen incall thing. I myself have not seen any problems, as long as I can get to my contacts while on a call the world is good. Can you maybe explain exactly what everyone wants? Even looking at the bug posted it doesn't make sense
0000015: Phone should not lock or have display turn off when in a call - MantisBT
The phone is supposed to lock when on a call, and when you pull it from your face the proximity sensor should turn back on the screen so you can use the phone. As soon as you hang up the phone should lock. Did I miss something![]()
Like b_random said, the screen locks while in a call. If you were doing somehing when a call came in, and you talked too long, the screen would lock and you would need to unlock it to go back to what you were doing. It wasn't like that on stock. Not a huge deal. A current work a round is to have the lock screen delay cranked up. I have mine set to 5 minutes.
I'm going to see if I can figure out the lock delay default setting in the repo and that will give an apeariance of what we're looking for. Either way, not a big deal.