OSDN Git Service

android-x86/frameworks-base.git
7 years agoSystemUI: Fix SystemUI Force Close
mqi [Fri, 23 Sep 2016 02:12:45 +0000 (10:12 +0800)]
SystemUI: Fix SystemUI Force Close

SystemUI Force close due to missing 4g plus data activity in array.

Add 4g plus data activity in array.

Change-Id: I83586dfad6c45117215c0b0db934438519a721dd
CRs-Fixed: 1069866

7 years agoMerge 9e56490378491dc93d139b446785256cf3d07b70 on remote branch
Linux Build Service Account [Thu, 22 Sep 2016 12:14:52 +0000 (05:14 -0700)]
Merge 9e56490378491dc93d139b446785256cf3d07b70 on remote branch

Change-Id: I329d327b5700edb3614b6c9a491e5e8e6d40783c

7 years agoPromotion of android-framework.lnx.2.0-00009.
Linux Build Service Account [Thu, 15 Sep 2016 09:08:33 +0000 (03:08 -0600)]
Promotion of android-framework.lnx.2.0-00009.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1056112   I12c662876ee8dfc7caab8a29fced62c06fdd2525   Update the default usb config
1037558   I4578e91764e4f4d4a387ac2bdc851a391acc7986   frameworks: Added listener for NETSTATS_GLOBAL_ALERT_BYT
1056033   Ia0a7b06112dde1c925ec3232f50bf4d90b17b5e5   Check uid for notification policy access.
1063539   Idb480eb33f697687296b4257bd2ffa8fea0f8516   IMS: Arrange data, VoLTE icons in correct order.
1019030   If367ea7781732db34c71d45fd667c6c062ffc709   Fix 4g plus icon issue in quick settings
1042831   I8630b2a369f7e3cb21f50b2483cb9c91bd8ad74c   Do not display No SIM when sim info not available
1059100   Id9748ea39a8fa03b67d3fa6f91da530dd5cf9409   Don't allow enable/disable of tuner on lockscreen
963192   I823ca081bfa887e7c0fa9d3ef66a500023cf1d32   SystemUI: Fix no emergency call button on lock screen
1064438   I55009c56b951d49e738f262877008df8ec00922c   Frameworks: Add CHN-CT to String Mapping Table
1063320   Ia383ce3ecc7fb5051c00211b007acd7123124a4c   Don't remove preferred activities when in power off alar
1041552   I5ca4fbaf654ced73e14260b27fbb2bdc4f23d334   Bluetooth: Fix broadcast receiver leak issue
1059102   I38cc9d0e584c3f2674c9ff1d91f77a11479d8943   Disallow shell to mutate always-on vpn when DISALLOW_CON
1056697   Id3a75d44e25ee8744e0551bae046876880909650   Frameworks: fix living wallpaper exception when reboot
1056112   I05f9c73c0d1c151461fe17b9dde6771e46993849   Update the customize date format
1055325   I09430e5ac838e8f5e642d4479dd459e7e5f39e6a   Fix: Layout children again when padding changed in AbsLi
1055953   Id3b4472b59ded2c7c29762ddf008ee8486009dbb   Block user from setting safe boot setting via adb
1059104   I92da498110db49f7a523d6f775f191c4b52a4ad6   Pre-setup restrictions
1059109   I899f13898773483ee627a974d70173b5aa962e9a   Allow apps with CREATE_USERS permission to call UM.getPr
1065882   Iedd16b1693b20ec39e7e6290cb7ed9f9e7b828a8   ShutdownThread: Call into oem shutdown function
1063317   I0c3cb964af2044235c13c17f38994f5318d26a6b   Don't start wallpaperManagerService when in power off al
991999   I78fe3a1128494fb2822cfa0c5326d20ad33ab374   SettingsLib: the time is wrong in battery info view.

Change-Id: I68690636efc5287cc0bf814a3aa2b8d1f49213e9
CRs-Fixed: 1059100105910210644381056033105910910561121056697, 991999, 1037558105910410428311041552101903010635391063317105532510633201065882, 963192, 1055953

7 years agoMerge "SystemUI: Fix no emergency call button on lock screen"
Linux Build Service Account [Wed, 14 Sep 2016 08:52:59 +0000 (01:52 -0700)]
Merge "SystemUI: Fix no emergency call button on lock screen"

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 agoSystemUI: Fix no emergency call button on lock screen
mqi [Fri, 22 Jan 2016 07:37:25 +0000 (15:37 +0800)]
SystemUI: Fix no emergency call button on lock screen

Someone added system property check before showing emergency call
button which is always false.

Replace the conditon check with config value check.

Change-Id: I823ca081bfa887e7c0fa9d3ef66a500023cf1d32
CRs-Fixed: 963192

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 agoMerge 46bde45c0aac58f7743af11a4feb880187fea379 on remote branch
Linux Build Service Account [Mon, 12 Sep 2016 14:37:48 +0000 (08:37 -0600)]
Merge 46bde45c0aac58f7743af11a4feb880187fea379 on remote branch

Change-Id: Ic29e95eb9fd732a9ed018367b9c35862e95c5b17

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 agoPromotion of android-framework.lnx.2.0-00007.
Linux Build Service Account [Fri, 9 Sep 2016 06:44:47 +0000 (00:44 -0600)]
Promotion of android-framework.lnx.2.0-00007.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1056166   Ib921dc2f130c2e4002b3cfb58098b8e05ea8a86c   Keyguard: Fix incorrect sim pin code counting issue
1049393   Id518ec2ccdc9b27fc073b7ec8bcaa6b285190ede   Interface to check for deferred messages

Change-Id: I4ae25eae7802f341abbf364e0588d990b84d6db5
CRs-Fixed: 10561661049393

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 agoPromotion of android-framework.lnx.2.0-00006.
Linux Build Service Account [Mon, 5 Sep 2016 06:02:58 +0000 (00:02 -0600)]
Promotion of android-framework.lnx.2.0-00006.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
957277 957403   I60b8e50c92d06c0d847df501178add070b98273b   Add support for LTE, LTE+ data icons display.
1061684   Ic8e8ffc70d9255275ad9654a4de13861e4457774   Send intent onLaunch of StatusBar in IntentTile
1001718   I168a9621e2121c8aee9d93b6048219cf3a4085f4   Do not display sim absent when sim info is not available
1063174   I3020d675bec3266da7d91d303cb9f8858a99bcbb   IMS: Update MISSED_IMS_TYPE and MISSED_WIFI_TYPE calls i
957838   If218ea3ead2b837d9c2d1cac4d353c1d35c5babe   MSIM: Restrict data activity change to listeners with ma
784379   I464b87f1a6470401b2ef4e7507b804b1da5b5af2   Tether: fix bt-pan and wlan0 timing issue
1060934   I419026649addfd14a4067ecadca5f676b322ecc8   SystemUI: Fix SystemUI FC issue
1003527   Ic2811f80085e5f9a25ea589c1c1c9247cad4ab72   MSIM: Provide voice pref selection in qucksettings.
1018881   I69afdd8b85dd2d5d352ba70b716453e3425f3760   Keyguard: Replace "Emergency" to "Emergency call"
1023026   I583e6163f5c841e74593d94cbcd67855eb11bd14   SystemUI: Fix for display datatype icon while in roaming
968357   Ie8155eb4590b61f79215d3277648d112d9055073   Display H icon for HSPA RAT's

Change-Id: I6773bff7b6e9fc453c046fda221f5ecfd68954df
CRs-Fixed: 784379, 106317410230261060934, 957277, 957403, 1001718, 957838, 10188811061684, 968357, 1003527

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 agoPromotion of android-framework.lnx.2.0-00005.
Linux Build Service Account [Thu, 1 Sep 2016 17:59:18 +0000 (10:59 -0700)]
Promotion of android-framework.lnx.2.0-00005.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1046815   I7b1aea8a9a472a0e9bbea4123dbd86c311fb9483   Alarm:Fix issue exchange account disapper after power of
1039313   Ie93755394d617d45fd46cb624dd0ce88074e645e   SystemUi changes submit
1054211   I7054328fa3787359411668e5c0e4a459eeed7136   Synchronize access of mSubscriptions and fix NPE
1058646   I853a1c270e3a63e96199ac43f7fa93c5f8eefb87   SystemUI: Fix systemui FC issue
1051582   I9d70f8497159bcf10e1678e4936216af328d9774   Remove vulkan specific features from feature list if not
1056256   Ia1ee33ba22d6ccb5ac1a0297248f16d4c8d80c8c   Bluetooth: Use correct previous state while moving to ST
1058669   I02bca7373fad1be5bf16bf7d37282940783fb436   Revert "Add Radio Tech support when search PLMN"
1039259   I0f71e223e63b1e03faa402f7e70622297cfaff14   SettingProvider: add default values for show password
1061505   I301ce7604fabdf64cfab90639e486bfd95bd8bf9   SystemUI: Fix Signal Level Incorrect issue

Change-Id: Ic3a8cdd11906c7f8dfe357fddf8b0055566b824d
CRs-Fixed: 105421110562561058646103931310392591046815105158210615051058669

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 agoMerge "Bluetooth: Use correct previous state while moving to STATE_OFF"
Linux Build Service Account [Thu, 1 Sep 2016 15:11:28 +0000 (08:11 -0700)]
Merge "Bluetooth: Use correct previous state while moving to STATE_OFF"

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: 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 "Promotion of android-framework.lnx.2.0-00001."
Linux Build Service Account [Sun, 28 Aug 2016 16:27:55 +0000 (09:27 -0700)]
Merge "Promotion of android-framework.lnx.2.0-00001."

7 years agoPromotion of android-framework.lnx.2.0-00001.
Linux Build Service Account [Sun, 28 Aug 2016 11:23:02 +0000 (04:23 -0700)]
Promotion of android-framework.lnx.2.0-00001.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1052202   Id933bde87a16dac29ba9af9bae371c07665ff282   SystemUI: Fix systemui crash issue

Change-Id: Ieef46eb9c49f3df2d35759a05559c2ff4fe8f4cb
CRs-Fixed: 1052202

7 years agoPromotion of android-framework.lnx.2.0-00002.
Linux Build Service Account [Sun, 28 Aug 2016 08:27:10 +0000 (01:27 -0700)]
Promotion of android-framework.lnx.2.0-00002.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1054138   I91fa808071f2e30316149cbe4532c00e50df03ec   FR 36773: Emergency Call on Power key Tapping
1052202   Id933bde87a16dac29ba9af9bae371c07665ff282   SystemUI: Fix systemui crash issue
771756   If02b398d5eb3520f173d7b71a11df2536a218bc1   Mms: Fix no ringtone for MT SMS during the call.
1046939   Iefb169c237c1ca037b4451ced250449945038e84   Alarm: ignore back key during power off alarm
1041754   I97fb81c23a94c18a37c251337ef48f62d26240a7   MSIM: Fix to show PUK view when two sims locked on PIN.
1037633   Ia9129badaac84b57d6cfde2b5d160e7a294397bb   Update the customize date format
1057424   If697fc972b9f2247dc9eb4522c156830568c50b1   base: fix ClassCastException in MenuPopupWindow
1058803   Ia9806014040b4ad1645e77bc885e11601b1d8411   Wifi: Introduce a config parameter for IpReachabilityMon
942020   I339a2c411f94572c00e9df48deb38aab1046e581   Ignore IMS type APN when notify data connection

Change-Id: I28b8ac0e7983c0d77165a1b5bb348d5ae5ba7f83
CRs-Fixed: 1052202, 771756, 105880310469391037633, 942020, 105742410417541054138

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