Show memory full text only for internal storage

When the internal memory is full, a warning text is shown
in Settings/Storage. This warning was displayed for all
types of memory (internal/primary, sd card and usb storage)
even though it was only referring to the primary memory.
With this fix, it is only shown for the primary memory.

Change-Id: I35ad4b0b45c6752ddc9d7166495435b27fd4a170
Settings: add "Accept all files" option for incoming files via Bluetooth [1/3]

  Vanilla Android requires the incoming file from Bluetooth to be certain mime-types.
  The mime-types allowed are defined in
packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
  But sometimes we need to accept files that is not in the list,such as RAR archives
or APK packages.
  This patch makes "Accept all files" an option in Settings -> Bluetooth -> (Menu),
and then saves users' choice to Settings Provider database.
  This will meet users' demand as well as keep the phone from unsafe files
when users don't need to accept the files out of the mime-type whitelist.

  Use together with https://gerrit.omnirom.org/6783/
and https://gerrit.omnirom.org/6784/

Change-Id: I52ac0fdefeaff8ee5bc9ced38efdf16b54a1eee8
Settings: fix NPE

if the user resumes InputMethodAndLanguage settings and
the user dictonary preference was already removed before,
the user will run into a NPE.

check it to fix it.

Change-Id: I1eac844720768bb668e26f0a572c7876b7b0bcee
Revert dual panel
Don't show "Eject card" if the card is not accessible

SD card is not accessible without removing the battery on some devices.
Remove the "Eject" options on those devices

Depends on http://review.cyanogenmod.org/62708

Change-Id: Iddfa72314f7c96579ddd98e8fb312236348b7c2d
Merge remote-tracking branch 'PA/kitkat' into remix-staging

Conflicts:
	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java
Oops...
Merge remote-tracking branch 'PA/kitkat' into remix-staging

Nothing changed on this merge, status bar ime switcher feature is already presented.
Revert "Don't show "Eject card" if the card is not accessible"

This reverts commit 271cbdde5afdaebdc179c512e9c3d6a3dee14120.
Revert "Re-add auto brightness configuration UI (2/2)."

This reverts commit 149e9a7966bb9498c72db7cb1b4955c2cd1c12bf.

Conflicts:
	res/values/psd_strings.xml
Re-add auto brightness configuration UI (2/2). (Slim's implement)

This reverts commit a77478fa1e6c2f848b3368ef54b5f374e5441bc8.
Remix Settings: More layout improvements:

-Changed to ActionBar.Tab instead of PagerTabStrip, which makes the user more easier for navigating through the tabs.
-Added a Depth animation when swiping through the ViewPagers.
-Switched from FragmentPagerAdapter to FragmentStatePagerAdapter, to save more memory since this is using multiple Fragments.
-Some code cleanup
[1/2] OmniGears: notification drawer: custom clock & calendar shortcut

Base: https://gerrit.omnirom.org/#/c/4811/

PS10:
added AppSelectListPreference and use for clock and calendar

Conflicts:
	res/values/custom_strings.xml
	res/xml/notification_panel_settings.xml
	src/org/omnirom/omnigears/interfacesettings/NotificationPanelSettings.java

PS3: move stuff
PS4: more moving
PS5: redefining
PS6: more redefining
PS7: more moving
PS9: fix

Change-Id: I68b9a8bbb84042cbf4bc448cfc30599132f03256

Conflicts:
	res/values/pac_strings.xml
	res/xml/notification_drawer.xml
	src/com/android/settings/cyanogenmod/NotificationDrawer.java
Merge remote-tracking branch 'settings/remix-staging' into legacy-staging

Conflicts:
	res/values/colors.xml
	res/values/pa_strings.xml
	res/values/psd_arrays.xml
	res/values/psd_strings.xml
	res/xml/system_settings.xml
	src/com/android/settings/AOSPAL/SystemSettings.java
	src/com/android/settings/DisplaySettings.java
	src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java