15111 Commits

Author SHA1 Message Date
Hall Liu
265fcad145 Merge "Add configurable emergency call number support" into nyc-mr1-dev 2016-09-09 20:48:44 +00:00
Mihai Niță
a0ace71899 Merge "Changed the header of the region selection list to "All regions"" into nyc-mr1-dev 2016-09-08 20:48:14 +00:00
Alan Viverette
e00fe59837 Merge "Fix hint text color to align with latest Material spec" into nyc-mr1-dev 2016-09-08 20:00:35 +00:00
Mihai Nita
543e45babe Changed the header of the region selection list to "All regions"
Bug: 31257462
Change-Id: I3112b5700e23674d2c48c7ca96a2f1a17a5f15db
2016-09-08 11:00:34 -07:00
TreeHugger Robot
6c99793491 Merge "Update icons and strings for always-on VPN info" into nyc-mr1-dev 2016-09-08 10:52:20 +00:00
Bill Yi
ac7ee28cd0 Import translations. DO NOT MERGE
Change-Id: I911f2d59dcaefe83da01e18160b9ab905a9a96b0
Auto-generated-cl: translation import
2016-09-06 23:53:36 -07:00
Wei Huang
20c747c038 Add configurable emergency call number support
In some region, when user dials emergency numbers, the call will go to
IVR system first and then to emergency center. This behavior causes
delay to let consumer to get help from center. Due to region/operator
requirements, some emergency numbers are required to be set-up as non
emeregency numbers on device. On such device, coverting original number
to emergency number is required under the conditions where only
emergency call is allowed - e.g. no SIM. This patch implements this auto
converting logic and its configurations.
E.g. For Taiwan, 110 and 119 need to be converted to 112 under not
in-service state.

Bug: 28123861
Change-Id: I01b3072ae272c1af8d4a19b2fb6ae451b7268821
2016-09-06 17:33:49 -07:00
TreeHugger Robot
1191fee634 Merge "Quicker exit animation for bottom dock on Keyguard" into nyc-mr1-dev 2016-09-06 21:52:51 +00:00
Jorim Jaggi
48832811b0 Quicker exit animation for bottom dock on Keyguard
Change-Id: I9d07dc6ce7e2aec36bf797bd4041701315e71e0e
Fixes: 31274209
2016-09-06 12:38:23 -07:00
Alan Viverette
6ae673caf4 Fix hint text color to align with latest Material spec
Bug: 30756246
Change-Id: I5063cc81b8ffad6fb46465c1622bd0083380bd49
2016-09-06 12:26:14 -04:00
Tenghui Zhu
50da38c198 Merge "Remove redundant code" into nyc-mr1-dev 2016-09-02 16:41:01 +00:00
Wyatt Riley
c742d95455 Canada AGNSS settings update
am: ff374d4def

Change-Id: Ieafa6e4ebcf326038c97d1e9d0dc1acff43531ab
2016-09-01 21:16:23 +00:00
Wyatt Riley
ff374d4def Canada AGNSS settings update
Esp. LPP.  See also some overlay changes.

Change-Id: I0a694cf25df12c51e7d01ec4d8f2ab419786de00
2016-09-01 13:24:06 -07:00
TreeHugger Robot
57bd22ffc1 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-01 18:33:01 +00:00
Bill Yi
d341e0f050 Import translations. DO NOT MERGE
Change-Id: Ib1dd6f18dc1f5bb0869d57f00c8c5be905f6bcb6
Auto-generated-cl: translation import
2016-08-31 18:57:26 -07:00
Teng-Hui Zhu
4ebc5986a8 Remove redundant code
This can save both system image size and run time memory usage.
Every byte counts. :)

b/30956516

Change-Id: I1af0455fe488e3122f6cf8e8fca5a5a43a4614f2
2016-08-31 14:30:37 -07:00
Wyatt Riley
3af39b4f2d AGNSS LPP settings for Telus & Bell
am: 5dadc4dbb4

Change-Id: I35db85ad57be1c0cec34e833a2c67ccb34c3df60
2016-08-31 20:01:33 +00:00
Wyatt Riley
3554ce0e18 Merge "AGNSS LPP settings for Telus & Bell" into nyc-dr1-dev 2016-08-31 19:56:56 +00:00
Wyatt Riley
efdb5072ab Custom LPP AGPS config for Rogers
am: 2ebd1f6b75

Change-Id: I75b8742817794ee30e65388549d6c05270acdc5b
2016-08-31 18:58:28 +00:00
Wyatt Riley
5dadc4dbb4 AGNSS LPP settings for Telus & Bell
Similar to Rogers settings
Mcc/Mnc values selected from mcclist.com, intersected with
existing config.xml files

Bug: 31187109
Bug: 31186773
Change-Id: Iba3ebc873828b6f59765674817bc86f6337e618c
2016-08-31 11:46:13 -07:00
Wyatt Riley
2ebd1f6b75 Custom LPP AGPS config for Rogers
Adding a GPS section to two .xml files
for Rogers (Canada), with LPP_PROFILE=2

Bug: 31166909
Change-Id: I0bc39e12f08c4bcd7aa6c5e1a9c3d81924651f10
2016-08-30 16:36:25 -07:00
Sudheer Shanka
65ce524bde Merge "Allow apps with CREATE_USERS permission to create demo users." into nyc-mr1-dev 2016-08-30 17:46:15 +00:00
Jorim Jaggi
6626f54e65 Add animation when unoccluding windows (1/2)
Before there was a jump-cut when a window that was occluding Keyguard
was going away, leading to an ugly flicker. To fix this, we do the
following.

- Always show windows with FLAG_SHOW_WHEN_LOCKED above lockscreen, even
if they don't "match" the currently occluding app (which is null in the
animation case)
- Move wallpaper behind last window that is not hidden by policy, so the
window doesn't get occluded by the wallpaper.
- Add a flag in the setOccluded call whether to animate or not. SystemUI
then plays a nice animation when it's set.
- Override the animation to always be the animation that happens when we
exit a window which is revealing the wallpaper behind, to make it
consistent with the home screen case.

Fixes: 30829255
Change-Id: Ib3fe20fc9003a0f9f291c974740f044ed8707e75
2016-08-29 14:15:33 -07:00
Vineeta Srivastava
f4be3d2927 whitelist sms code for TMO-DE and TMO-MK.
am: 6af315af94

Change-Id: Ib31807ae28fa798e6d359054d70f9adeaf2872a4
2016-08-29 18:26:00 +00:00
Sudheer Shanka
234d1afd79 Allow apps with CREATE_USERS permission to create demo users.
Bug: 31092477
Test: adb shell am create-user --ephemeral --demo <user-name>
Change-Id: Ia08a50ec4371466c62cdc9f5391e298a666b5081
2016-08-29 10:49:03 -07:00
Vineeta Srivastava
6af315af94 whitelist sms code for TMO-DE and TMO-MK.
For Germany (T-D) 73240 and 3011 is added to whitelist
For Macedonia (TMMK) 129005 and 122 added to whitelist

Bug: 30908153
Change-Id: I892a172994de62d90df313e9f7aaa17356092448
2016-08-26 21:17:08 +00:00
Tyler Gunn
d81c426e1d Add device config to determine when "allow hold" carrier config is used.
The "allow hold" carrier config option was added to meet new carrier
requirements.  However we do not wish to enforce this option on older
devices.

Bug: 30449352
Change-Id: I4bf6dab0a200bdd2511c67b8134c6c0dc4b7e5a8
2016-08-26 20:19:31 +00:00
Lorenzo Colitti
88d4d15d52 Show a toast when switching from wifi to Verizon cell data.
am: efe0839876

Change-Id: Iaacca358e70216f18a2f1ee98e717b301e918881
2016-08-25 22:53:31 +00:00
Pankaj Kanwar
5d06597072 Merge "Show a toast when switching from wifi to Verizon cell data." into nyc-dr1-dev 2016-08-25 22:34:22 +00:00
Mark Lu
77d7db4de1 docs: rewrite one attribute description in R.attr am: 5dabf06ae5
am: 6df44a80a3

Change-Id: I49b1427646f42a1c4799c5237b1bafbee7132367
2016-08-25 22:14:19 +00:00
Mark Lu
6df44a80a3 docs: rewrite one attribute description in R.attr
am: 5dabf06ae5

Change-Id: Iecfe65ca227844627a7122a3a1e5ea6285a31c9a
2016-08-25 21:54:54 +00:00
Lorenzo Colitti
efe0839876 Show a toast when switching from wifi to Verizon cell data.
Bug: 31025214
Change-Id: Id7ebb878521efb26995bce9ecdf84f87e0074209
2016-08-25 18:30:54 +09:00
Lorenzo Colitti
4549d8b4aa Support notifying network switches via notifications and toasts.
am: 5526f9c78c

Change-Id: Ic02fac6264e6f2aeda6ee1313884e3bfa4f7237b
2016-08-25 09:23:55 +00:00
Lorenzo Colitti
5526f9c78c Support notifying network switches via notifications and toasts.
Bug: 31025214
Change-Id: If1578f422f38a1dcfaec529882aed01ae5e8d53c
2016-08-25 18:14:18 +09:00
TreeHugger Robot
94ced13fdc Merge "Set config_use_sim_language_file to true for mcc 001." into nyc-mr1-dev 2016-08-24 23:58:44 +00:00
Amit Mahajan
68c04c04cb Set config_use_sim_language_file to true for mcc 001.
Bug: 30150341
Change-Id: Ib3834b752de01e33be3fe4792b3cb1cac0b48df1
2016-08-24 15:15:01 -07:00
TreeHugger Robot
8c16969c3e Merge "Changing default value of config_use_sim_language_file to false." into nyc-mr1-dev 2016-08-24 22:03:13 +00:00
Amit Mahajan
2b2f728f28 Changing default value of config_use_sim_language_file to false.
Bug: 30150341
Change-Id: If0183ce0bfa4f872d991e5aed562eeb948ed86c8
2016-08-24 11:45:35 -07:00
Alan Viverette
20109a689d Merge "Improve docs for GradientDrawable's useLevel and centerX/Y properties" into nyc-mr1-dev 2016-08-24 18:17:04 +00:00
Tenghui Zhu
3512b0001a Merge "Add an new internal DrawableContainer to handle animation scale == 0 case." into nyc-mr1-dev 2016-08-24 16:22:38 +00:00
Svetoslav Ganov
5cb2973495 Only sync adapters with access can see an account - framework
It was possible for a sync adapter without accounts access to
see the account which it is supposed to sync which can be used to
identify the user. This change ensures that only sync adapters
with account access can run (which results in seeing the account),
otherwise we involve the user to approve access only to this account.

A sync adapter can access an account if one of these is true:
 - it is signed as the authenticator for this account
 - has the GET_ACCOUNTS permission
 - has an auth token for the account
 - it is a preinstalled app (system or privileged)

The main thing we need to figure out is if the extra prompts
for giving access to a sync adapter to the account create too
much friction.

bug:28163381

Change-Id: Ie083bb681b5a2aed81ca5f6a062193a175fad77e
2016-08-23 21:43:27 +00:00
Ta-wei Yen
9a107a2df0 Add carrier regex config values for VisualVoicemailSmsFilter
Verizon requires all SMS that starts with "//VZWVVM" to be treated
as a VVM SMS.

EXTRA_VOICEMAIL_SMS_MESSAGE_BODY is also added to VociemailContract
to send the message body of a SMS that matches the carrier regex but
is not parsable.

Bug: 30954955
Change-Id: Ib5449164a5290b132648cc28b1e1d3d9ddd5fea0
(cherry picked from commit ad31603b80e13e914ff4c3a41b5c04558d04d3ca)
2016-08-23 15:42:31 +00:00
Lorenzo Colitti
a6dcb89e6d Refactor NetworkNotificationManager.
am: 0b59906768

Change-Id: I0084400264ccfc352f50e58acda9b8e056dbf766
2016-08-23 09:37:52 +00:00
Lorenzo Colitti
0b59906768 Refactor NetworkNotificationManager.
1. Move from deprecated network types to transport types.
2. Rename and simplify (by passing in a NetworkAgentInfo object)
   the call signature of the method that displays notifications.
3. Add a method to clear notification, and unindent lots of code.
4. Move the legacy DcTracker-issued notification code to
   NetworkNotificationManager.

Bug: 31025214
Change-Id: Ie49c60126d0ed5bac620bc47e84fe038791b2d6c
2016-08-23 17:57:46 +09:00
Sanket Padawe
4a6f3bb921 Merge "If Vodafone Italy sim is in Spain consider it as roaming on Spain nw." into nyc-mr1-dev 2016-08-23 00:18:04 +00:00
Teng-Hui Zhu
0c03664fa6 Add an new internal DrawableContainer to handle animation scale == 0 case.
This will help ProgressBar to show something meaningful when animation scale is 0.
b/30877925

Change-Id: Ieb2e78712999d2e3f3a2a234bc605b4821ae41c0
2016-08-22 15:36:32 -07:00
TreeHugger Robot
156d897f2e Merge "telephony/roam: Do not show roaming icon for Videotron SIM camped on Canada network" into nyc-mr1-dev 2016-08-22 19:44:35 +00:00
Sanket Padawe
914354f334 Merge "Fix roam icon issues in Austria" into nyc-mr1-dev 2016-08-22 19:10:23 +00:00
Sungmin Choi
fd80d5482a telephony/roam: Do not show roaming icon for Videotron SIM camped on Canada network
Canada Videotron roaming requirement
Bug: 29842007
Change-Id: I5cbbab906ef7e3f3f7e34fadf58c1c730d4440fe
2016-08-22 11:16:56 -07:00
Sailesh Nepal
5647c93e9e Merge "Add carrier regex config values for VisualVoicemailSmsFilter" into nyc-mr1-dev 2016-08-21 13:40:02 +00:00