Revert Add support for external dock batterys

commit Id is 82b18b929c433e6c3a761a64ac94613a9ad72d66

Allows the external battery status to be read via framework.

Change-Id: I1340071cecab8f1733e58e4f3ba0d304f861f311
Add support for and show dock battery levels

Add support for docks which have batteries and add their icons and charge to the status bar.

Original code by CyanogenMod, rebased by termleech and me.

Change-Id: If682e3ee8417b20d26ae471c17a932d02a41aca7

	修改：      api/current.txt
	修改：      core/java/android/os/BatteryManager.java
	修改：      core/res/res/values/config.xml
	修改：      core/res/res/values/public.xml
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_0.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_100.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_15.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_28.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_43.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_57.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_71.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_85.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_charge_anim0.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_charge_anim100.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_charge_anim15.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_charge_anim28.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_charge_anim43.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_charge_anim57.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_charge_anim71.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_charge_anim85.png
	新文件：    packages/SystemUI/res/drawable-sw720dp-mdpi/stat_sys_kb_battery_unknown.png
	新文件：    packages/SystemUI/res/drawable/stat_sys_kb_battery.xml
	新文件：    packages/SystemUI/res/drawable/stat_sys_kb_battery_charge.xml
	修改：      packages/SystemUI/res/layout/system_bar_notification_area.xml
	修改：      packages/SystemUI/res/layout/system_bar_notification_panel_title.xml
	新文件：    packages/SystemUI/src/com/android/systemui/statusbar/policy/DockBatteryController.java
	修改：      packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
	修改：      services/java/com/android/server/BatteryService.java
	修改：      services/jni/Android.mk
	修改：      services/jni/com_android_server_BatteryService.cpp
ActivityTrigger:  New class to invoke when activity starts/resumes

Change-Id: Ib57aa4d3767e27b5bba658b27e084fc3ef042c36
nfc: set right the nfcti_enhancement

FCTI_ENHANCEMENT property setting should flow in from the system.prop file
and should not be by default defined as true.
If it is defined to be true, then there is no point in introducing the change
itself, since it is set to true to begin with.

The flag in itself is required to avoid certain sections of code in Nfc.apk
that are specific to nxp chipset originally from Google.
So, in packages/apps/Nfc/ we should check for
!SystemProperties.NFCTI_ENHANCEMENT and avoid nxp specific sections of code.

Change-Id: I6a4bdc257b4ec39429438c793df30dd2671fdd3d
Signed-off-by: bvijay <bvijay@ti.com>
Telephony: Dynamically instantiate IccCard

Add required constant for Dct

Change-Id: I61cafee25cb40fe7de606a78566f93dfee523c73
Telephony: Add ICC_UNKNOWN intent

Change-Id: I1a666973dd23f510a0cce60ef7db462728717fc0
fix build break

Change-Id: Id5a878f444b058ebbe67f5d305a9d54e2f5ceb16
Lockscreen: add alternative music layout (2/2)

This will add the alternative music layout and adds the option
to toggle between it and the stock layout

PS 2: fix derp
PS 3: fix tablet layout
PS 4: commented out unused ids in public.xml
PS 5: fix pin/password lockscreen
PS 6: fix landscape layouts
PS 7: fix landscape PIN for real, format lockscreen layout files

Change-Id: Idb2485bd7000fc5936ab4019e2a9b77aa8242dfd
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
WIP Custom Vibrations  (1/6)
Frameworks part.

Fixme SunRain: Functions from aokp, need to add other parts later

- added new VibrationPattern class for storing & handling vibration patterns
- added contact related provider columns
- added custom vibrations to the CallerInfo class
- necessary layouts & changes

PS6: rebase

Change-Id: I314abc4fec70e85f2b1b93bacb6ddf43301d42ec
Signed-off-by: sethyx <sethyx@gmail.com>
WIP framework: always show battery percent on lockscreen (1/2)

FIXME SunRain
cherry-pick from aokp, need to clean up the KeyguardStatusViewManager.java and add setting parts later

ported from our ICS branch
https://github.com/AOKP/frameworks_base/commit/0f80f1e88e92da838dc4c9b632c9f176f3bc6bb2
https://github.com/AOKP/frameworks_base/commit/968bbc78b37a9e7697049faee3d178569a6d8e6c

p2: added java-symbol to public.xml
    added additional condition to KeyguardStatusViewManager.java
p3: corrected so it shows percent at low battery levels
p4: changed "Battery" > "Discharging" on lockscreen
    added new string for low levels > Connect your charger, %
p5: fixed low battery % displaying properly

Change-Id: I4886bd7c23ecafd4e270f88b38ddfd95d86548c4
Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
remove the aokp lockscreen calendar java-symbol in core/res/res/values/public.xml as we are using cm one

Change-Id: Id0c0dc67e52ec5e10cd1f2e871f998548e923b90
framework: hide NavBar on demand, and basic Nav controls in Power Dialog.

This also fixes re-sizing of the NavBar on demand.
TODO:  Still need to find a way to 'Poke' the Notification shade.
It will not respond to NavBar resizes until rotate or other re-draw
event.

Patch set 2: Clean up and rebase

Change-Id: I37eead1415475e3c6b96daaeab4d99303e861541
fix build break

Change-Id: I0f23f1f9a7e1fe59ebf5b99a9fd4999a1dc4b447