Add OpenCnam paid account settings keys

Change-Id: I895b5f2b2a8a8de568e5aa1cea5d66ba490985fc
core: Add support for Galician

Change-Id: I6a8f18d07436ff414897c63170e7eaebcf93e891
Merge remote-tracking branch 'cm/cm-11.0' into HEAD
quickboot: Disable quickboot by default

* We probably don't want to enable this by default on devices that have
  it because it is confusing to users attempting to shut down their
  phones.

Change-Id: I80eb946f93509cb3b32f6c790611597921b9c54a
Cleanup theme assets when done with them

Before this patch if phone was left on long enough it would reboot
when a theme was applied due to files being left open.

Change-Id: I4c242249fcf6e8097789c3dd6690104296485784
Merge remote-tracking branch 'cm/cm-11.0' into HEAD
Merge "Add OpenCnam paid account settings keys" into cm-11.0
Merge remote-tracking branch 'cm/cm-11.0' into HEAD
Revert "Add OpenCnam paid account settings keys"

This reverts commit 3cd778a712234332f327d7e63050c216f21515ac.
Automatic translation import

Change-Id: I90bbb3a3190aaef291d16fd4b68bd9bb54321e93
Merge remote-tracking branch 'cm/cm-11.0' into HEAD

Conflicts:
	packages/SystemUI/res/values-hu/cm_strings.xml

Change-Id: Ib8e59eaa7dc3861c137c9c494e1134c377375005
Themes: Fix handling of overlay packages in AssetManager

The new theme engine did not handle the fact that a legacy
theme contained one package ID that was being used for both
framework and 3rd party apps.  This caused some issues with
styles not bein properly loaded from legacy themes.  Missing
action bars in some apps was the most noticable side effect
of this problem.  This patch takes this into account without
affecting themes using the new format.

Change-Id: I89b3dbf71db925726b949511a7e34a0d2949deab
Keyguard: Fix "Show more than a "." when input wrong PIN code" issue

The format string msim_kg_sim_pin_msg_format has one ".", while the
parameter string msg also has one ".".

We will delete "." of the the format string msim_kg_sim_pin_msg_format.

CRs-Fixed: 640322

Change-Id: Ifcef1887db27a3dd47c4e679b5135cf83cf10fe8
Merge remote-tracking branch 'cm/cm-11.0' into HEAD
[ActivityManager] Reduce report ANR on wrong activity.

Symptom: ANR report on wrong activity.

Root Cause:
  KK changed resume behavior that will not update focus when only resume,
if the activity blocked, it may report ANR on previous focus.
  By original concept, it will try to correct the ANR target,
but the stack of waiting(waitingVisible=true) activity may
different with current top stack.
  If it gets key dispatch timeout, mResumedActivity and mPausingActivity
of its stack will be null becuase it is not top stack.
Then it is unable to change ANR target to the real no response activity.

Solution:
 Use focused stack to get the real culprit.

Reproduce steps:
1.Launch an Activity X from launcher, press home key.
2.Launch X from launcher again, X blocks(sleeps 15sec) in onResume, press back key in the beginning of blocking duration.
3.ANR dialog shows launcher is no response.

Change-Id: I99416ad91e349096f995990f2240a97616fbaf28
Always call super.onCreate().  Always.

Bug 12991134

(cherrypick of commit 9d6376a1d88ab5b3a41ee4400e3aaa4c4ee69e2a)

Change-Id: Ife16ef93408253e3318a06dc0206ab4b88c7f367
[ActivityManager] Fix a bug: unable to start activity after starting activities during screen off.

Symptom: Unable to start any activity.
Root Cause: ActivityStack.mPausingActivity() points to a destroyed activity of a died process, so that ActivityStackSupervisor.allPausedActivitiesComplete() always returns false.
Solution: Set mPausingActivity to null in ActivityStack.cleanUpActivityLocked().
Reproduce steps:
    a. Turn screen off.
    b. A background service starts an activity X (in process X).
    c. A background service starts a no-history activity Y (in process Y), but the main thread of Y was blocked.
    d. A background service starts Y 3~4 times --> this causes am_failed_to_pause on X.
    e. Main thread of Y is freed finally --> this causes Y crash for android.view.WindowManager$BadTokenException.
    f. Turn screen on, X is shown on screen, but neither back key nor home key can work because mPausingActivity is Y.

Change-Id: I320b3db407e2d4cc745c8ca22a6e548742234242
Don't register methods when there's nothing to register.

Change-Id: I6d0233f79bb90089426d702b4076ec5750e82475
Keyguard: give the Keyguard a non-empty app label

A blank app label under "Apps" looks suspicious to
the untrained eye.

Change-Id: Ic679e5d6d825a83a8f666bb7e6429bebf1280f6d
Signed-off-by: Roman Birg <roman@cyngn.com>
Add config_batterySdCardAccessibility to symbols.xml

Change-Id: I0f9dc18ddaaa52d02ba547c827db62d1d765c37f