Cleanup
Revert "Reduce total number of background apps for low memory devices"

This reverts commit 82289c1ec2c3d1767b3baeb309a2044a2ad3d405.

Change-Id: Ic4ef44c9219030041a5436bab74fce9ce7c8879c
am: Allow more hidden apps on devices with lots of RAM

 * If more than 1.5GB is present, allow up to 40 hidden apps.
 * Number is somewhat arbitrary, but was found to work well on D2.
 * Also look at the sys.mem.max_hidden_apps value if given.

Change-Id: I2d3cf6e0dad1bc0b482cc37bf9c61ed2f2b4be51
Ping on unlock changes

 * Stop message flip animation on unlock
 * Prevent ping spam on unlock -
    - Ping ONLY if NEW notification received while device is locked/screen is off
      (If a notification pinged HALO once but was ignored, it will not ping again unless updated)
halo, bugfixes

1. fixed size for content
2. flip animations for tasking only
3. batch size calculations
4. not a bug but pinned and system both get the same icon for now

Change-Id: I755cd4e88c909ab8b982e014d470791661a0041e
Configurable up to user (LTE or 4G)
fix possible NPE

mTopFullscreenOpaqueWindowState is on certain conditions null
and will throw an NPE....check for it to prevend it

Change-Id: Ibfb9ad375a9bdfc4e759f55934e759b69c448b49
Merge branch 'jb3' of github.com:CarbonDev/android_frameworks_base into jb3
Ping on unlock changes

 * Stop message flip animation on unlock
 * Prevent ping spam on unlock -
    - Ping ONLY if NEW notification received while device is locked/screen is off
      (If a notification pinged HALO once but was ignored, it will not ping again unless updated)

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
halo, bugfixes

1. fixed size for content
2. flip animations for tasking only
3. batch size calculations
4. not a bug but pinned and system both get the same icon for now

Change-Id: I755cd4e88c909ab8b982e014d470791661a0041e
Launch floating notifications from notification panel (long click)
 * Status bar - long click on notification select 'floating mode' option
 * PIE - long click on notification, auto launches floating window
fix derp
Merge branch 'jb3' of https://github.com/CarbonDev/android_frameworks_base into jb3
Add DrawerLayout and ViewDragHelper classes found in the new support library.  These classes have been modified to work with the current framework and no need for any support or compat classes.

Change-Id: Ib57f37fadd5c01efef3188b8e2b906444d870fbf
Introducing the PreferenceDrawerActivity which makes use of the new navigation drawer UI google has introduced in updates to many of their apps.  This relies on headers which are displayed in the drawer and preference fragments as the main content.

Patch Set 2:
  Create drawable backgrounds for the drawer.

Patch Set 3:
  Only access the action bar if it is not null.  The setup wizard does
  not have an action bar and will cause settings to receive a NPE.

Change-Id: Ifddd889daaa5bdea01fef5c104536a0189ad93bf
Give the drawer background more definition instead of just a solid color.

Change-Id: I6f5a116a01b13c200aa89000484d945f2ebb6a54
Use a dual pane layout instead of the navigation drawer for sw600dp screens or larger.

PS2: mActionBar should be assigned regardless of whether mDrawerLayout is null.

PS3: Use dual-pane layout when in landscape orientaiton.

Change-Id: If2c96cda691bab50ebd5d869f910a9351973367b
Remove background from ListView in dual pane layout.

Change-Id: Id98a07efabbcdff3f21ec0539f84cedd6ac717c8
PlatLogo: CarbonROM
PowerWidget: Re-enable LTE button.

- Implement toggleLTE,
  from CM 10.0: I3f7521f5ec4e9f9106c58afd4d5b10c7086b55fd.
- Support all LTE network modes defined in RILConstants and
  com.android.internal.telephony.Phone.
- Cleanup: Remove unused LTE_MODE, restrict state change to updateState.
- Also use Settings.Global.getInt() for PREFERRED_NETWORK_MODE.

Change-Id: I43bb2491d650d641d243d3cb67ee80bc7c8f5cdf