Fix lock settings pattern crash on configuration change

A helper class used in LockPatternView.onSaveInstanceState() and
.onRestoreInstanceState() wasn't set, causing to NPE settings once
a configuration change would happen while displaying lock pattern
input.

This is now set on creation.

Test case:
1) Enable rotation on device.
2) Open Settings/ChooseLockPattern preference.
3) Rotate device

Change-Id: Ic8091bc92dee2a9a23f4ddebd6de4111ec8ac318
Merge branch 'revolt' into control
Point to ReVolt Control
Remove it from here
Merge branch 'control' into revolt

Conflicts:
	res/xml/halo_settings.xml
	res/xml/revolt_customizations.xml
	src/com/android/settings/paranoid/Halo.java
use date from 1970-01-01 to 2037-12-31 in DatePickerDialog

In case of using DatePickerDialog, user could select any date
before 1970-01-01. However, the system clock cannot be set to
a date before 1970-01-01.
As a result, user couldn't select date before 1970-01-01.
So, use date from 1970-01-01 to 2037-12-31 of DatePickerDialog.

Steps to reproduce:
1. Settings -> Date & time
2. uncheck Automatic date & time
3. Set Date
4. choose any date before 1970 and Done

Change-Id: I075b3fcaa86df1c314c85dd3dd85474a28b8c637
Clamp date setting for the SetupWizard as well as Settings.

We fixed this for Settings in 7ccfa0614caeba8eba5d3040a90541a24fa1e6c9,
but @sonymobile.com point out that it's still broken for SetupWizard.

Change-Id: I59348200105246f3ed7c0892e5f19b901d3e95ac
Use SimpleDateFormat for time zone formatting.

There's no need to do time zone formatting manually.

Change-Id: Ibef222d11d04a327e9ef64ddc48322558028555d
Dont enable Wi-Fi if it's not toggleable in flight mode

Dont enable Wi-Fi if it's not toggleable in flight mode
by restoring the return which was removed by
e78c1879058571c00879f0d3e756951302adf513

Change-Id: I8ca5a3e9b3f36f148f08ce97b8a2b854bf7de21c