Guidelines cleanup for some immersive stuffs.

PS2: Also fix a logic derp when calculating display size.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: Iec47fcd47b0ae93e404ff146c9cdbcfd8cbd0007
Give public access to immersive mode static vars

They are needed by recents

Change-Id: I641f0d9cf5d7263a1433147b8f57ec5fa8286396
Immersive: Fix black bar in some games

Some games (FIFA14, Virtual Tennis, Rebuild etc.) show a black bar where the navigation bar used to be even in full immersive mode.
This fixes that.

Change-Id: Id7f8959da0496d95beaa21a567ef0f756b00a82d
Set Settings.Global.WIFI_SUSPEND_OPTIMIZATIONS_ENABLED default value

To be able to customize the "WiFi optimization"
setting we need to set a default value.

Change-Id: I9cd2f204cf46c0b4c70a4a147da2f1d73a708308

	packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java