(Android) Add parenheses around sensor mask conditionals