DO NOT MERGE - Full (local) restore security changes

(1) Prevent full restore from creating files/directories that are
    accessible by other applications

(2) Don't restore filesets from "system" packages; i.e. any that runs
    as a special uid, unless they define their own agent for handling
    the restore process.

Bug 7168284

This is a cherry-pick from the originating tree.

Change-Id: I9f39ada3c4c3b7ee63330b015e62745e84ccb58f
PackageManager: Restrict system packages to protected storage

Don't allow packages signed with the platform key to be
installed into user (or app) controlled storage

(cherry-picked from 64fa8092090d067d78163b8ebce45baa1123ce9d
 with changed file path)

Patch set 2: Fix compile error due to changed function name

Change-Id: I7390b3bdf5289411f7a335c69635bed9f74bbfb3
Added hungarian translation for sendMockSms settings

Change-Id: Icde0488a79f156cc703ab7ae7ec07a8b72855bae
Services: Fix for dock audio routing

Include more names in dock switch condition like in changeid
I26d548e4a8c269419ac012ff85ff61d228dc4127.

This fix cardock audio (tested with Motorola Atrix)

Change-Id: I1bf9fbd82c332e92f1436f514b44f36c8297d9ae
* Only do a cancel discovery if the device is discovering.
* explicitly close input and outputstream. This could prevent objects from being cleaned up before
  the next connect attempt.

Change-Id: I43edf58baccf56046abf79202739af31558ac098
SystemUI: Added czech translations

Change-Id: Icbee6996aed609c4bdc134d9d4a9b0ac663fd8c1
Framework: Added czech translations

P3: update

Change-Id: I9b6cd0dff4c2a0838ec2c37e1d608aa1a279332b
Revert "Option to enable gfx effects (2/2)"

This reverts commit cac9fb1c9edb032d89e17f069bd907e60befcfdb.
Merge branch 'jb-mr0-release' of https://android.googlesource.com/platform/frameworks/base into aosp-merge

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
	services/java/com/android/server/SystemServer.java
	telephony/java/com/android/internal/telephony/cdma/CdmaSMSDispatcher.java
	telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java

Change-Id: I0f435852a82b2db10a6ec804e3b829a52ba0c577
systemui: Fix layout after conversion to LinearLayout

Change-Id: Ie033f95a8d8e1c391ecaf5df13d856b1858698cf
framework/base: fixed romanian translation

Change-Id: I5984261c53c8e1c83f770e9b2812ff75152c8e8d
systemui: Restore original status bar date view spacing

Stock:
http://imageshack.us/f/4/screenshot2012100921561.png/

Before:
http://imageshack.us/f/708/screenshot2012100921561.png/

After (plus another icon patch):
http://imageshack.us/f/37/screenshot2012100922390.png/

Change-Id: I609778d2878a401380e81b14c318d2595297d1dc
Option to enable gfx effects (2/2)

Allow devices that do not meet ActivityManager.isHighEndGfx(display)
to enable graphic effects such as (in this case) the screen dimming
effect behind an expanded notification panel.

Patch 2: Rebase
Patch 3: Moved observe() before start() so preference boolean is
         set before gfx conditionals are evaluated.
         Still requires restart or reboot for full effect.
Patch 4: Consider high end gfx settings in recents panel

Change-Id: I7f94a00ef3260b66d6d715adbd1b11961ec32ee3