<BUG>sOrientationListener = new SensorListener() {</BUG><CONTEXT>Bundle savedInstanceState) {final View rootView = inflater.inflate(R.layout.tab_qibla, container, false);final QiblaCompassView qiblaCompassView = (QiblaCompassView)rootView.findViewById(R.id.qibla_compass);qiblaCompassView.setConstants(((TextView)rootView.findViewById(R.id.bearing_north)), getText(R.string.bearing_north),((TextView)rootView.findViewById(R.id.bearing_qibla)), getText(R.string.bearing_qibla));<extra_id_0>public void onSensorChanged(int s, float v[]) {float northDirection = v[SensorManager.DATA_X];qiblaCompassView.setDirections(northDirection, sQiblaDirection);</CONTEXT>
sOrientationListener = new android.hardware.SensorListener() {