Wrong reference to resource id - android:id

The code referred to resource with @+android:id with R.id, which
is wrong.

Change-Id: I7dcce153faa7c905554474a289c79e2babb8ee8f
MTBF: ANR com.android.settings (getInstalledApplications)

1,The ANR is caused there is no touch window to dispatch key event.
2,No touch window is caused the settings app have no memory to continue the resume process,
  so that touch window can not be created for more than 5s.
3,From the MTBF, the settings activity com.android.settings/.applications.InstalledAppDetails
 will leak about 210k. memory every pause/resume process
4,the mSession will be created on resume process and will not be destroyed on pause process

Change-Id: Ibfa78a71c89941548d8dba5c8d1dc51b16abe5bb
Author: Erjun Ding <erjunx.ding@intel.com>
Signed-off-by: Erjun Ding <erjunx.ding@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 51006
Prevent user from switching airplane mode quickly, sometimes it will cause UI fly mode status doesn't sync with modem

Change-Id: I93868bff7dd7d7c0c7c1889084d6c98ba588c747
Fix F/C in TTS settings

This is an attempt to fix uncaught MissingResourceException
that would be thrown if default language of selected engine is
set to a locale that has no 3-letter country/language code.

Please see https://code.google.com/p/android/issues/detail?id=63122

Change-Id: Iccb2a55f5f7a97819310fd888559650fe7febe4a
Signed-off-by: Shuhrat Dehkanov <k@efir.uz>