Yes, the sensor was moved (also just one instead of two).
The placement may well, at least for some people, make it more likely to have the sensor right about the deep part of the ear, though not necessarily.
The two sensors would also have an advantage since you could have the software only turn on the screen if BOTH sensors reported it was okay to do so. At the very least, it would cut down the problem.
But I've tested my 3G the same way as my ip4 (
http://picturehawaii.blogspot.com/201009_01archive.html ) and I simply can't get the distance to get as low as on the ip4 - thus no problem, regardless of the sensor location or how many.
I don't turn off the lights, but I turn the brightness all the way up to make it obvious if it comes on - I also have videoed my calls.
None of my phones, even before 4.1, ever lit up repeatedly on every call.
The earlier OS before 4.1 phones could, if I placed it in just the right place (and the right ear seemed far more susceptible) come on. With 4.1, I have to make some movements first which reduce the sensor range as shown on my videos.
My normal holding position does NOT put the phone directly over the deep part of my ear normally - it's usually just a little further back - but it can happen.
I'm trying to figure out if your phone is lighting up no matter what or if you may be moving it in ways that could trigger the problem with reducing sensor power.
Try this. Next time you see the screen light up, pull the phone away at least 6 inches for about 3 seconds, then put it right back on the ear. Assuming you don't take it off your ear anymore, does it still light up? I have found this maneuver resets the original distance and it is fine.
Another thing you could try. As part of my effort to see if it was the distance into my ear, I took some tissue and stuck in my ear. I couldn't get the screen to light up when on my ear that way, even when taking the normal steps to create the problem.