Revert "Revert "Revert "Revert "be more robust with handling unknown sensors""""

This reverts commit 6dd50a6edb7916256ef83fd7e938e001aad6b465.
Revert "Revert "Sensor batching. Implementation for registerListener(with batch support) and flush APIs.""

This reverts commit eef1ffd30fb050af3a9b51af4ff62ff7323fb593.
Revert "Revert "Fix registerListener and flush bugs.""

This reverts commit eeeca93aa110bc2b59290b5e048c15162bfb1780.

Conflicts:
	api/current.txt
	core/java/android/hardware/SensorManager.java