Fix double finger to pulldown statusbar when QuickPulldown is disabled

PS2: Better fix

Change-Id: I738d8113be5b6fd04417b7e2d2ba31a710bd7615

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
SystemUI: Fix Quick Settings appear when disabled

If you tap the clock on the status bar, then the next time you pull down the status bar on the
right side it will show the quick settings. Even if the user disabled quick pulldown.

Bug: https://paranoidandroid.atlassian.net/browse/AOSPA-59

PS2: fixed spacing

Change-Id: Ibb2efd27a96898ff11640c7a58c0686e2fefc75f
Signed-off-by: Parthipan Ramesh <parthipan.ramesh@gmail.com>
Fix double finger when 'Quick pull down' is disabled.

If "Quick pull down" is disabled, never do the function "switchToSettings()" and the stock double-finger feature doesn't work.
The OTS preferences only need to check the "statusbar portion" code.

Change-Id: I245854922f2e643e317f7aadd45043542e2f9871

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
Quicksettings: quick pulldown: try to fix pulling down the wrong side

getWidth() may return 0 when NotificationPanelView isn't laid out yet.

Change-Id: I32f423decf42d08466cbe73bd23ccf70ce66e093
Signed-off-by: David96 <xD_e-mail@gmx.de>