Revert "Fix error checking in MemoryFile."

This reverts commit 2142c2cf6ffc0979fff7d0312fd6f90ca6c08a19.
Fix android.os.cts.MemoryFileTest#testLength

Change-Id: I4569ba7f35342ace20d5bb857da6e0d2d085ec8a
ActivityManager: Fix monkey tests

Change I30e38c6c27d339d55a8f9a0f4106185356a9b9a0 (adding ordered
broadcast prioritization) adds the assumption that every broadcast
generator has a full-fledged caller app, which isn't true for
monkey-created tests. Make sure the caller is a full app before
checking if it is AID_SYSTEM to avoid an NPE

Fixes com.android.cts.monkey.*

Change-Id: Ide0dd046c6c5eb10ab4acb504237b58cbbbd8cfa
Restore ProfileGroup notification override functionality

Also clean up a little.

JIRA: CYAN-3164
Change-Id: I9b71a225996315f517b59d2d6f4074175bbf2d64
fb: Incoming Call in Background (3/3)

Patch ported from 4.2 which was done by our lovely HCP. A
very popular one so we bring it back and adapt it to 4.4
Allows user to set that Incoming Call UI will remain in background
if screen is on. Instead, a notification is added to StatusBar, which
can be used to bring up the Incoming Call UI. Ringtone and vibration
still occur as per system settings.
This has the same effect as apps marked as "immersive". It prevents
the incoming call from backgrounding the current activity.

Change-Id: I086d5e82cfd54b89489801e8f0f0e2089e77aca5
QS: give animation love to network mode and wifi tiles

Change-Id: I59dcede96ce5895e3ce38c29f36c9f08b11e3599
[1/2] Frameworks: Add in-the-spot user preference dialog

This is a new way to setup your device, more intuitively, without
diving into a sea of a hundred of menus
The basic idea is taken from TouchWiz roms (here: http://goo.gl/W40rF6)
Also create a helper class for implementing this easier all around the
ROM and implement it for first time on Quick Pull down

Drawables by Arz Bhatia

Author	D4rKn3sSyS <jesdga95@gmail.com> 	Jan 19, 2014 2:41 AM

Change-Id: I5645e6a377761bbfbf9fb9d4faec273eaca69ce8
Port: https://gerrit.paranoidandroid.co/#/c/3527/
fix search textfield

Change-Id: I1255434e1e42973afd8d9907459dcd8795e96c4b
Fixed cancel() not working correctly

The method handleMessage(Message msg) from mHandler variable was
not checking if the timer was cancelled, so
sendMessageDelayed(obtainMessage(MSG), delay) was keeping the
timer alive. The patch simply adds a boolean and checks if the
CountDownTimer was cancelled before calling
sendMessageDelayed(obtainMessage(MSG), delay)

bug: https://code.google.com/p/android/issues/detail?id=58668

Change-Id: Ic6bbb9d33a3616f8503db222513cc14ad2270cb8
Signed-off-by: jl1990 <jlcarrasco1990@gmail.com>
Better expose 'QS Tiles and layout' function

Reorganizing & customizing the QS tiles is one of our features, but it
is buried 4 clicks deep in Settings menus. This is not ideal.

Create a new icon on the main QS panel view to quickly launch into
the configuration page.

Screenshots: http://imgur.com/a/H3iN7

This respects all the existing flip animations and quick pulldown. Does not
interfere with the clear-all button either.

PS2: Rebase
PS3: Change intent
PS4: Add missing boolean
PS5: Whitespace & Use different icon
PS6: Address comments and add additional drawable densities
PS7: Fix reference to old drawable
PS9: Swap back to + icon
PS10: Typo

Change-Id: Ia715767ba2a7cfdd44b0fafa082877def6867440
storage: Don't list removed volumes in storage list

 * Don't tell apps that USB storage or empty SD slots are available for
   use. This fixes errors about trying to create dirs in vold as well
   as the relevant CTS cases.

Change-Id: Ic763d40c19b0bb9f7497cc1515baf1661d76e9ee
SystemUI: remove unused translations

Change-Id: I9a20dbbcad652a058049eb5b7f8b9726a38c11a2
Modify alarm tile to show alarms when clicked

Change-Id: I76002b37dfe81c4e8973b3ef3f70fd67c26b1e4e
Frameworks AppOps: fix allow/reject counting

Was missing from the original counters commit:
http://review.cyanogenmod.org/#/c/57352/

Change-Id: I9c180ff132077f21426a36f2ceb7d23a054d7ae4
keyguard: fix delay lock screen sound

Change-Id: Ia4cd2c856df1573856386e1597dcc0a9600d25a5
JIRA: CYAN-3362
Issue: https://jira.cyanogenmod.org/browse/CYAN-3362
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Addition of automobile profile and group apps

Additions
- An automobile profile to improve the OOB experience
- New apps to the profile groups...Google Calendar, Google Hangouts

Change-Id: I4b728b257ebd68aae3695b9dd30496cb63efee39
Added missing stuff

Change-Id: I9075e895c2892f743c8976a1a62a8be01dd6230c
Unifying the Pac Image.

Some unicorns got in a made a mess of the stables, I sent someone over
to sort it out with no luck. But I've got this stuff here to fix up most
the issues he created.

AND why do we have stables if we don't have any horses! It's just asking
for unicorn problems!

Change-Id: Ifbaa7a4ebde18adb6fcf8213778be475d67f5796
Removing the dot

If you put phone in airplane mode it says "NO SERVICE."
This removes the annoying dot
After test build: http://goo.gl/iIrHN4

Change-Id: Id6e3adb1b6d290af1bfe508459aa65d1281ac5ec
FW: LS Notifications: Add "Show all notif" NavBar Button

from: https://github.com/AOSPAL/android_frameworks_base/commit/4325a110af58e6b1c7e1005a9f1f2576bbad5e60

PS2: message & Author update
PS3: Rebased & remove unrelated changes

Change-Id: I67456db4f9728fefbabc9da9c290d070021705b4
FW: LS Notifications Rewrite add notification logic & fix pokect mode

Original commit message:

 There were some problems with notifications getting replaced while the user was currently dragging them.
 This commit should fix that by always waiting until animations and user input are finished before replacing a notification view.

and I added some missing line for pocket mode fixes

PS 2&3: Update Author & message

Change-Id: I73e3337e953c1fb8f17597efae8782a4d2878c40