44091 Commits

Author SHA1 Message Date
Adam Lesinski
461f06f403 am 53a5e317: Merge "Wrap measurement optimization in targetSdk check" into klp-dev
* commit '53a5e3175acb6e2bd23c25c1e4cba0789e47488f':
  Wrap measurement optimization in targetSdk check
2013-10-14 17:19:16 -07:00
Vineeta Srivastava
4967abcf2c am 1680cfd8: Merge "Modify config.xml for tethering APN information." into klp-dev
* commit '1680cfd803d6a435ce4c809075d052da2723ac07':
  Modify config.xml for tethering APN information.
2013-10-14 17:18:21 -07:00
Daniel Sandler
596b1f86ff am dd73ee4d: Add a config resource to enable translucent bars globally.
* commit 'dd73ee4d0a33aa9a423b80471aec6d1ec81a6c82':
  Add a config resource to enable translucent bars globally.
2013-10-14 17:18:15 -07:00
Adam Lesinski
53a5e3175a Merge "Wrap measurement optimization in targetSdk check" into klp-dev 2013-10-14 22:06:07 +00:00
Adam Lesinski
cf18b47ed4 Wrap measurement optimization in targetSdk check
A measurement optimization has exposed some apps that are relying
on incidental layout requests to have themselves update. With the
optimization enabled, these apps break.

Apps targetted at older versions of Android should not
break due to this optimization.

bug:11192311
Change-Id: Id5fc7f83ec2cb1541d3d0d16f951cd57c0afaccd
2013-10-14 13:32:02 -07:00
Vineeta Srivastava
1680cfd803 Merge "Modify config.xml for tethering APN information." into klp-dev 2013-10-14 19:57:30 +00:00
kenneeth.ryu
16359089ea Modify config.xml for tethering APN information.
1. Remove Tethering profile for Spain Orange(214-03). Because Orange and Euskaltel use same MCC-MNC but have separate tethering APN.
- Spain Orange(214-03) use "internet" apn.
- Spain Euskaltel(214-03) use "internet.euskaltel.mobi" apn.

2. Remove Tethering profile for Spain Telefonica(214-07). Because Telefonica and Jazztel use same MCC-MNC but have separate tethering APN.
- Spain Telefonica (214-07) use "movistar.es" apn.
- Spain Jazztel (214-07) use "jazzinternet" apn.

3. Remove Tethering profile for France Orange(208-01). Because Orange and Carrefour/NRJ/Tele2/Virgin/use same MCC-MNC but have separate tethering APN.
- France Orange (208-01) use "orange.fr" apn.
- France Carrefour (208-01) use "ofnew.fr" apn.

4. Remove Tethering profile for UK T-Mobile(234-33). Because T-Mobile and Orange were merger so doesn't use "consumerbroadband" apn for tethering anymore.

5. Remove Tethering profile for HK 1O1O(454-00). Because 1O1O and NWMOBILE use same MCC-MNC but have separate tethering APN.
- HK 1O1O(454-00) use "lte.internet" apn.
- HK NWMOBILE(454-00) use "NWMOBILE" apn.

6. Remove Tethering profile for HK 3(454-03). Because 3 LTE and 3G have separate tethering apn.
- HK 3 LTE use "lte.three.com.hk" apn.
- HK 3 3G use "mobile.three.com.hk" apn.

7. Update Tethering profile for Orange(340-01). The format of tethering profile was wrong.

8. Add Tethering profile for Mexico Iusacell(334-050).

9. Add Tethering profile for Portugal Optimus(268-03).

Bug: 11176211

Change-Id: I453ff8b745ee4f483bfdd6c362bd67ce50ba8b7a

Conflicts:
	core/res/res/values-mcc234-mnc33/config.xml
2013-10-14 12:33:37 -07:00
Daniel Sandler
dd73ee4d0a Add a config resource to enable translucent bars globally.
Setting config_enableTranslucentDecor to false will not
prevent clients from adding FLAG_TRANSLUCENT_NAVIGATION or
STATUS to the window or using the TransluentDecor themes,
but it will prevent View.STATUS_BAR_TRANSLUCENT and
View.NAVIGATION_BAR_TRANSLUCENT from being propagated to the
SystemUI so these requests will not be honored.

Bug: 11182618
Change-Id: I8be6a3a565acf0987ff12f18f1c7e67c96d563c3
2013-10-14 14:52:44 -04:00
John Spurlock
fc2ecd5e3f am 774e8ad8: Merge "Implement new SYSTEM_UI_FLAG_IMMERSIVE_STICKY." into klp-dev
* commit '774e8ad88331f82994e38d721418da556ce9edea':
  Implement new SYSTEM_UI_FLAG_IMMERSIVE_STICKY.
2013-10-14 10:26:08 -07:00
John Spurlock
774e8ad883 Merge "Implement new SYSTEM_UI_FLAG_IMMERSIVE_STICKY." into klp-dev 2013-10-14 17:21:33 +00:00
John Spurlock
f1a36648ca Implement new SYSTEM_UI_FLAG_IMMERSIVE_STICKY.
Migrate transient bar mode to IMMERSIVE_STICKY, and
introduce new behavior for IMMERSIVE: namely the
opaque bars are revealed by clearing the flags on swipe.

Remove low-profile optimization that confuses api demos
and other apps using low-profile as a signal.

TransientNavigationConfirmation renamed to
ImmersiveModeConfirmation, and its associated resources,
since the confirmation is now shown when the nav bar is
shown in either of the two immersive modes.

Remove unused Toast.makeBar and associated hidden framework
bits now that the confirmation uses a cling instead.

Bug:11062108
Change-Id: Iae49d31973940b9bee9f5b1827756db5eaa76aa3
2013-10-14 13:11:21 -04:00
Victoria Lease
677687c208 am edbab7b5: Merge "no layout = no visibility" into klp-dev
* commit 'edbab7b58227e66c2cc4e868bba314020ef52080':
  no layout = no visibility
2013-10-14 10:10:08 -07:00
Victoria Lease
edbab7b582 Merge "no layout = no visibility" into klp-dev 2013-10-14 17:08:10 +00:00
Daniel Sandler
782dbb8580 am 69f49434: Merge "Limit transient nav cling to 380dp on large/land devices." into klp-dev
* commit '69f49434ec7240b3b1195b41348ddedba1bd1e98':
  Limit transient nav cling to 380dp on large/land devices.
2013-10-14 06:53:26 -07:00
Daniel Sandler
b83f5c6a42 Limit transient nav cling to 380dp on large/land devices.
Bug: 11077915
Change-Id: I141a5f3f565109ae5ac9221053e5a4db36633ca7
2013-10-14 09:26:43 -04:00
Adam Powell
c12f46ebb9 am 5db566f1: Fix updating fast scroll state for data set changes
* commit '5db566f16a1b8f36e84a9be00cde40482d48466b':
  Fix updating fast scroll state for data set changes
2013-10-13 19:01:56 -07:00
Adam Powell
5db566f16a Fix updating fast scroll state for data set changes
Only looking for old/new count changes is incomplete with the current
state of things. The observer's onChanged method will update this in
some cases, stomping the different values needed to trigger a fast
scroller update. Also update the fast scroller if the data change flag
is set.

Also fix the positioning of the legacy text overlay.

Bug 11188512

Change-Id: I35b3915ce49f8494c6d82f6be6d6df7169deddd7
2013-10-13 18:49:15 -07:00
Dianne Hackborn
9e4403d4c6 am ef53fcc3: Merge "Fix issue #11199654: Action bar enter animation skips frames when cleared by the system" into klp-dev
* commit 'ef53fcc3efca382f17cc23dfda6d91b901941173':
  Fix issue #11199654: Action bar enter animation skips frames when cleared by the system
2013-10-13 16:06:23 -07:00
Vineeta Srivastava
b2fc879118 am 158aeaf0: Merge "telephony: redirect call barring MMI code to other purpose" into klp-dev
* commit '158aeaf0884701d071f9929574e8626111556554':
  telephony: redirect call barring MMI code to other purpose
2013-10-13 15:57:09 -07:00
Dianne Hackborn
021d243d6d Fix issue #11199654: Action bar enter animation skips frames when cleared by the system
We have become too aggressive about not allowing windows to draw while windw
animations are running, basically not allowing any drawing in any window when
there is any window animation.  So if you did a relayout while the status bars
were being animated, your window would stop drawing until that status bar
animation was complete.

This change relaxes those rules in two ways:

- A particular window will only be told to stop updating when *it* is
  currently involved in a window animation.  So animations in status bars
  will not stop app windows from update, and vice versa.

- If a window receives input events while it is in the "do not update"
  state, we will immediately terminate that state and start allowing it to
  draw.  If the user is actually interacting with a window, we don't want
  to wait to show feedback.

Change-Id: I72574eec048aee53115b46a78686cf27f42c42f7
2013-10-13 15:56:29 -07:00
Vineeta Srivastava
158aeaf088 Merge "telephony: redirect call barring MMI code to other purpose" into klp-dev 2013-10-13 22:52:03 +00:00
Aravind Akella
c73810de2f am 45ca531e: Merge "Adding stepcounter & stepdetector feature strings." into klp-dev
* commit '45ca531e77c6f12062bfa7f3e369172582caebe6':
  Adding stepcounter & stepdetector feature strings.
2013-10-13 15:50:07 -07:00
Aravind Akella
45ca531e77 Merge "Adding stepcounter & stepdetector feature strings." into klp-dev 2013-10-13 22:48:03 +00:00
duho.ro
23ee84ee5e telephony: redirect call barring MMI code to other purpose
Some operators redirect call barring MMI codes to other purpose.
For instance, *333# should be processed as USSD code with Indonesia
Axis SIM and Indonesia Hutchison SIM.  This change is adding an array
for call barring MMI code to config.xml. So, we can redefine the array
for redirecting the call barring MMI codes.

Bug: 10101303

Change-Id: Ib21540a90c64e105cd4bc1864238329d594cd056

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
2013-10-13 15:23:28 -07:00
Victoria Lease
b9b77aecf2 no layout = no visibility
This fixes an Editor crash when the associated TextView's Layout
is null.

Bug: 11165608
Change-Id: I061c0db6eef95bf39a7696ad6e6f919bd22bfb11
2013-10-13 15:12:52 -07:00
Adam Powell
7555372f01 am 85e5ed63: Merge "Account for translationY when targeting the fast scroller via touch" into klp-dev
* commit '85e5ed639d58da0ea4fea0b523169fa0f7e81c51':
  Account for translationY when targeting the fast scroller via touch
2013-10-13 14:30:28 -07:00
Adam Powell
85e5ed639d Merge "Account for translationY when targeting the fast scroller via touch" into klp-dev 2013-10-13 21:26:35 +00:00
Adam Powell
d827389684 Account for translationY when targeting the fast scroller via touch
Bug 11188512

Change-Id: Ia8e0088760a18d5862bbe1b904610abd908a190e
2013-10-13 13:35:27 -07:00
Daniel Sandler
71352415ef am ce6d9066: Merge "New window cling for immersive mode." into klp-dev
* commit 'ce6d9066b666cb065821163036bdabc9ec8081dd':
  New window cling for immersive mode.
2013-10-13 12:33:18 -07:00
Daniel Sandler
816fdb032f am e00ab019: Merge "Easter egg cleanups." into klp-dev
* commit 'e00ab01977b64be9727830f154538f0a035b203b':
  Easter egg cleanups.
2013-10-13 12:33:15 -07:00
Daniel Sandler
ce6d9066b6 Merge "New window cling for immersive mode." into klp-dev 2013-10-13 19:30:29 +00:00
Daniel Sandler
e00ab01977 Merge "Easter egg cleanups." into klp-dev 2013-10-13 19:29:30 +00:00
Daniel Sandler
a953b6d968 New window cling for immersive mode.
Bug: 11077915
Change-Id: I6858259b31301b76dee81d3e6fbc534c1cdea661
2013-10-13 15:28:19 -04:00
Daniel Sandler
70966ec922 Easter egg cleanups.
Bug: 11171189
Bug: 10240151
Change-Id: Id5a8904bdf6c16302e09f2b48392f99c280a8179
2013-10-13 15:20:52 -04:00
Svetoslav Ganov
64655e8164 am 65d7b8d0: Merge "The list of active print jobs in print service retunring wrong result." into klp-dev
* commit '65d7b8d0dbf9f1263c5ab0b2ded984b3b1bbde01':
  The list of active print jobs in print service retunring wrong result.
2013-10-13 12:15:27 -07:00
Svetoslav Ganov
65d7b8d0db Merge "The list of active print jobs in print service retunring wrong result." into klp-dev 2013-10-13 19:10:12 +00:00
Eino-Ville Talvala
914970b473 am d38b1302: Merge "DO NOT MERGE: Hide new camera API." into klp-dev
* commit 'd38b1302b7506ae7eef6c6680228c0f07f6e1895':
  DO NOT MERGE: Hide new camera API.
2013-10-12 18:53:54 -07:00
Eino-Ville Talvala
d38b1302b7 Merge "DO NOT MERGE: Hide new camera API." into klp-dev 2013-10-13 01:50:30 +00:00
Aravind Akella
068b0c05fe Adding stepcounter & stepdetector feature strings.
Change-Id: Ic8cc95612f776db7cb1d1c13a228d5cd8ed64f56
2013-10-12 18:47:00 -07:00
Svetoslav Ganov
79ddf83522 am bececbfa: Merge "Printed document size not persisted." into klp-dev
* commit 'bececbfae675055aa60ea21c5b8bd3dbb8acdbac':
  Printed document size not persisted.
2013-10-12 17:34:47 -07:00
Svetoslav Ganov
bfc8edcf55 am 63ce2019: Merge "Fail only scheduled print jobs, i.e. handed to a service, if the service is disabled." into klp-dev
* commit '63ce201963339d937cf66fed7870356291dc57ad':
  Fail only scheduled print jobs, i.e. handed to a service, if the service is disabled.
2013-10-12 17:34:43 -07:00
Svetoslav Ganov
d91cb3ea61 The list of active print jobs in print service retunring wrong result.
1. The getActivePrintJobs() method in print service is designed to return
   the active print job i.e. ones scheduled to be processed by the print
   service. Now the correct list is returned.

2. The listeners for observing the state of print jobs may be called even
   after being unregistered. Ex: state change occurs and we schedule a
   message on the app's main thread to make the notificaion. Now the app
   unregisretes the callback and on the next loop the notification message
   is handled.

bug:11200258

Change-Id: I4a497b5c9a7287a22023cafe41ce966d14300ca6
2013-10-12 16:09:29 -07:00
Svetoslav Ganov
7d7888d1c7 Printed document size not persisted.
We persist ongoing print jobs so they can be restarted if the device
dies. The data size of the printed document was not persisted to disc.

bug:11199352

Change-Id: I53ef1ee285aa4808917dd6a5c7335226aba1ef0a
2013-10-12 13:18:16 -07:00
Svetoslav Ganov
9b6d3a153f Fail only scheduled print jobs, i.e. handed to a service, if the service is disabled.
When a print service is disabled we assume all print jobs for it failed as we have
no way to know what happens to them. However we are also failing created print jobs,
i.e. ones not given to the service. Such jobs are in process of construction and
the print dialog is up. We should not fail such jobs as the dialog can still modify
their state and potentially select a print from a different service. Therefore, we
leave them alone and they will be failed if when constructed are passed to a
disabled/uninstalled service.

bug:11197432

Change-Id: Ie4fe54327e3e25776b1dd572be2dfafdd700c2e5
2013-10-12 12:35:44 -07:00
Chris Craik
8d56f66724 am 709129ba: Merge "Document special case in hasOverlappingRendering" into klp-dev
* commit '709129ba939f9d09887506540bcbb573086b3f15':
  Document special case in hasOverlappingRendering
2013-10-11 17:11:18 -07:00
Chris Craik
709129ba93 Merge "Document special case in hasOverlappingRendering" into klp-dev 2013-10-12 00:08:08 +00:00
Chris Craik
c09127a7c3 Document special case in hasOverlappingRendering
bug:11121809

Change-Id: I074ac47aa510bd2362cfda7dffc73930f07e925c
2013-10-11 17:00:16 -07:00
Jeff Sharkey
2dbe16277d am 12ad9ce2: Merge "Fix spelling." into klp-dev
* commit '12ad9ce23e1d1fd07c07e683c191e6bc028c4407':
  Fix spelling.
2013-10-11 14:33:03 -07:00
Jeff Sharkey
12ad9ce23e Merge "Fix spelling." into klp-dev 2013-10-11 21:30:54 +00:00
Matthew Williams
e0a2bdaf61 am 32551ae5: Merge "Fix infinite boot-loop bug in SM." into klp-dev
* commit '32551ae5197744425d3057dc5d449e7943d35ba2':
  Fix infinite boot-loop bug in SM.
2013-10-11 14:29:30 -07:00