Hacker News new | ask | show | jobs
by unfasten 5088 days ago
Does anyone know which commit covers the reduction in functionality for the global search (related to the sales ban on the Nexus)? My friend is trying to find the commit so he can compile Jelly Bean (for the Galaxy Nexus) with the global search restored but neither of has been able to find where the change was made.

We were thinking it might be in the QuickSearchBox ( https://android.googlesource.com/platform/packages/apps/Quic... ) but there don't seem to be any recent commits here. I'm thinking now it might be in some place specific for the Nexus, but I'm not familiar enough with the Android source to know where to look.

3 comments

My guess would be that that patch is in some special factory branch that is not released publicly. Meaning that branches jb-dev and jb-release are clean and still have global search.
Are you sure that change is in the AOSP source? It could easily be part of the Google Apps bundle instead (in which case reversing it would be trickier).
Hadn't thought of that, thanks. My friend compiled and installed AOSP Jelly Bean and you are indeed correct; global search works without limitation.
Building android requires a beefy developer workstation. Does your friend have the recommended 16GB of RAM[1]?

[1] https://groups.google.com/d/topic/android-building/N1exifTpP...

$100 worth of memory, so beefy.
Some older computer, like my 2009 MBP for example, can't be upgraded to more than 8gb of memory.

edit: I imagine that people interested in hacking on Android have better machines, so it's not a problem. I was pointing out that you can't just buy 16gb to meet the requirements on all machines.

16GB may be recommended, but I have built it before on a machine with 6GB. The initial build ran overnight, and subsequent builds seldom require a rebuild of the entire tree. I think it's certainly possible to manage a small change without 16GB available.
I build it on a 2G machine also on a 4G machine building process works just fine