7413 Commits

Author SHA1 Message Date
Wink Saville
d2f41b3dc6 am 35bd30b1: Merge "Merge commit \'270226b0\' into manualmerge" into klp-dev
* commit '35bd30b184b321754697b992aa5c581e204d530a':
  Add support for handling mobile provisioning networks.
2013-08-29 15:14:02 -07:00
Wink Saville
35bd30b184 Merge "Merge commit '270226b0' into manualmerge" into klp-dev 2013-08-29 22:10:52 +00:00
Wink Saville
7788c61af5 Merge commit '270226b0' into manualmerge
* commit '270226b0':
  Add support for handling mobile provisioning networks.

Conflicts:
	core/java/android/net/CaptivePortalTracker.java
	core/java/android/net/ConnectivityManager.java
	core/java/android/net/IConnectivityManager.aidl
	core/java/android/net/MobileDataStateTracker.java
	core/res/AndroidManifest.xml
	services/java/com/android/server/ConnectivityService.java

Change-Id: I3925004011bb1243793c4c1b963d923dc2b00cb5
2013-08-29 14:57:08 -07:00
Amith Yamasani
b14f82be50 am 79a45c6f: Merge "Improve Intent disambig dialog behavior" into klp-dev
* commit '79a45c6f1837d5921e512213904c96660b1a80b1':
  Improve Intent disambig dialog behavior
2013-08-29 14:49:28 -07:00
Amith Yamasani
79a45c6f18 Merge "Improve Intent disambig dialog behavior" into klp-dev 2013-08-29 21:45:04 +00:00
Martijn Coenen
ff8ec5c56f am c9c5d57e: Merge "Add requireDeviceUnlock attribute for NFC HCE." into klp-dev
* commit 'c9c5d57e4e900573b8f8b65af4215cb45b48ce93':
  Add requireDeviceUnlock attribute for NFC HCE.
2013-08-29 12:57:33 -07:00
Martijn Coenen
c9c5d57e4e Merge "Add requireDeviceUnlock attribute for NFC HCE." into klp-dev 2013-08-29 19:56:01 +00:00
Vineeta Srivastava
1aa646113d am 4fa9204d: Merge "uicc : add config_stkNoAlphaUsrCnf to config.xml" into klp-dev
* commit '4fa9204d0f28ba3823ec9f4c8a9912a416eee397':
  uicc : add config_stkNoAlphaUsrCnf to config.xml
2013-08-29 11:44:03 -07:00
duho.ro
54ad798aef uicc : add config_stkNoAlphaUsrCnf to config.xml
Per 3GPP specification 102.223,
if the alpha identifier is not provided by the UICC,
the terminal MAY give information to the user.
set to false if we need to show user confirmation
when alpha identifier is not provided by the UICC.

Change-Id: Iece01f3775baf2c6438776f899ed53b1f1fb942f

Conflicts:
	core/res/res/values/config.xml
2013-08-29 11:35:09 -07:00
Wink Saville
270226b0dd am 8cb2f42e: am 948282b0: Add support for handling mobile provisioning networks.
* commit '8cb2f42eea2ef3b249528aa7913fc7a6dfc6b741':
  Add support for handling mobile provisioning networks.
2013-08-29 10:26:06 -07:00
Wink Saville
948282b0e6 Add support for handling mobile provisioning networks.
When a sim is new or it has expired it needs to be provisioned
with the carrier. Basically provisioning is associating a sim with
a user account. When a sim isn't provisioned then operators will
restrict access to the network and only allow certain addresses
or services to be used.

This set of changes allows two types of provisioning networks to be
recognized. The first is a network that causes all DNS lookups to be
redirected to a different address than was intended. This is exemplified
by how T-Mobile works.

The second technique uses a special apn for provisioning. An example is
AT&T where lwaactivate is the provisioning apn and broadband is the
normal apn. We first try broadband and if we are unable to connect we
try lwaactivate. When we see the activate we identify it as special and
the ApnContext.isProvisioningApn will return true.

In the future our plan is to create a new network type that can be added
to the apn list, but for now it identified by name.

Here is a list of significant changes:

 - CaptivePortalTracker now only test WiFi networks instead of all networks
 - checkMobileProvisioning checks for provisioning networks and doesn't
   try to ping.
 - IConnectivityManager.aidl changes:
   * getProvisioningOrActiveNetworkInfo was added to and used by Manage
     mobile plan in WirelessSettings so even when there is no active
     network it will still allow provisioning. Otherwise it would report
     no internet connection.
   * setSignInErrorNotificationVisible is used by both
     CaptiviePortalTracker and checkMobileProvisioning so they use the
     same code for the notifications.
   * checkMobileProvisioning was simplified to have only a timeout as
     returning the result is now harder as we abort simultaneous call
     otherwise we'd could get into loops because we now check every time
     we connect to mobile.
 - Enhanced MDST to handle the provisioning network.
 - Added CONNECTED_TO_PROVISIONING_NETWORK to NetworkInfo to make a new
   state so we don't announce to the world we're connected.
 - TelephonyIntents.ACTION_DATA_CONNECTION_CONNECTED_TO_PROVISIONING_APN
   is sent by the low level data connection code to notify Connectivity
   Service that a provisioning apn has connected. This allows CS to
   handle the connection differently than a normal connection.

Bug: 10328264
Change-Id: I3925004011bb1243793c4c1b963d923dc2b00cb5
2013-08-29 08:55:16 -07:00
Baligh Uddin
ad155cdacc Import translations. DO NOT MERGE
Change-Id: I22efa95394f7b572df2b43138fee45bd7eaf4229
Auto-generated-cl: translation import
2013-08-28 17:36:17 -07:00
Fabrice Di Meglio
f73df21a8e am 627dd9b5: Merge "Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data" into klp-dev
* commit '627dd9b584a267b206bace8dc518287fe58b9563':
  Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data
2013-08-28 12:57:03 -07:00
Fabrice Di Meglio
627dd9b584 Merge "Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data" into klp-dev 2013-08-28 19:53:56 +00:00
Martijn Coenen
df4d1d624d Add requireDeviceUnlock attribute for NFC HCE.
Also added AID description, and renamed PackageManager
feature. The old name has to stay at least for a bit,
because we are already deploying apps in our builds that
use the constant.

Bug: 10461409
Bug: 10461753
Change-Id: I7a5bb023bb567dd8b0a17e8e54e9559d7fcf64f5
2013-08-28 11:18:58 -07:00
Amith Yamasani
e9ecc8b499 Improve Intent disambig dialog behavior
Keep track of last chosen activity for a particular intent, similar
to how it is tracked for "Always" choices.
Pre-select the last chosen activity if previously the user picked
"Just once".
Downgrade "Always" to "Last chosen" if there's a new kid on the block,
instead of removing it entirely.
Add methods to set and get last chosen entry.

UI - switch from Grid to List.

Bug: 9958096

Change-Id: Ied57147739a3ade1d36c3a7ec1e8ce77e5c5bb16
2013-08-27 18:05:00 -07:00
Fabrice Di Meglio
b08e5788a7 Fix bug #10515013 CalendarView is always forcing first day of the week to Sunday and not taking into account CLDR data
- remove the "force to Sunday"
- code cleaning and remove dependency on deprecated API

Change-Id: I992e893a904c45c8e0ce1d9dedb59b352e3a449f
2013-08-27 17:43:53 -07:00
Adam Powell
ef53553bf8 am 962a7093: Fix padding for simple_list_item_2
* commit '962a7093be28f7a6c9d1823bbfb02c7ef7059c3a':
  Fix padding for simple_list_item_2
2013-08-26 15:05:32 -07:00
Daniel Sandler
e820825c81 am fead1290: Make xxhdpi adb icon consistent with other densities.
* commit 'fead1290d74492af5fdf3dcb6739fbd1898dc239':
  Make xxhdpi adb icon consistent with other densities.
2013-08-26 15:04:00 -07:00
Jeff Brown
2517d08b9a am 61d806c7: Merge "Docs changes pursuant to API review feedback." into klp-dev
* commit '61d806c76ad1158f5cfbf3daef87dac81e51fc94':
  Docs changes pursuant to API review feedback.
2013-08-26 15:03:30 -07:00
Adam Powell
962a7093be Fix padding for simple_list_item_2
Bug 9267688

Change-Id: I33270d9661581e116e16fd9216387a4fbdd72351
2013-08-26 21:00:56 +00:00
Daniel Sandler
fead1290d7 Make xxhdpi adb icon consistent with other densities.
Bug: 10487353
Change-Id: I50441587988d36e94cfb453ab9706b0ae46b066b
2013-08-26 11:04:02 -04:00
Jeff Brown
511cd35fcc Docs changes pursuant to API review feedback.
Change-Id: I74c51791192f7fefad4e299d25c91438cbf6ab73
2013-08-23 17:44:47 -07:00
Baligh Uddin
0df33bc8c2 Import translations. DO NOT MERGE
Change-Id: If677a6d5903c6ca89104660e7ceab63d12357775
Auto-generated-cl: translation import
2013-08-23 10:07:28 -07:00
Jeff Brown
f825d11bb8 am ec7a6330: Merge "Remove input flinger stubs. (DO NOT MERGE)" into klp-dev
* commit 'ec7a633086b3fcc7067d0e37baeda69880969e13':
  Remove input flinger stubs.  (DO NOT MERGE)
2013-08-22 19:34:07 -07:00
Jeff Brown
7e458235ac Remove input flinger stubs. (DO NOT MERGE)
Bug: 10446930
Change-Id: I6c9fd490f2efd9c359c598eb2a18c4150b446564
2013-08-22 19:31:21 -07:00
Jose Lima
2acb95a144 am 8f91c33d: Merge "Allow replacing ResolverActivity via config value" into klp-dev
* commit '8f91c33d8d5cd393107d5fb38e4682a5486e4b50':
  Allow replacing ResolverActivity via config value
2013-08-22 14:30:51 -07:00
Jose Lima
8f91c33d8d Merge "Allow replacing ResolverActivity via config value" into klp-dev 2013-08-22 21:28:14 +00:00
Baligh Uddin
96d1b01d2d Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-22 17:37:03 +00:00
Vinit Deshapnde
85b4111f9d am e2a6d3df: Merge "Introduce network link quality statistics" into klp-dev
* commit 'e2a6d3df1257c1c04b1a14777bb7ee65f634bdc3':
  Introduce network link quality statistics
2013-08-22 09:21:45 -07:00
Vinit Deshapnde
e2a6d3df12 Merge "Introduce network link quality statistics" into klp-dev 2013-08-22 16:16:45 +00:00
Alan Viverette
1210c61be9 am a052d5a7: Merge "Move caption view from Settings into framework" into klp-dev
* commit 'a052d5a772665be53ecbcc4242dcf60e42453770':
  Move caption view from Settings into framework
2013-08-21 14:05:40 -07:00
Alan Viverette
398ec0368b Move caption view from Settings into framework
Renamed to SubtitleView, moved dimensions into resources.

BUG: 10260603
Change-Id: I5d86ee21ca260540ba3201c5295a5c1353e2d963
2013-08-21 13:43:00 -07:00
Vinit Deshapnde
1f12cb52a4 Introduce network link quality statistics
This change starts tracking traffic quality data for WiFi and mobile
networks. The quality is tracked based on incidental traffic, and not
on specific measurements. Theoretical bandwidths are hard-coded, as
well as sampling interval; although sampling interval can be changed
by setting a system policy.

Bugs filed to remove shortcomings of this change -

10342372 Change LinkInfo name to something better
10342318 Move hardcoded values of MobileLinkInfo to resources
         so they can be updated without changing code

Bug: 10006249

Change-Id: I83d8c7594da20fe53abbd5e1f909b1f606b035bb
2013-08-21 13:09:01 -07:00
Matthew Xie
1bab142be1 am e530c41b: Merge "Protect a bunch of broadcast intents" into klp-dev
* commit 'e530c41b57514d419cdc7a7b14802b6954d3293c':
  Protect a bunch of broadcast intents
2013-08-21 10:55:28 -07:00
Matthew Xie
e530c41b57 Merge "Protect a bunch of broadcast intents" into klp-dev 2013-08-21 17:51:02 +00:00
Adam Powell
3440e288cc am b8c481d3: Merge "Add xxhdpi drawables" into klp-dev
* commit 'b8c481d3865c86aaaf30b570f86811919b99fc27':
  Add xxhdpi drawables
2013-08-21 10:45:07 -07:00
Adam Powell
41a5de94b0 Add xxhdpi drawables
Change-Id: I16d27db7fc6a01710c4e6bde5d0e0d7cf3a14aba
2013-08-21 17:39:23 +00:00
Baligh Uddin
7110fd259f Import translations. DO NOT MERGE
Change-Id: I241b46f914ed4dbb248810447d32d274b275d99f
Auto-generated-cl: translation import
2013-08-21 10:28:03 -07:00
Matthew Xie
6b8a6a6e05 Protect a bunch of broadcast intents
All the changed intents are restricted. Only Bluetooth Process can
broadcast/send them.
bug 7622253

Change-Id: I098664bf266ac44b7904f8f79b1804d5130f5cd5
2013-08-20 18:07:25 -07:00
Jason Monk
a9e12e03f3 am ff796e5a: Merge "Change PacProcessor to Android Service" into klp-dev
* commit 'ff796e5a24481febd8c07b1a6a3c3eda0e3fd88b':
  Change PacProcessor to Android Service
2013-08-20 16:37:45 -07:00
Jason Monk
ff796e5a24 Merge "Change PacProcessor to Android Service" into klp-dev 2013-08-20 23:35:26 +00:00
Christopher Tate
4a359c4557 am 439c9f5b: Merge "Make "low ram device" a readonly system property" into klp-dev
* commit '439c9f5bf3e1cee8a4b48c942c72b9f7bfef9884':
  Make "low ram device" a readonly system property
2013-08-20 16:01:05 -07:00
Christopher Tate
439c9f5bf3 Merge "Make "low ram device" a readonly system property" into klp-dev 2013-08-20 22:59:39 +00:00
Jason Monk
9ced3cd9d6 Change PacProcessor to Android Service
This switches the PacProcessor over to an Android Service.  The service
is bound and unbound by the PacManager, which also adds it to the
ServiceManager, allowing for Context-Free access by the PacProxySelector
in all DVMs.

bug:10182711
Change-Id: Id1ff7660be56e8976cdcccd76e041feb47a17a61
2013-08-20 17:36:39 -04:00
Christopher Tate
2f61f91491 Make "low ram device" a readonly system property
This lets components outside the Zygote / Android resource regime
know whether this is considered a "low ram" device.

Set the property [ro.config.low_ram] to "true" if the device is to be
considered low-ram.  Any other property string (or its absence) will
be interpreted as meaning this is a normal larger-ram device.  The
"true" string must be all lower case.

Bug 10131789

Change-Id: I15332d169b4aa4eaa0a6c1952787af0b03d23a6b
2013-08-20 14:35:56 -07:00
Fabrice Di Meglio
264ec5053f am 841cd860: Merge "Fix bug #10409069 Spinner Drawable is not mirrored in RTL mode" into klp-dev
* commit '841cd8609b10f6683c258bc9afac362198b41ccd':
  Fix bug #10409069 Spinner Drawable is not mirrored in RTL mode
2013-08-20 13:53:22 -07:00
Fabrice Di Meglio
841cd8609b Merge "Fix bug #10409069 Spinner Drawable is not mirrored in RTL mode" into klp-dev 2013-08-20 20:51:02 +00:00
Fabrice Di Meglio
b002febec5 Fix bug #10409069 Spinner Drawable is not mirrored in RTL mode
- add missing android:autoMirrored="true" on corresponding StateList

Change-Id: Iea6930089f33061f2cf0ae83739bb8b3356f1e1b
2013-08-20 12:34:29 -07:00
Maggie Benthall
cd3e6f9907 am 1cd230a5: Merge "Add methods for managing CAs to DevicePolicyManager(Service)" into klp-dev
* commit '1cd230a552bcc4196b546321b670e084e643c8d5':
  Add methods for managing CAs to DevicePolicyManager(Service)
2013-08-20 11:38:37 -07:00