fb: make QS again rtl aware

we removed on first version the possibility to respect rtl
add it back to be aware.

As well remove the try to fix the tablet on first boot landscape problem
It actually did not fix the problem.

Change-Id: Id71e1d4865bb84831a58813a9efdf47a2f96a1f8
QS: fix wrong measurement on 4 or 5 tiles per row on settingspanelview

Issue was only visible on devices which have settingspanelview (tablets - not flippable)
on boot up on landscape and had 4 or 5 tiles per row set. Problem is that due we have
the same layout situation like in portrait on this devices that the layoutparameter
height needs to be calculated in landscape as well.

Solve it with forcing (on only settingspanelview devices) the calculation on landscape
as well

Change-Id: Ib87485e0892abe798006ba5ffaaf5061d560afd6
QS: no need to rebuild the complete QS on orientationchange

to update just the layout parameter from the container view
is more then enough

As well after theme change we can directly return due that
all gets rebuilded

Change-Id: I93662d611bb79c9bb294707fb2b4e204c060ce0c
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Cursor leakage due to cancellation signal

If a query call was cancelled, the cursor adaptor might leak. The
adaptor is now closed if any exception is thrown during query.

Change-Id: Ic4c2edeaf2fcef56b4ef59484a36d3233aa12dbc
Fix visibility of multiple non-fullscreen activities.

Issue detail:
Assume X, Y are non-fullscreen activities.
 a.Home starts an activity X in task A in application stack.
 b.X starts an activity Y in <task A> or <new task B>
 c.Activity X will be invisible.

How to fix:
Because the function "isActivityOverHome" means an activity is able to see home.
But there may have many non-fullscreen activities between the top non-fullscreen activity and home.
If flag "behindFullscreen" is set, those middle activities will be invisible.
So it should only take care from who is adjacent to home.
Then check two flags frontOfTask(task root) and mOnTopOfHome for constraining the condition.

Change-Id: I60bcea304976414e44835a0a38675aae365e9e19
Fix a JNI local reference leak in MediaDrm

A reference leak was found in the subtitle usecase that also
applies to android_media_MediaDrm.cpp
(Code taken from the similar fix in android_media_MediaPlayer.cpp)

Change-Id: Icc4b25e4adc9a600ff4ac99a7a8478bb55a6e348
Framework: Custom Tiles (1/2)

PS1: Reinvent logic from initial
	implementation
PS3: Clean-up and unlock/collapse
	options.
PS4: Small fix.
PS5: Remove unlock option.
	Too complex for average usage.
PS6: Allow reset button to reset last
	drawable/label.
PS11: Fix "user deleted index while
	above index 0" which would
        display the old drawable
	until the tile was manually
	updated by user.  Small fix.
PSX: Create Dependancy

Change-Id: Ifdfa60b8257290c07e1861903e26c5dea715d036
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/util/beanstalk/QSConstants.java
	packages/SystemUI/res/values/bs_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
SystemUI: Always show translucent decor on recents panel

Change-Id: Id3e371f841b065ba6ac7693d96b38504354b4fd9
Revert "Fix fatal exception due to missing looper for current thread."

This reverts commit 54de8acf306d5ae410690e54d675ca376e743480.

Change-Id: If17bdc140ec07605f240d89e53a788050f28ee3a
derp

Change-Id: I53dfb83c374f02f963b6d84ccaae99c42b2b8cf2
Signed-off-by: scott <scott@ubuntu>
base: added national roaming for Orange in Austria

http://jira.omnirom.org/browse/OMNI-376

Users of Orange in Autria (MCC 232 MNC 05) which is now a subcompany
of 3AT can roam on 3AT (MNC10) and also on t-mobile (MNC03) for 2G

Change-Id: I593c1bdeea3ef712541b4962369a02b2d7c86c5b
Add option to vibrate on notification expansion

P3: Rebased

Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: Ib90d63912c3a81b0e1867893a1a0061e709883c1

Conflicts:
	core/java/android/provider/Settings.java
SystemUI: add signal text (1/2)

PS9:
 - default colors to white
 - use PhoneStateListener instead of deprecated implementation
 - removed unused code

PS11: Fix build error

Change-Id: I96fe28fdf946e1372ec4dd8df3adae4aece4b509
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/android/provider/Settings.java
SystemUI: Add option to hide signal bars

Patch set 1: Bring back option from jb
Patch set 2: Update for Settings.AOKP
Patch set 3: Add needed dependency

Change-Id: I93e78d48412e1a82a271d002066fa8a4c0101d16
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
fix up commits..  aok..  WHAT?!

Change-Id: I188718f5f0c7d970d4c8e0984e32746a42fe8ce9
Signed-off-by: scott <scott@ubuntu>
ExternalStorageProvider: use mount point in device list

For me its is extremely unlogical that only the volume label is used
in the device list. Even more because it can be an empty string
and for a normal android user this information is not visible
anywhere else.

Using the mount point and if available the device label
separated by "-" makes much more sense and shows the same
information as all other apps that access external storage

Change-Id: I3fc3675af6640e37aa999b03ae2de2858237c638
[1/3] Base: Flip to Mute/Reject Call

Change-Id: I8b034e03f0f0585ad8d32a15faa8c8c7d8eccf5d
Signed-off-by: scott <scott@ubuntu>
Base: more fix Active Display

fix http://jira.omnirom.org/browse/OMNI-352
fix http://jira.omnirom.org/browse/OMNI-357

Change-Id: Ibdd9617ce472213520261358bb6b77e9ff5eb523
TelephonyManager: isSmsCapable: respect telephony properties

The 2 telephony properties override if SMS send/receive is enabled
in the telephony code. Also respect them for the isSmsCapable API.

Use case: Acer A700/701 (Wi-Fi only/3G) share the same build

Change-Id: Iaa1b45c62fa5a48a4c4a222d5e47980dd1678d48
Don't show notification count for a notification with just one item

For example, the Play Store sets the number attribute to 1 for a single
app update. No point in showing a counter for that.

Change-Id: I818622419f4f043fa8f04339ab24744aca7c1584