OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "SettingsLib: the time is wrong in battery info view."
Linux Build Service Account [Wed, 14 Sep 2016 08:52:58 +0000 (01:52 -0700)]
Merge "SettingsLib: the time is wrong in battery info view."

7 years agoMerge "ShutdownThread: Call into oem shutdown function"
Linux Build Service Account [Tue, 13 Sep 2016 22:21:09 +0000 (15:21 -0700)]
Merge "ShutdownThread: Call into oem shutdown function"

7 years agoMerge "Allow apps with CREATE_USERS permission to call UM.getProfiles."
Linux Build Service Account [Tue, 13 Sep 2016 22:21:07 +0000 (15:21 -0700)]
Merge "Allow apps with CREATE_USERS permission to call UM.getProfiles."

7 years agoMerge "Bluetooth: Fix broadcast receiver leak issue"
Linux Build Service Account [Tue, 13 Sep 2016 22:21:05 +0000 (15:21 -0700)]
Merge "Bluetooth: Fix broadcast receiver leak issue"

7 years agoMerge "IMS: Arrange data, VoLTE icons in correct order."
Linux Build Service Account [Tue, 13 Sep 2016 14:23:32 +0000 (07:23 -0700)]
Merge "IMS: Arrange data, VoLTE icons in correct order."

7 years agoMerge "Frameworks: fix living wallpaper exception when reboot"
Linux Build Service Account [Tue, 13 Sep 2016 05:21:27 +0000 (22:21 -0700)]
Merge "Frameworks: fix living wallpaper exception when reboot"

7 years agoMerge "Don't start wallpaperManagerService when in power off alarm mode"
Linux Build Service Account [Tue, 13 Sep 2016 05:21:27 +0000 (22:21 -0700)]
Merge "Don't start wallpaperManagerService when in power off alarm mode"

7 years agoMerge "Don't remove preferred activities when in power off alarm mode"
Linux Build Service Account [Tue, 13 Sep 2016 05:21:26 +0000 (22:21 -0700)]
Merge "Don't remove preferred activities when in power off alarm mode"

7 years agoMerge "Update the customize date format"
Linux Build Service Account [Tue, 13 Sep 2016 05:21:25 +0000 (22:21 -0700)]
Merge "Update the customize date format"

7 years agoMerge "frameworks: Added listener for NETSTATS_GLOBAL_ALERT_BYTES URI"
Linux Build Service Account [Tue, 13 Sep 2016 05:21:25 +0000 (22:21 -0700)]
Merge "frameworks: Added listener for NETSTATS_GLOBAL_ALERT_BYTES URI"

7 years agoAllow apps with CREATE_USERS permission to call UM.getProfiles.
Sudheer Shanka [Fri, 29 Jul 2016 18:03:37 +0000 (11:03 -0700)]
Allow apps with CREATE_USERS permission to call UM.getProfiles.

Bug: 29189712
Bug: 30317026
Bug: 30235113
Change-Id: I899f13898773483ee627a974d70173b5aa962e9a
(cherry picked from commit c372cb67ade0e6b73f00d78abafe6c800f5a9bf2)

7 years agoBlock user from setting safe boot setting via adb
Benjamin Franz [Tue, 12 Jul 2016 12:42:21 +0000 (13:42 +0100)]
Block user from setting safe boot setting via adb

Bug: 29900345
Change-Id: Id3b4472b59ded2c7c29762ddf008ee8486009dbb
(cherry picked from commit 91fc934bb2e5ea59929bb2f574de6db9b5100745)

7 years agoPre-setup restrictions
Jason Monk [Thu, 30 Jun 2016 17:15:48 +0000 (13:15 -0400)]
Pre-setup restrictions

 - Prevent external tiles from system apps
 - Disable help

Bug: 29194585
Change-Id: I92da498110db49f7a523d6f775f191c4b52a4ad6
(cherry picked from commit e206f02d46ae5e38c74d138b51f6e1637e261abe)

7 years agoShutdownThread: Call into oem shutdown function
Ameya Thakur [Mon, 12 Sep 2016 21:19:47 +0000 (14:19 -0700)]
ShutdownThread: Call into oem shutdown function

We now call into the oem specific shutdown function while shutting
down Android.

Change-Id: Iedd16b1693b20ec39e7e6290cb7ed9f9e7b828a8

7 years agoUpdate the customize date format
Fang Yunong [Sat, 3 Sep 2016 06:24:56 +0000 (14:24 +0800)]
Update the customize date format

Modify the feature to control the date format for customer

Change-Id: I05f9c73c0d1c151461fe17b9dde6771e46993849
CRs-Fixed: 1056112

7 years agoMerge "Fix: Layout children again when padding changed in AbsListView."
Linux Build Service Account [Mon, 12 Sep 2016 01:22:36 +0000 (18:22 -0700)]
Merge "Fix: Layout children again when padding changed in AbsListView."

7 years agoMerge "Frameworks: Add CHN-CT to String Mapping Table"
Linux Build Service Account [Sun, 11 Sep 2016 18:58:02 +0000 (11:58 -0700)]
Merge "Frameworks: Add CHN-CT to String Mapping Table"

7 years agoMerge "Fix 4g plus icon issue in quick settings"
Linux Build Service Account [Sun, 11 Sep 2016 18:58:02 +0000 (11:58 -0700)]
Merge "Fix 4g plus icon issue in quick settings"

7 years agoFix 4g plus icon issue in quick settings
Susheel nyamala [Fri, 10 Jun 2016 16:24:41 +0000 (21:54 +0530)]
Fix 4g plus icon issue in quick settings

When PS is registered to LTE_CA, 4g plus icon is displayed
on status bar above signarl strenght, but in quick settings
menu, 4g icon is displayed.
Update 4g plus icon in quick settings for LTE_CA.

Change-Id: If367ea7781732db34c71d45fd667c6c062ffc709
CRs-Fixed: 1019030

7 years agoMerge "Update the default usb config"
Linux Build Service Account [Sat, 10 Sep 2016 08:03:50 +0000 (01:03 -0700)]
Merge "Update the default usb config"

7 years agoMerge "Check uid for notification policy access."
Linux Build Service Account [Fri, 9 Sep 2016 16:29:14 +0000 (09:29 -0700)]
Merge "Check uid for notification policy access."

7 years agoFrameworks: Add CHN-CT to String Mapping Table
mqi [Fri, 9 Sep 2016 05:29:31 +0000 (13:29 +0800)]
Frameworks: Add CHN-CT to String Mapping Table

Add CHN-CT mapping to China Telecomm in string mapping table.

Change-Id: I55009c56b951d49e738f262877008df8ec00922c
CRs-Fixed: 1064438

7 years agoframeworks: Added listener for NETSTATS_GLOBAL_ALERT_BYTES URI
Devi Sandeep Endluri V V [Thu, 8 Sep 2016 10:28:46 +0000 (15:58 +0530)]
frameworks: Added listener for NETSTATS_GLOBAL_ALERT_BYTES URI

Add listener for NETSTATS_GLOBAL_ALERT_BYTES URI and Update the
mGlobalAlert bytes when there is a change.

CRs-Fixed: 1037558
Change-Id: I4578e91764e4f4d4a387ac2bdc851a391acc7986

7 years agoFrameworks: fix living wallpaper exception when reboot
guangbing [Thu, 8 Sep 2016 01:38:22 +0000 (09:38 +0800)]
Frameworks: fix living wallpaper exception when reboot

If living wallpaper is set, device shows static wallpaper
for a moment after boot up then switches to living wallpaper.
Bind service for getting wallpaper data will not success
first time after reboot if the wallpaper isn't direct-boot
aware,for getting the desired data requires the second
parameter of bind method equals "MATCH_DIRECT_BOOT_UNAWARE",
then rebind the service,and it shouldn't set first display
as last setted static wallpaper before getting the desired
data.

As long as the boot time is set to show the living wallpaper
first even if the wallpaper data is still in loading,it's
better than show the static wallpaer first which would lead
to the phenomenon of flash.

Change-Id: Id3a75d44e25ee8744e0551bae046876880909650
CRs-Fixed: 1056697

7 years agoCheck uid for notification policy access.
Julia Reynolds [Wed, 29 Jun 2016 12:43:00 +0000 (08:43 -0400)]
Check uid for notification policy access.

Bug: 29421441
Change-Id: Ia0a7b06112dde1c925ec3232f50bf4d90b17b5e5
(cherry picked from commit 0cd1b789567b60b963fc7b8935e898ea0e61a617)
(cherry picked from commit 61e9103b5725965568e46657f4781dd8f2e5b623)

7 years agoDisallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction...
Victor Chang [Tue, 12 Jul 2016 22:47:29 +0000 (23:47 +0100)]
Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set

Fix: 29899712

Change-Id: I38cc9d0e584c3f2674c9ff1d91f77a11479d8943
(cherry picked from commit 9c7b706cf4332b4aeea39c166abca04b56685280)
(cherry picked from commit 335702d106797bce8a88044783fa1fc1d5f751d0)

7 years agoDon't allow enable/disable of tuner on lockscreen
Jason Monk [Tue, 19 Jul 2016 16:39:58 +0000 (12:39 -0400)]
Don't allow enable/disable of tuner on lockscreen

Change-Id: Id9748ea39a8fa03b67d3fa6f91da530dd5cf9409
Fixes: 30107438
(cherry picked from commit 6ca6cd5a50311d58a1b7bf8fbef3f9aa29eadcd5)

7 years agoDo not display No SIM when sim info not available
Sridhar Kasukurthi [Wed, 7 Sep 2016 11:32:27 +0000 (17:02 +0530)]
Do not display No SIM when sim info not available

*Display No Service instead of No SIM
*Remove carrier specific conditions

Change-Id: I8630b2a369f7e3cb21f50b2483cb9c91bd8ad74c
CRs-Fixed: 1042831

7 years agoSettingsLib: the time is wrong in battery info view.
yumeng [Tue, 30 Aug 2016 02:10:36 +0000 (10:10 +0800)]
SettingsLib: the time is wrong in battery info view.

show the positive time in Math method.

Change-Id: I78fe3a1128494fb2822cfa0c5326d20ad33ab374
CRs-Fixed: 991999

7 years agoIMS: Arrange data, VoLTE icons in correct order.
Benergy Meenan Ravuri [Wed, 7 Sep 2016 06:47:47 +0000 (12:17 +0530)]
IMS: Arrange data, VoLTE icons in correct order.

Fix the issue where VoLTE icon is coming in between LTE icon
and signal bar incase of roaming.

Change-Id: Idb480eb33f697687296b4257bd2ffa8fea0f8516
CRs-Fixed: 1063539

7 years agoUpdate the default usb config
c_yunong [Tue, 6 Sep 2016 07:02:00 +0000 (15:02 +0800)]
Update the default usb config

Enable the data transfer when the default usb mode is mtp or ptp.

Change-Id: I12c662876ee8dfc7caab8a29fced62c06fdd2525
CRs-fixed: 1056112

7 years agoMerge "Interface to check for deferred messages"
Linux Build Service Account [Tue, 6 Sep 2016 13:56:41 +0000 (06:56 -0700)]
Merge "Interface to check for deferred messages"

7 years agoFix: Layout children again when padding changed in AbsListView.
Libo Jin [Tue, 6 Sep 2016 08:16:41 +0000 (16:16 +0800)]
Fix: Layout children again when padding changed in AbsListView.

Change-Id: I09430e5ac838e8f5e642d4479dd459e7e5f39e6a
CRs-Fixed: 1055325

7 years agoDon't start wallpaperManagerService when in power off alarm mode
Mao Jinlong [Tue, 6 Sep 2016 06:46:45 +0000 (14:46 +0800)]
Don't start wallpaperManagerService when in power off alarm mode

As wallpaper is not necessary during power off alarm, don't start
wallpaperManagerService when it is alarm boot.

CRs-Fixed: 1063317
Change-Id: I0c3cb964af2044235c13c17f38994f5318d26a6b

7 years agoDon't remove preferred activities when in power off alarm mode
Mao Jinlong [Wed, 31 Aug 2016 08:50:50 +0000 (16:50 +0800)]
Don't remove preferred activities when in power off alarm mode

When in power off alarm mode, only power off alarm apps are installed.
So some applications with preferred activity may not be installed. Don't
remove preferred activities when in power off alarm mode to avoid choosing
preferred activities again during next boot-up.

CRs-Fixed: 1063320
Change-Id: Ia383ce3ecc7fb5051c00211b007acd7123124a4c

7 years agoKeyguard: Fix incorrect sim pin code counting issue
mqi [Mon, 5 Sep 2016 05:24:36 +0000 (13:24 +0800)]
Keyguard: Fix incorrect sim pin code counting issue

The Chinese resource string is not synced with English resource
string, missing sim card number which resulted the problem.

Change Chinese resource string synced with English one.

Change-Id: Ib921dc2f130c2e4002b3cfb58098b8e05ea8a86c
CRs-Fixed: 1056166

7 years agoMerge "Keyguard: Replace "Emergency" to "Emergency call""
Linux Build Service Account [Sun, 4 Sep 2016 03:50:08 +0000 (20:50 -0700)]
Merge "Keyguard: Replace "Emergency" to "Emergency call""

7 years agoKeyguard: Replace "Emergency" to "Emergency call"
Chaitanya Kumar Reddy Gopireddy Srinivasa [Fri, 15 Apr 2016 15:27:00 +0000 (20:57 +0530)]
Keyguard: Replace "Emergency" to "Emergency call"

For Emergency call button replace the text "Emergency"
with "Emergency call".

Change-Id: I69afdd8b85dd2d5d352ba70b716453e3425f3760
CRs-fixed: 1018881

7 years agoIMS: Update MISSED_IMS_TYPE and MISSED_WIFI_TYPE calls in DB
Pooja Jain [Thu, 28 Jul 2016 08:57:28 +0000 (14:27 +0530)]
IMS: Update MISSED_IMS_TYPE and MISSED_WIFI_TYPE calls in DB

Need to store missed calls of Ims type also in DB as currently,
only CS missed calls are stored.

Change-Id: I3020d675bec3266da7d91d303cb9f8858a99bcbb
CRs-Fixed: 1063174

7 years agoMerge "Send intent onLaunch of StatusBar in IntentTile"
Linux Build Service Account [Sat, 3 Sep 2016 09:14:18 +0000 (02:14 -0700)]
Merge "Send intent onLaunch of StatusBar in IntentTile"

7 years agoSend intent onLaunch of StatusBar in IntentTile
Suresh Koleti [Wed, 6 Jan 2016 10:53:34 +0000 (16:23 +0530)]
Send intent onLaunch of StatusBar in IntentTile

Enabled option in IntentTile of Quick Settings
to send a broadcast when the StatusBar is
dragged down to see the Quick Settings.

Change-Id: Ic8e8ffc70d9255275ad9654a4de13861e4457774
CRs-Fixed: 1061684

7 years agoDo not display sim absent when sim info is not available.
Hari Veerubhotla [Mon, 11 Apr 2016 15:00:42 +0000 (20:30 +0530)]
Do not display sim absent when sim info is not available.

Display NO Service instead of NO SIM when sim is not ready

Change-Id: I168a9621e2121c8aee9d93b6048219cf3a4085f4
CRs-Fixed: 1001718

7 years agoMerge "Tether: fix bt-pan and wlan0 timing issue"
Linux Build Service Account [Fri, 2 Sep 2016 04:47:28 +0000 (21:47 -0700)]
Merge "Tether: fix bt-pan and wlan0 timing issue"

7 years agoMSIM: Provide voice pref selection in qucksettings.
Nishanth Kumar Sirivolu [Tue, 23 Aug 2016 06:45:13 +0000 (12:15 +0530)]
MSIM: Provide voice pref selection in qucksettings.

Add new buttons in Quick settings to select preferred
voice SIM card for placing out going calls

CRs-Fixed: 1003527

Change-Id: Ic2811f80085e5f9a25ea589c1c1c9247cad4ab72

7 years agoMerge "SystemUI: Fix SystemUI FC issue"
Linux Build Service Account [Thu, 1 Sep 2016 21:07:17 +0000 (14:07 -0700)]
Merge "SystemUI: Fix SystemUI FC issue"

7 years agoMerge "SystemUI: Fix for display datatype icon while in roaming"
Linux Build Service Account [Thu, 1 Sep 2016 16:03:54 +0000 (09:03 -0700)]
Merge "SystemUI: Fix for display datatype icon while in roaming"

7 years agoMerge "Display H icon for HSPA RAT's"
Linux Build Service Account [Thu, 1 Sep 2016 16:03:53 +0000 (09:03 -0700)]
Merge "Display H icon for HSPA RAT's"

7 years agoSystemUI: Fix for display datatype icon while in roaming
Shashidhar Vithalrao Kulkarni [Wed, 31 Aug 2016 07:53:09 +0000 (13:23 +0530)]
SystemUI: Fix for display datatype icon while in roaming

Display both roaming and data type icons in status bar
when mobile is in roaming
* Enhanced status bar style Extended to show
both romaing and data type icons for all RATs
* Increase padding between RAT and network type
  icon view when mobile is in roaming and
  show_roaming_and_network_icon flag set to true
* Fix for display R icon on wifi tile view when mobile
is in roaming

Change-Id: I583e6163f5c841e74593d94cbcd67855eb11bd14
CRs-Fixed: 1023026

7 years agoDisplay H icon for HSPA RAT's
Susheel nyamala [Mon, 1 Feb 2016 15:42:02 +0000 (21:12 +0530)]
Display H icon for HSPA RAT's

Add a check to display H icon for HSPA RAT's.

Change-Id: Ie8155eb4590b61f79215d3277648d112d9055073
CR-Fixed: 968357

7 years agoAdd support for LTE, LTE+ data icons display.
Chaitanya Saggurthi [Tue, 2 Feb 2016 14:45:10 +0000 (20:15 +0530)]
Add support for LTE, LTE+ data icons display.

LTE/LTE+ data icons must be displayed on signal bar
when PS is registered to LTE/LTE_CA RATs as per
operator requirement.

Change-Id: I60b8e50c92d06c0d847df501178add070b98273b
CRs-Fixed: 957277, 957403

7 years agoMSIM: Restrict data activity change to listeners with matching subId
Muhammed Siju [Mon, 4 Jan 2016 06:06:55 +0000 (11:36 +0530)]
MSIM: Restrict data activity change to listeners with matching subId

Currently data activity change callback is invoked on all listeners
irresepctive of subId. This causes wrong data activity value to be
updated from other sub. To fix this add subId match before invoking
callbacks on listeners.

Change-Id: If218ea3ead2b837d9c2d1cac4d353c1d35c5babe
CRs-Fixed: 957838

7 years agoMerge "Revert "Add Radio Tech support when search PLMN""
Linux Build Service Account [Thu, 1 Sep 2016 09:49:23 +0000 (02:49 -0700)]
Merge "Revert "Add Radio Tech support when search PLMN""

7 years agoMerge "SystemUI: Fix Signal Level Incorrect issue"
Linux Build Service Account [Thu, 1 Sep 2016 05:12:24 +0000 (22:12 -0700)]
Merge "SystemUI: Fix Signal Level Incorrect issue"

7 years agoMerge "Alarm:Fix issue exchange account disapper after power off alarm"
Linux Build Service Account [Wed, 31 Aug 2016 12:49:05 +0000 (05:49 -0700)]
Merge "Alarm:Fix issue exchange account disapper after power off alarm"

7 years agoSystemUI: Fix Signal Level Incorrect issue
mqi [Wed, 31 Aug 2016 08:25:13 +0000 (16:25 +0800)]
SystemUI: Fix Signal Level Incorrect issue

Signal level incorrect due to config_showRsrpSignalLevelforLTE is
not enalbed by default.

Enable this flag in default mode.

Change-Id: I301ce7604fabdf64cfab90639e486bfd95bd8bf9
CRs-Fixed: 1061505

7 years agoSystemUI: Fix SystemUI FC issue
mqi [Wed, 31 Aug 2016 07:44:31 +0000 (15:44 +0800)]
SystemUI: Fix SystemUI FC issue

SystemUI FC during monkey test due to null pointer.

Add null pointer check and initilization.

Change-Id: I419026649addfd14a4067ecadca5f676b322ecc8
CRs-Fixed: 1060934

7 years agoMerge "SettingProvider: add default values for show password"
Linux Build Service Account [Wed, 31 Aug 2016 06:47:58 +0000 (23:47 -0700)]
Merge "SettingProvider: add default values for show password"

7 years agoMerge "Bluetooth: Use correct previous state while moving to STATE_OFF"
Linux Build Service Account [Wed, 31 Aug 2016 04:47:44 +0000 (21:47 -0700)]
Merge "Bluetooth: Use correct previous state while moving to STATE_OFF"

7 years agoSettingProvider: add default values for show password
Fang Yunong [Tue, 9 Aug 2016 07:28:06 +0000 (15:28 +0800)]
SettingProvider: add default values for show password

set default value when system first starting. set password not show.

Change-Id: I0f71e223e63b1e03faa402f7e70622297cfaff14
CRs-Fixed: 1039259

7 years agoMerge "SystemUi changes submit"
Linux Build Service Account [Tue, 30 Aug 2016 03:14:14 +0000 (20:14 -0700)]
Merge "SystemUi changes submit"

7 years agoAlarm:Fix issue exchange account disapper after power off alarm
Mao Jinlong [Fri, 12 Aug 2016 05:58:47 +0000 (13:58 +0800)]
Alarm:Fix issue exchange account disapper after power off alarm

Some application with sync accounts are not being installed during
power off alarm boot mode. So it should not validate accounts and
update sync accounts if it is in power off alarm boot mode.

Change-Id: I7b1aea8a9a472a0e9bbea4123dbd86c311fb9483
CRs-Fixed: 1046815

7 years agoMerge "SystemUI: Fix systemui FC issue"
Linux Build Service Account [Mon, 29 Aug 2016 23:13:10 +0000 (16:13 -0700)]
Merge "SystemUI: Fix systemui FC issue"

7 years agoBluetooth: Fix broadcast receiver leak issue
Manu Viswanadhan [Tue, 5 Jul 2016 07:14:26 +0000 (12:44 +0530)]
Bluetooth: Fix broadcast receiver leak issue

Use Case: Repeated BT ON/OFF

Failure: Broadcast receiver leak is observed with ON/OFF stress
test which leads to broadcast receiver delays.

Steps:
BT ON/OFF.

Root Cause: During every ON-OFF there are brodacst receiver leaks
caused by repeated registering of profile intent receivers.

Fix: Deregister the broadcast receiver before the registering
profile intent receiver.

Change-Id: I5ca4fbaf654ced73e14260b27fbb2bdc4f23d334
CRs-Fixed: 1041552

7 years agoBluetooth: Use correct previous state while moving to STATE_OFF
Nitin Arora [Tue, 6 Oct 2015 22:48:51 +0000 (15:48 -0700)]
Bluetooth: Use correct previous state while moving to STATE_OFF

This change takes care of the previous state saved in the broadcast
intent while BT turns Off in absence of any BLE always ON app.
When bluetooth moved from STATE_BLE_TURNING_OFF to TURN_OFF
the previous state will be fed into the intent as TURNING_OFF
because the external apps such as CTS are not aware of the
LE_TURNING_OFF state

Change-Id: Ia1ee33ba22d6ccb5ac1a0297248f16d4c8d80c8c
CRs-Fixed: 1056256

7 years agoSystemUi changes submit
Fang Yunong [Fri, 26 Aug 2016 03:56:14 +0000 (11:56 +0800)]
SystemUi changes submit

Merge all SystemUI changes to one, changes as following:

    1659355 SystemUI: show "4G" indicator for HSPA+ network
    1659394 SystemUI: customize HSPA+ as 4G for special carrier
    1659414 SystemUI: display H+ in HSPAP network for Orange
    1660224 Frameworks: Customize network name and indicator on status bar
    1660302 Roaming indication not shown on UE when camped on VPLMN
    1660310 SystemUI: Fix the duplicated tethering icons
    1660388 SystemUI: Show carrier specific network indicators
    1660458 SystemUI: show "4GLTE" indicator for LTE network
    1666700 SystemUI: H+ or 3G+ shield the signaling bar

Change-Id: Ie93755394d617d45fd46cb624dd0ce88074e645e
CRs-Fixed: 1039313

7 years agoTether: fix bt-pan and wlan0 timing issue
Devi Sandeep Endluri V V [Thu, 4 Aug 2016 06:56:32 +0000 (12:26 +0530)]
Tether: fix bt-pan and wlan0 timing issue

In a situation where bt-pan or wlan
interface comes up later than the tether
command, tethering will fail with
interface not found error. This can
happen when the wifi hotspot is quickly
and repeatedly enabled and disabled.
Fix is to ignore interface down for
these cases

Change-Id: I464b87f1a6470401b2ef4e7507b804b1da5b5af2
CRs-Fixed: 784379

7 years agoSystemUI: Fix systemui FC issue
mqi [Wed, 24 Aug 2016 08:27:11 +0000 (16:27 +0800)]
SystemUI: Fix systemui FC issue

SystemUI FC due to null pointer.

Add null pointer check to avoid FC.

Change-Id: I853a1c270e3a63e96199ac43f7fa93c5f8eefb87
CRs-Fixed: 1058646

7 years agoRemove vulkan specific features from feature list if not supported.
padarshr [Fri, 12 Aug 2016 09:20:54 +0000 (14:50 +0530)]
Remove vulkan specific features from feature list if not supported.

Based on the property persist.graphics.vulkan.disable, we will
remove the vulkan features - FEATURE_VULKAN_HARDWARE_LEVEL and
FEATURE_VULKAN_HARDWARE_VERSION from available features list.

Change-Id: I9d70f8497159bcf10e1678e4936216af328d9774

7 years agoMerge "Synchronize access of mSubscriptions and fix NPE"
Linux Build Service Account [Sat, 27 Aug 2016 17:22:52 +0000 (10:22 -0700)]
Merge "Synchronize access of mSubscriptions and fix NPE"

7 years agoMerge "Alarm: ignore back key during power off alarm"
Linux Build Service Account [Fri, 26 Aug 2016 20:39:17 +0000 (13:39 -0700)]
Merge "Alarm: ignore back key during power off alarm"

7 years agoMerge "Update the customize date format"
Linux Build Service Account [Fri, 26 Aug 2016 20:39:16 +0000 (13:39 -0700)]
Merge "Update the customize date format"

7 years agoMerge "Wifi: Introduce a config parameter for IpReachabilityMonitor"
Linux Build Service Account [Fri, 26 Aug 2016 20:39:15 +0000 (13:39 -0700)]
Merge "Wifi: Introduce a config parameter for IpReachabilityMonitor"

7 years agoMerge "MSIM: Fix to show PUK view when two sims locked on PIN."
Linux Build Service Account [Fri, 26 Aug 2016 20:39:14 +0000 (13:39 -0700)]
Merge "MSIM: Fix to show PUK view when two sims locked on PIN."

7 years agoMerge "Ignore IMS type APN when notify data connection"
Linux Build Service Account [Fri, 26 Aug 2016 20:39:13 +0000 (13:39 -0700)]
Merge "Ignore IMS type APN when notify data connection"

7 years agoMerge "base: fix ClassCastException in MenuPopupWindow"
Linux Build Service Account [Fri, 26 Aug 2016 20:39:12 +0000 (13:39 -0700)]
Merge "base: fix ClassCastException in MenuPopupWindow"

7 years agoMerge "FR 36773: Emergency Call on Power key Tapping"
Linux Build Service Account [Fri, 26 Aug 2016 20:39:09 +0000 (13:39 -0700)]
Merge "FR 36773: Emergency Call on Power key Tapping"

7 years agoMerge "Mms: Fix no ringtone for MT SMS during the call."
Linux Build Service Account [Fri, 26 Aug 2016 20:39:09 +0000 (13:39 -0700)]
Merge "Mms: Fix no ringtone for MT SMS during the call."

7 years agoInterface to check for deferred messages
Ravindra Thattahalli Javaraiah [Tue, 23 Aug 2016 14:56:59 +0000 (20:26 +0530)]
Interface to check for deferred messages

Adding new inerface to check for deferred messages with a matching object.

Change-Id: Id518ec2ccdc9b27fc073b7ec8bcaa6b285190ede
CRs-Fixed: 1049393

7 years agoSynchronize access of mSubscriptions and fix NPE
Shibin George [Fri, 26 Aug 2016 04:48:55 +0000 (10:18 +0530)]
Synchronize access of mSubscriptions and fix NPE

Access mSubscriptions from within synchronized block. Also,
fix a NullPointerException on ScheduleCalendar object.

Change-Id: I7054328fa3787359411668e5c0e4a459eeed7136
Signed-off-by: Shibin George <shibing@codeaurora.org>
7 years agoUpdate the customize date format
c_yunong [Mon, 22 Aug 2016 03:31:06 +0000 (11:31 +0800)]
Update the customize date format

Add the feature to control the date format for customer

Change-Id: Ia9129badaac84b57d6cfde2b5d160e7a294397bb
CRs-Fixed: 1037633

7 years agoFR 36773: Emergency Call on Power key Tapping
Ruthwar Kumar Ambeer [Fri, 29 Jul 2016 11:40:45 +0000 (17:10 +0530)]
FR 36773: Emergency Call on Power key Tapping

Invoke Emergency Call By short pressing the
Power button N times in quick succession.

N is configurable in config resources and the
default value is 3.

Change-Id: I91fa808071f2e30316149cbe4532c00e50df03ec

7 years agoSystemUI: Fix systemui crash issue
mqi [Tue, 9 Aug 2016 09:05:57 +0000 (17:05 +0800)]
SystemUI: Fix systemui crash issue

SystemUI will crash for Linux Android Wear device due to cast error.

Change backgroud to ripple_drawble.

Change-Id: Id933bde87a16dac29ba9af9bae371c07665ff282

7 years agoIgnore IMS type APN when notify data connection
Richard LIU [Mon, 23 Nov 2015 08:44:35 +0000 (16:44 +0800)]
Ignore IMS type APN when notify data connection

Do not add IMS type APN in mConnectedApns.

Change-Id: I339a2c411f94572c00e9df48deb38aab1046e581

7 years agobase: fix ClassCastException in MenuPopupWindow
qqzhou [Tue, 23 Aug 2016 06:59:48 +0000 (14:59 +0800)]
base: fix ClassCastException in MenuPopupWindow

The exception happens at MenuDropDownListView.onKeyDown() in
MenuPopupWindow, the code wants to cast getAdapter() into
MenuAdapter without checking the instance of getAdapter(),
MenuDropDownListView extends ListView, ListView will wrap
its adapter into HeaderViewListAdapter when header or foot
view exists, so getAdapter() may be MenuAdapter instance if
not wrapped but will be HeaderViewListAdapter instance otherwise.

So need to unwrap the adapter to get MenuAdapter for wrapped case.

CRs-Fixed: 1057424

Change-Id: If697fc972b9f2247dc9eb4522c156830568c50b1

7 years agoRevert "Add Radio Tech support when search PLMN"
Richard LIU [Wed, 24 Aug 2016 09:46:50 +0000 (17:46 +0800)]
Revert "Add Radio Tech support when search PLMN"

This reverts commit a4f8c16a335def1abb891b7413f0ac25900602d5.

Change-Id: I02bca7373fad1be5bf16bf7d37282940783fb436

7 years agoMSIM: Fix to show PUK view when two sims locked on PIN.
Umashankar Godachi [Fri, 19 Aug 2016 19:19:33 +0000 (00:49 +0530)]
MSIM: Fix to show PUK view when two sims locked on PIN.

Currently when both sims are locked on PIN, upon exhausting
PIN attempts for SIM1 PIN, SIM1 PUK view is not displayed
and the user is not able to unlock the PUK.

This is due to while fetching the getSecurityMode in Key
-GuardSecurityModel, the ordering of checking the security
mode is PIN first and PUK later.So when one sim is locked
on PUK and the other is locked on PIN the ordering of checking
the PIN first is causing to return PIN as security mode in place
of PUK. This will lead to PUK lock screen not been shown to user.

Fix: In KeyGuardSecurityModel.java, while querying the security Mode
modify the order to check for security mode i.e PUK locked state first
and then PIN locked state.

In KeyGuardSimPinView and KeyGuardSimPukView, check for sim locked on
PIN and reset the flags to show the default message.

Change-Id: I97fb81c23a94c18a37c251337ef48f62d26240a7
CRs-Fixed: 1041754

7 years agoMms: Fix no ringtone for MT SMS during the call.
yanglv [Fri, 19 Dec 2014 08:12:56 +0000 (16:12 +0800)]
Mms: Fix no ringtone for MT SMS during the call.

If phone status is active, it will block ringtone sound.
If phone status is idle it will play ringtone sound by
Ringtone Player. Add config based functionality to play
the SMS ringtone during a call.

CRs-Fixed: 771756

Change-Id: If02b398d5eb3520f173d7b71a11df2536a218bc1

7 years agoAlarm: ignore back key during power off alarm
Mao Jinlong [Tue, 9 Aug 2016 07:26:07 +0000 (15:26 +0800)]
Alarm: ignore back key during power off alarm

AlarmActivity should keep showing before user decide to dissmiss or
snooze power off alarm. So ignore the back key during power off
alarm mode.

Change-Id: Iefb169c237c1ca037b4451ced250449945038e84
CRs-Fixed: 1046939

7 years agoWifi: Introduce a config parameter for IpReachabilityMonitor
Nalla Kartheek [Wed, 17 Aug 2016 09:54:30 +0000 (15:24 +0530)]
Wifi: Introduce a config parameter for IpReachabilityMonitor

Introduce a config parameter to enable/disable IpReachabilityMonitor
feature. By default keep IpReachabilityMonitor disabled.

Change-Id: Ia9806014040b4ad1645e77bc885e11601b1d8411
CRs-Fixed: 1058803

7 years agoIMS: Show VoWIFI icon based on IMS capabilities.
Benergy Meenan Ravuri [Tue, 12 Jan 2016 14:46:38 +0000 (20:16 +0530)]
IMS: Show VoWIFI icon based on IMS capabilities.

Extend the below APIs which will get the feature
values per subscription.
isWifCallingEnabled and isVTWifiCallingEnabled.

These APIs are used to show VoWIFI icon
based on IMS capabilities.

Change-Id: Ie997670682f926f9ba0f6f2589f0df502c88bece
CRs-Fixed: 998552

7 years agoAdd EMBMS icon and roaming icon changes
Nishanth Kumar Sirivolu [Fri, 12 Aug 2016 14:59:40 +0000 (20:29 +0530)]
Add EMBMS icon and roaming icon changes

Add new roaming data icons
Add support for new roaming data icons display
for LTE, LTE+ for operator.
Change-Id: I080506527ec906af07b565ffc5e4b503283cd77e
CRs-Fixed: 957287

Add icon for EMBMS registration
LTE icon is appended to signal bar in status bar when
EMBMS service is active
CRs-Fixed: 957448
Change-Id: I010dee19228b50d72f0c43b36dfafe6e7c9865a9

Fix eMBMS icon display on eMBMS service stop
Fix delay in remove eMBMS icon on eMBMS service stop by
notifylistener
Change-Id: Ib7986f0428c6e817be649929b340cf66e7a1e8f8

During Roming "R" icon is removed from siganl bar when data is disabled.
During roaming display "R" icon irrespective of whether the data is enabled
or disabled.
And display LTE/LTE+ data icons on signal bar only if mobile data is enabled.
CRs-Fixed:981620
Change-Id: I4b1c0089215d575c7ad24ce68cc0dc003f895dc5

Fix data icon issue for roaming
In case of roaming network, if data roaming setting is disabled
data is disconnected, but operator data icon is not cleared.
Add a check for data roaming setting to clear operator data icon.
Change-Id: Ib87884f0d78e91dda219c887b7657cff8806890d
CRs-Fixed: 988136

Change-Id: Ie3de506d147ed3ecfe89a08cc2061732d406a10b

7 years agoSystemUI: Fix No AM/PM showing in 12-hour-format
mqi [Fri, 15 Jan 2016 06:10:21 +0000 (14:10 +0800)]
SystemUI: Fix No AM/PM showing in 12-hour-format

Change clock style to AM_PM_STYLE_NORMAL.
Change lock screen style to HH:MM AM/PM.

Change-Id: Ic4aaa77927cc5736fe566381248e4945044dc061
CRs-Fixed: 956221

7 years agoTethering: call getTetherStats before RecordingSnaphot
Devi Sandeep Endluri V V [Fri, 5 Aug 2016 07:37:22 +0000 (13:07 +0530)]
Tethering: call getTetherStats before RecordingSnaphot

getTetherStats should be called before recording
xtSnapshot and devSnapshot, to add tethered data
stats to total Network Stats

Change-Id: I81b77e6dbffb78356bf68496bff412ef1a0284dd
CRs-Fixed: 1047506

7 years agoSupport to show long or short name in SystemUI.
Fang Yunong [Thu, 30 Jun 2016 02:02:55 +0000 (10:02 +0800)]
Support to show long or short name in SystemUI.

Supports to switch show long nameor short name.
Add two configs for switching which format need show.
config_show_long_operator_name -- decide to whether show long name
under normal form.
config_show_long_operator_name_when_roaming -- decide to whether show
long name when roaming.

Change-Id: I496274a6c497bf16cea493c401b3d76c62cbcd92
CRs-fixed: 1037642

7 years agoAdd two fixes for MuiltiSim support
Huaibin Yang [Wed, 3 Feb 2016 01:06:09 +0000 (17:06 -0800)]
Add two fixes for MuiltiSim support

Use getDefaultDataSubId to get default data network type. Currently using
getDefaultSubscription() may return voice network subId.

Provide database flags per subscription specific for both mobile data
and roaming options.

CRs-Fixed: 963773
Change-Id: I1d40bc5c84b4428d7066b28003e5b2c5d852b6f7

7 years agoRegional: Customize Wifi hotspot,direct name
Wang Yimin [Mon, 15 Aug 2016 11:07:32 +0000 (19:07 +0800)]
Regional: Customize Wifi hotspot,direct name

Change-Id: Ieede9eb92294fd3b2f13c7b7201205d41e479340
CRs-Fixed: 1037633

7 years agoDocumentsUI: Fix monkey crash
mingwax [Wed, 17 Aug 2016 06:41:33 +0000 (14:41 +0800)]
DocumentsUI: Fix monkey crash

RootCause: In RecyclerView source code,
The start method which is called by
smoothScrollToPosition method check whether
mTargetPosition value equal -1 or not, if equal
throw IllegalArgumentException, in stop method
mTargetPosition is assigned to -1. Under normal
circumestances, smoothScrollToPosition methed should
call setTargetPosition method, mTargetPosition is
assigned to normal value, but when the setTargetPosition
method is called after stop method, mTargetPosition is
assigned to -1. In monkey test, start the smoothScroll
and stop the smoothScroll faster could cause this issue.
The general operation of people will not be the case.

Solution: Use try/catch IllegalArgumentException to
avoid this case.

CRs-Fixed: 1055242
Change-Id: I9a2300240670bebe5d4b47570e62f31674fe26b8

7 years agoDon't allow contact sharing by default for device not recognized as carkit.
Sanket Padawe [Wed, 11 Nov 2015 23:01:35 +0000 (15:01 -0800)]
Don't allow contact sharing by default for device not recognized as carkit.

+ Don't allow contact sharing by default for devices not recognized
as carkit at pair time.

Bug: 23607427
Change-Id: If6babb10117ba7ee5008a4a29450a7cb981bea4a

7 years agoFramework for LaunchBoost v2 and Frequency aggr during launch.
Bhargav Upperla [Tue, 2 Aug 2016 23:49:39 +0000 (16:49 -0700)]
Framework for LaunchBoost v2 and Frequency aggr during launch.

Extending original launch boost to
benefit apps that take more than 2 secs
to finish launch.

This is improved in two different ways.
1) Frequency aggregation during launching a
large app.
(Ex: Templerun2 launch latency improves by 5 secs)

2) LaunchBoost v2 to set various sched params
or cpu sets during launch of a large app.

Both perflocks are a more light weight boost
without any cpu boosts and shows good benefit to
large app launch latencies.
(Ex: Games)

Also responds to user touch as one form to indicate
end of launch and stop boosts.

Change-Id: Ie704c084104237e39b30659357667a5ebee7da36

7 years agoWifi: Interface provision to configure Auto Connection
Nalla Kartheek [Thu, 14 Jul 2016 14:35:07 +0000 (20:05 +0530)]
Wifi: Interface provision to configure Auto Connection

Auto connection dictates capability of hand-off between LTE and Wi-Fi
network and also selection of a specific Wi-Fi network. This commit
introduces an interface to the UI to set/reset this requirement
based on which the framework shall act accordingly.

Change-Id: I759837742a3bb9e2556790bb7af2e600e26db55b
CRs-Fixed: 982864