7632 Commits

Author SHA1 Message Date
Jeff Sharkey
35c9439000 am 7ce4381a: Merge "Move READ_EXTERNAL_STORAGE to storage group." into klp-dev
* commit '7ce4381a1a0b5903f75646bf632198d259438576':
  Move READ_EXTERNAL_STORAGE to storage group.
2013-10-30 09:25:37 -07:00
Jeff Sharkey
eaa9780fd6 Move READ_EXTERNAL_STORAGE to storage group.
Bug: 11437351
Change-Id: I460a3ee7860e8591e601eec7d390c3ca7eed1be6
2013-10-29 17:20:48 -07:00
Svetoslav
330c6be9dc am 86bfb3af: Merge "Not show share targets that cannot be launched." into klp-dev
* commit '86bfb3af4296a1263cb2c01a9e87b5b20015fedb':
  Not show share targets that cannot be launched.
2013-10-29 08:25:18 -07:00
Svetoslav
86bfb3af42 Merge "Not show share targets that cannot be launched." into klp-dev 2013-10-29 15:23:27 +00:00
Svetoslav
c7f18b526f am 099d842b: Update javadoc to fix the build.
* commit '099d842bdac481ea94527ab1f702342e41dca440':
  Update javadoc to fix the build.
2013-10-28 16:34:55 -07:00
Svetoslav
baeabb65e1 Not show share targets that cannot be launched.
This changes filters out share targets that we cannot start
because the target does not properly implement the SEND protocol
and has either share target activity hidden or requires a
permission to launch it. Also the code that launches the share
target activity catches the runtime exception and shows an error
message. Note that being able to launch an activity in a moment
of time is not a guarantee that one can do that latter. Hence,
being able to launch an activity while building the share UI
does not guarantee that one can launch it when selecting the
share target.

bug:11402139

Change-Id: Id35732510755b2eeb9eccacc046d289c2f2ee856
2013-10-28 16:26:47 -07:00
Svetoslav
099d842bda Update javadoc to fix the build.
Change-Id: Ib6e8c17f10a7f17785876681baf8fb07eac9af55
2013-10-28 15:56:48 -07:00
Svetoslav
60fb1e2837 am 714ba345: Merge "Complete implementation of the advanced print options." into klp-dev
* commit '714ba34556572d36b1f9f8d9b860c4da24da6361':
  Complete implementation of the advanced print options.
2013-10-28 15:09:12 -07:00
Svetoslav
714ba34556 Merge "Complete implementation of the advanced print options." into klp-dev 2013-10-28 22:07:03 +00:00
Baligh Uddin
c98c6cc649 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-28 19:33:46 +00:00
Svetoslav
b4fda13476 Complete implementation of the advanced print options.
1. Implemented the advanced printer options integration. Now a print service
    may declare an advanced print options activity which may be launched by
    the user if the current printer supports advanced print options. These options
    are visible only to the print service that added them and it is the only party
    that will interpret the options.

2. Fixed a couple of bugs in the saved print jobs parsing. One was that if there
    are more than one page range, a half of the print job properties was not
    properly parsed. The other was that the media size constructor was using
    incorrect argument order, thus creating a media size with wring width.

3. Fixed and edge case where old print jobs and their docs can get stuck in
    the spooler. If the app did not write the requested pages we were not showing
    an error message, rather just finish the activity without canceling the print
    job and this print job is stuck in the spooler. Now we show an error message
    and the user may retry, cancel. If the user cancels the print job is also
    cancelled, thus no leftover in the spooler.

4. Fixed the background color of the print dialog to meet UX spec.

bug:11241800

Change-Id: I352440bc86aec824a805883fc9579d96a06d11e6
2013-10-28 11:44:07 -07:00
Vineeta Srivastava
ccf1a88daf am 2ead7510: Merge "Do not show roaming icon for Videotron operator when access Canada network" into klp-dev
* commit '2ead75109cf21223b7754fc3906c86d2fbd145cb':
  Do not show roaming icon for Videotron operator when access Canada network
2013-10-28 09:51:27 -07:00
Baligh Uddin
55e168f544 Import translations. DO NOT MERGE
Change-Id: Ic80d15c427e2f67465a6c45ab08d0ffcb618ae62
Auto-generated-cl: translation import
2013-10-28 09:47:23 -07:00
Sungmin Choi
119e24f987 Do not show roaming icon for Videotron operator when access Canada network
Bug: 11260638
Change-Id: I70b3c2c190707b41ca04110851b7c9581d1c196f
2013-10-28 09:11:36 -07:00
Wink Saville
4bc3565064 am 604cfc2d: Merge "Enhance pin/puk support" into klp-dev
* commit '604cfc2de963c17ed53fef745b93e3afcfd5a5f8':
  Enhance pin/puk support
2013-10-25 09:43:00 -07:00
Wink Saville
604cfc2de9 Merge "Enhance pin/puk support" into klp-dev 2013-10-25 16:40:55 +00:00
Baligh Uddin
f7fbbffa16 Import translations. DO NOT MERGE
Change-Id: I85bcd3e5a5bffe627336332a1bc2d921e2ef7139
Auto-generated-cl: translation import
2013-10-23 17:17:35 -07:00
Wink Saville
b896b9f742 Enhance pin/puk support
Add supplyPinReportResult & supplyPukReportResult that
returns the result code and attempts remaining.

Display "Attempts remaining" in Keyguard

Bug: 9928717
Change-Id: Ibad0635dd1375fabce11ba2b7b9f95f8868489e6
2013-10-23 15:44:26 -07:00
Chet Haase
f8525cafbf am 02e4c3a1: Merge "Cache Scene objects by layout ID on the scene root" into klp-dev
* commit '02e4c3a1d870be7ced0f70f460d718924f6e348f':
  Cache Scene objects by layout ID on the scene root
2013-10-23 14:48:45 -07:00
Adam Powell
40a67888f9 Cache Scene objects by layout ID on the scene root
The current tracking of scene objects in a static ThreadLocal is
problematic as it leaks the Context associated with the SceneRoot and
returns the wrong Scene object if the same layout ID is used across
different scene roots.

Track Scene objects on the scene root view instead to avoid these
issues.

Change-Id: I891986897f757f2666897c937b5ebb0ed1d531c1
2013-10-23 14:26:57 -07:00
Adam Powell
9390fcbbc6 am 3e1a9eac: Merge "Import button assets from UX repository" into klp-dev
* commit '3e1a9eaca6b5e1c699c9962e3932298751829660':
  Import button assets from UX repository
2013-10-23 13:31:17 -07:00
Adam Powell
3e1a9eaca6 Merge "Import button assets from UX repository" into klp-dev 2013-10-23 20:28:59 +00:00
Martijn Coenen
fa191d5ac2 am d9e98a4b: Merge "Unhide BIND_NFC_SERVICE permission." into klp-dev
* commit 'd9e98a4b6d3181ab3d58b7781ee2f88a389ecf1f':
  Unhide BIND_NFC_SERVICE permission.
2013-10-23 11:14:44 -07:00
Adam Powell
c03ef006da Import button assets from UX repository
Bug 11192938

Change-Id: Ib59fd4d288d3ef5f132a4cee2a2e0384053b5594
2013-10-23 11:09:03 -07:00
Martijn Coenen
8c99ab849e Unhide BIND_NFC_SERVICE permission.
Needs to be held by host-based card emulation
apps in order to work.

Bug: 11352063
Change-Id: I8ba42446cd3066b38309d8e9cbc51d140a023547
2013-10-23 10:43:16 -07:00
Baligh Uddin
13d111c925 Import translations. DO NOT MERGE
Change-Id: Ifefb5cc2d2e9545e3a3c89ec8b2284a04c1bff39
Auto-generated-cl: translation import
2013-10-21 08:39:26 -07:00
John Spurlock
1eeb5ff203 am d4595bd1: Merge "Move the IME navigation guard view up to decor." into klp-dev
* commit 'd4595bd1e60ba03be3dac3cae3fc2d3ae2433c7d':
  Move the IME navigation guard view up to decor.
2013-10-19 10:05:23 -07:00
John Spurlock
ae3349e1c3 Move the IME navigation guard view up to decor.
Although the IME windows are now allowed to extend into
the nav bar, some IMEs were making assumptions about
computed insets based on the height of the content view.

So our navigation bar view (opaque view blocking the nav bar
area to avoid the island effect when transparent) needs to live
above the content view in the hierarchy, making the content view
the same height as it was before.

A surgical spot to put the guard view is up at the root view
(PhoneWindow.DecorView).  fitSystemWindows is always called since
this view is not recreated, and the layout is stable: waiting until
the IME is attached to the window is too late to add a guard view.

This is above the screen_* layouts, so will work without having to
touch all of them.  And it only affects windows of TYPE_INPUT_METHOD.

Bug:11237795
Change-Id: I6a93f30aec83f1cecfb854073046cbc87ab4aa66
2013-10-18 18:41:22 -04:00
Alan Viverette
a74cf4f962 am 280dc0ea: Merge "Fix assorted FastScroller regressions" into klp-dev
* commit '280dc0ea2f1071809d7619918c33091e13d1f25a':
  Fix assorted FastScroller regressions
2013-10-17 11:33:24 -07:00
Alan Viverette
280dc0ea2f Merge "Fix assorted FastScroller regressions" into klp-dev 2013-10-17 18:30:25 +00:00
John Spurlock
dd9e681cd8 am b346270d: Merge "Input method root view should have BOTTOM gravity." into klp-dev
* commit 'b346270dde839029f9d4994cf2c3fc670a4249a6':
  Input method root view should have BOTTOM gravity.
2013-10-17 09:34:21 -07:00
John Spurlock
b346270dde Merge "Input method root view should have BOTTOM gravity." into klp-dev 2013-10-17 16:30:46 +00:00
Svetoslav
13bc41a52d am 265a099c: Merge "Add APIs for an advanced print options activity." into klp-dev
* commit '265a099c105ec600e52011862c2e49b748a860d0':
  Add APIs for an advanced print options activity.
2013-10-16 16:37:48 -07:00
Svetoslav
265a099c10 Merge "Add APIs for an advanced print options activity." into klp-dev 2013-10-16 23:35:35 +00:00
Svetoslav
1c43fceaaa Add APIs for an advanced print options activity.
This is the API part needed to implement support for custom print
options by a print service. Some printers have quite fancy options
and we want users to benefit using them.

bug:11241800

Change-Id: I3a9df771c0ded559b61c597c686795840d702b27
2013-10-16 15:47:44 -07:00
Baligh Uddin
58c564fce9 Import translations. DO NOT MERGE
Change-Id: I35eeda6573625b99277852996769544b8d2f0d37
Auto-generated-cl: translation import
2013-10-16 15:18:56 -07:00
John Spurlock
59b74dd9b9 Input method root view should have BOTTOM gravity.
The window had BOTTOM gravity, but the root view was using the
LinearLayout default (START | TOP), meaning an IME with a tall
inputArea could effectively push the navigation bar guard view
off screen.

This change simply uses BOTTOM instead of TOP for the root view.

Bug:11237795
Change-Id: I681c2b1eddac53589e0d168f09a183d67b1e5322
2013-10-16 16:28:50 -04:00
Alan Viverette
f9af7b250e Fix assorted FastScroller regressions
Fixes the following bugs:
- Don't show preview if text is empty, e.g. whitespace
- Avoid transitioning decor from DRAGGING to DRAGGING
- Restore original font size
- Restore thumb position adjustment for last row

BUG: 11207575
Change-Id: I72fc031d1fd22a41d81e7f52ca0856cf82d1be27
2013-10-15 17:09:35 -07:00
Baligh Uddin
1fcf34d820 Import translations. DO NOT MERGE
Change-Id: Idf3c804dad4f6a6acbfbf176b06ffacfe30345cf
Auto-generated-cl: translation import
2013-10-15 14:27:27 -07:00
John Spurlock
e8962d4b2f am f847c3b0: Merge "Update resource name for renamed string." into klp-dev
* commit 'f847c3b014ab49fae6bbbc9dd7aac199b31467df':
  Update resource name for renamed string.
2013-10-15 12:44:57 -07:00
John Spurlock
1ed453a26e Update resource name for renamed string.
Fix translations for recently renamed string.

Also remove old name from symbols.xml.  The resource is no
longer referenced in code, and will break builds without
translations.

Bug:11062108
Change-Id: I61977cb1ee5298947b3ee48b5fbd0354727253c0
2013-10-15 11:47:09 -04:00
Robert Greenwalt
87408ffda1 am f64247e4: Merge "Fix change to re-add carrier roaming details." into klp-dev
* commit 'f64247e417ffcffb76bd47af417f4f3623073f88':
  Fix change to re-add carrier roaming details.
2013-10-14 17:19:20 -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
Robert Greenwalt
4df84602fd Fix change to re-add carrier roaming details.
bug:11176211
Change-Id: Ibde8bd4b98df781a3c851d97a893da88c161d98b
2013-10-14 14:50:33 -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
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