Fix floating window activity result cancellation

Change-Id: I8ad27907d9739467f74bcc9f37e83af17c39dd67
Small typos

Change-Id: Ic84f4c6facf7f30f2a67641140333cbe6dda5b12
HALO Size (1/2)

Change-Id: I2780dfee66b0b80b57c62b83c40609104fe3c279
Halo: Icon reorder in Phone/Tablet status bar (fix repositioning after flips)

When tearing down notification panel halo is near quick settings button (no notifications present). When you flip to QS panel and then reflip to notification panel Halo icon change position, moves to third icon layout (as when clear-al button is there) from right instead to stay in the second one.
Icons layouts are reordered and fix this behaviour. From left to right:

Clear-All button // Halo button // QS button.

http://goo.gl/n1GjU

Change-Id: Ic34be18c5fe7ef88b7bbc6542b01af07fa1a5a7c
-ToDo: When tearing up the Tablet status bar Clear-All button shows for a moment if no notifications are available, but only the first time. A minor issue, will be fixed as soon as we can.
FLAG_ACTIVITY_NEW_TASK re-added to floating windows

ActivityStack modified to not cancel results if window is floating and "new".

Change-Id: I45f3dcc816092daa4192be91828592a0b2b2ac59
SystemUI: fix Alt signal indicator layout on Tablet UI
Works for all tablet dpi's
Change-Id: If5560503c9bafb0f32740f6ef8c56c9c2f0b53cb
Revert "Can not mark the same content of browser page after copy"

This reverts commit 660f4ae57545f3fa1aef2867ca2050f118e72b93

Change-Id: I7d601db85ce74ed61d07265ac3ff461b2ca941e9
Kill floating activities running in the same thread when tapping outside
This change makes all activities from the same app to be finished when we tap outside the halo window. Other apps running in different threads
(floating or not) won't be finished.

Change-Id: I3c51eafdcee7032fa90876411da3ff1eae0106c3
Halo: Avoid showing Halo))) icons in status bar while added to Halo (Credits @Anu6is)

Change-Id: I27bb1ec4cf6d6b92c08b95e02a927ec275d10f2d
Completely hide Halo))) icons while tasking
- previous commit by BigBrother1984 stopped the highlighting of Halo))) icons
  this should remove them completely. Other status bar icons are still highlighted

Change-Id: I012ed8fa4688eaf3d10749a83df46e8000b4575a
Halo: Merge new icons order in expanded Pie notification shade

Change-Id: Ic0a7dc26d76bcbed5eb26f2c49e1c4ebc8a39c58
Merge branch 'cm-10.1' of https://github.com/PAC-man/android_frameworks_base into cm-10.1
Framework: Make QS Tile Random Color off by default

Change-Id: I8582dfc74b7fc3c07ba8bb07be33612c8d5f4ab2
Add seinfo parsing to PackageManagerService.

This patch set allows the PMS to parse the
mac_permissions.xml file which contains the
seinfo values. Each package that is installed
on the device will be assigned an seinfo value
based on policy. This seinfo value will help label
the app process and data directory. Modifications
also include, adjustments to ApplicationInfo.java
to store the seinfo tag per package, adjustments
to installd to communicate the seinfo tag to
libselinux, and finally a set of unit tests.

Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>

Change-Id: I61ad1ea12fb6a9a6d0b108ec163bc4bf4c954b58
Added SELinux enforcing status and booleans keys to secure system settings.

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

Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8474e
Save off the seinfo value with packages.list.

Patch adds the seinfo label per package to the file.

Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8475e
Add APIs to allow Device Admins to change SELinux settings

These calls, added to the Device Admin API, will allow Device Admin apps
to change various SELinux settings, including:
* Toggling SELinux enforcing and permissive modes
* Toggle SELinux booleans
* Load a new SELinux policy file (sepolicy)
* Load new SELinux context files ({property,file,seapp}_contexts)

In order to use these APIs, a Device Admin must first request
USES_POLICY_ENFORCE_SELINUX, then become a SELinux Admin by calling
setSELinuxAdmin(). All other set* calls relevant to SELinux are guarded
by a check against whether the admin is a SELinux Admin.

Otherwise, the style of the set* calls are very similar to the other
calls setting device policy in the Device Admin API. That is, these
calls change the Admin's internal state and then call a sync method to
update the device's state to the Admin's state.

Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8476e
Remove SELinux additions from public API

Change-Id: If2e076312b0e411145c1cd900f3ae20d998a0f24
Simplify check during admin removal for whether to cleanup SELinux

Also re-arrange and cleanup

Change-Id: I1261e715d8d04b72f8a29b8a24268d75946d24dc
Apply MMAC changes from master.

Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8477e