Commit Graph

32206 Commits

Author SHA1 Message Date
Dianne Hackborn
6885d577cb am 8715dc14: am 4213e68f: am 3a7d5f71: Merge "Replace SEAndroid with SELinux."
* commit '8715dc1401557f5ec068f9214ab0712291a3b403':
  Replace SEAndroid with SELinux.
2013-09-25 11:48:40 -07:00
Dianne Hackborn
8715dc1401 am 4213e68f: am 3a7d5f71: Merge "Replace SEAndroid with SELinux."
* commit '4213e68f67d59c0912d2a8729fcec4539197756a':
  Replace SEAndroid with SELinux.
2013-09-25 11:45:38 -07:00
Dianne Hackborn
4213e68f67 am 3a7d5f71: Merge "Replace SEAndroid with SELinux."
* commit '3a7d5f71456b57f712b0f878beb5317f0ce6d564':
  Replace SEAndroid with SELinux.
2013-09-25 11:42:07 -07:00
Dianne Hackborn
3a7d5f7145 Merge "Replace SEAndroid with SELinux." 2013-09-25 18:39:58 +00:00
Jean Chalard
65e1772d6b am 424054ba: am 6a1e32ef: Merge "Don\'t change the text in reaction to a user dict add" into klp-dev
* commit '424054ba621738452b0bae69dcd6a8372ca5c273':
  Don't change the text in reaction to a user dict add
2013-09-25 08:17:41 -07:00
Jean Chalard
424054ba62 am 6a1e32ef: Merge "Don\'t change the text in reaction to a user dict add" into klp-dev
* commit '6a1e32efb686bd5606f62076c70f399ff3bdc37d':
  Don't change the text in reaction to a user dict add
2013-09-25 08:11:31 -07:00
Przemyslaw Szczepaniak
58f1665372 Catch MissingResourceException caused by bad locale in TTS.
Malformed locale objects will throw MissingResourceException
from getISO3Country() and getISO3Language() methods.

This change guard against the case where device default locale is
malformed and user tries to get TTS default locale (b/10814409)
and case where user tries to pass bad locale as argument to
TextToSpeech.getFeatures method (b/10494193).

Bug:10494193,10814409
Change-Id: Ie54d5d30bb042324da0c0d19b77c3a932c5642f7
2013-09-25 10:01:27 +00:00
Jean Chalard
6a1e32efb6 Merge "Don't change the text in reaction to a user dict add" into klp-dev 2013-09-25 07:50:15 +00:00
Elliott Hughes
a4fbd6ddca am e713f57a: am d82b1c3b: am 9d8721f8: Merge "Remove dead code."
* commit 'e713f57a6ebbeb6571226422c42c2c3d6c113a9a':
  Remove dead code.
2013-09-24 17:56:15 -07:00
Elliott Hughes
e713f57a6e am d82b1c3b: am 9d8721f8: Merge "Remove dead code."
* commit 'd82b1c3bf2abbc1582c90362267650cf05d38cd5':
  Remove dead code.
2013-09-24 17:54:42 -07:00
Elliott Hughes
d82b1c3bf2 am 9d8721f8: Merge "Remove dead code."
* commit '9d8721f8abb018429e3dba2296bce789b776aa0c':
  Remove dead code.
2013-09-24 17:51:58 -07:00
Elliott Hughes
4b395a3625 Remove dead code.
This hasn't been used since at least 2011, and we're no longer
shipping the data supporting it either.

Change-Id: Ibe42057650b49794c65d6f0d54ed7a492f3b594b
2013-09-24 17:22:11 -07:00
Adam Powell
51d6615af4 am 8dcc0e7d: am 7ef9b612: Merge "Fix monkey bugs in ListView" into klp-dev
* commit '8dcc0e7dfb05a50ca306942037015244060862b8':
  Fix monkey bugs in ListView
2013-09-24 15:44:01 -07:00
Adam Powell
8dcc0e7dfb am 7ef9b612: Merge "Fix monkey bugs in ListView" into klp-dev
* commit '7ef9b612412a2169c8c0e0b3506b06516cb012b5':
  Fix monkey bugs in ListView
2013-09-24 15:40:44 -07:00
Adam Powell
7ef9b61241 Merge "Fix monkey bugs in ListView" into klp-dev 2013-09-24 22:38:37 +00:00
Adam Powell
31986b5b69 Fix monkey bugs in ListView
* Don't run item click listeners as part of touch mode reset if the
  ListView is being detached from its window. Some calling code makes
  assumptions around this.

* Remove redundant state tracking for window attachment from
  AbsListView now that we have View#isAttachedToWindow(). The timing
  of View's mechanism is closer to what we want here anyway -
  subclasses calling super.onDetachedFromWindow() as the first line of
  an overridden onDetachedFromWindow() method will see the window as
  being in a detached state while the rest of the method runs,
  resulting in the behavior described in the first bullet point above.

Bug 10834897

Change-Id: Ic9fdff3c5cfc4996361a7fb1a863547b4d1a2c9c
2013-09-24 15:20:07 -07:00
Dianne Hackborn
23ff9f6128 am 9b7d1484: am 5f86b90b: Merge "Fix issue #10848916: "Always" button is not working." into klp-dev
* commit '9b7d148466b1aedb24187294e0c59718afb104a0':
  Fix issue #10848916: "Always" button is not working.
2013-09-24 14:51:06 -07:00
Dianne Hackborn
9b7d148466 am 5f86b90b: Merge "Fix issue #10848916: "Always" button is not working." into klp-dev
* commit '5f86b90b8a224e21db89bacf78d4bd4d3f44342d':
  Fix issue #10848916: "Always" button is not working.
2013-09-24 14:49:17 -07:00
Dianne Hackborn
5f86b90b8a Merge "Fix issue #10848916: "Always" button is not working." into klp-dev 2013-09-24 21:46:17 +00:00
Alan Viverette
e3b71bc910 am 4e10483d: am 6bc7cacf: Merge "Fix NPE in PopupMenu.getDragToOpenListener()" into klp-dev
* commit '4e10483de3a28041e1108633752581cb0fc77483':
  Fix NPE in PopupMenu.getDragToOpenListener()
2013-09-24 14:38:51 -07:00
Alan Viverette
4e10483de3 am 6bc7cacf: Merge "Fix NPE in PopupMenu.getDragToOpenListener()" into klp-dev
* commit '6bc7cacfc8c34512278460028b7f6f0a4be220b4':
  Fix NPE in PopupMenu.getDragToOpenListener()
2013-09-24 14:33:50 -07:00
Alan Viverette
6bc7cacfc8 Merge "Fix NPE in PopupMenu.getDragToOpenListener()" into klp-dev 2013-09-24 21:28:56 +00:00
Dianne Hackborn
6d8dfbd814 Fix issue #10848916: "Always" button is not working.
The problem was that the ResolverActivity filters some activities
out of the list it shows, but it uses that display list as the
list of components the preference is set against when ultimately
setting it on the package manager...  but that filtered list is *not*
the right component set, since it is not the same as the package
manager's view on it.

The fix here is to retain the original set of matching components
and use that when setting the preferred activity.  Note that this
does mean that in very unusual cases where filtering is happeing
(such as one of the activities not being exported but being seen
as a possible completion from another app), then you will be setting
the preference for the complete set.  Ultimately we probably need
to have the package manager apply these filtering rules up-front so
this is all consistent, but this is a very rare case so not that
important.

And then most of the change here is just improving the debug
output for intent resolution.

Change-Id: Ie35ac2c05a45946439951bbf41433c8b7de79c05
2013-09-24 14:16:38 -07:00
Chet Haase
e4039cc6bc am 5c69fd7d: am cfdc0369: Merge "Disable ActionBar usage of transitions" into klp-dev
* commit '5c69fd7d36af2d186fa3b654cf8b3e6eeb5596b9':
  Disable ActionBar usage of transitions
2013-09-24 14:04:01 -07:00
Chet Haase
5c69fd7d36 am cfdc0369: Merge "Disable ActionBar usage of transitions" into klp-dev
* commit 'cfdc0369f133787ed60015610016e9e53964bd77':
  Disable ActionBar usage of transitions
2013-09-24 14:01:48 -07:00
Chet Haase
cfdc0369f1 Merge "Disable ActionBar usage of transitions" into klp-dev 2013-09-24 20:58:40 +00:00
Svetoslav
8e137b53b9 am d454beb8: am 0d38d0b4: Merge "Multiple printer discovery session instances and other bugs." into klp-dev
* commit 'd454beb8545e9427eaeb5eb757badbe6907cf6a2':
  Multiple printer discovery session instances and other bugs.
2013-09-24 13:41:47 -07:00
Svetoslav
d454beb854 am 0d38d0b4: Merge "Multiple printer discovery session instances and other bugs." into klp-dev
* commit '0d38d0b42fba7dc50454d5c0652cf351c58a9db6':
  Multiple printer discovery session instances and other bugs.
2013-09-24 13:40:02 -07:00
Svetoslav
0d38d0b42f Merge "Multiple printer discovery session instances and other bugs." into klp-dev 2013-09-24 20:37:59 +00:00
Alan Viverette
5fbd62b399 am 36055c33: am e1cb9acc: Merge "Update AdapterView.performItemClick() documentation" into klp-dev
* commit '36055c3396051e1f1e0257b9e98c0b9b5ac16080':
  Update AdapterView.performItemClick() documentation
2013-09-24 11:38:18 -07:00
Alan Viverette
36055c3396 am e1cb9acc: Merge "Update AdapterView.performItemClick() documentation" into klp-dev
* commit 'e1cb9accf2077833c96e748150d0aee8e05cb10a':
  Update AdapterView.performItemClick() documentation
2013-09-24 11:32:41 -07:00
Alan Viverette
e1cb9accf2 Merge "Update AdapterView.performItemClick() documentation" into klp-dev 2013-09-24 18:28:01 +00:00
Alan Viverette
99d72497d3 Fix NPE in PopupMenu.getDragToOpenListener()
BUG: 10912382
Change-Id: I206e697b4781c4d03ebc01aa675511d89c1656af
2013-09-24 11:27:08 -07:00
Martin Kosiba
8ed79f45d6 am dc7053be: am 4e31b804: Merge "Update WebView documentation section about zoom." into klp-dev
* commit 'dc7053be9ff1b89464063ed6a338fd29580b5abf':
  Update WebView documentation section about zoom.
2013-09-24 10:26:10 -07:00
Zhijun He
1562ca8bf5 am ff704b63: am 0d9fdc24: Merge "Camera2: replace EDQUOT with EUSERS" into klp-dev
* commit 'ff704b63dda946531b7e3774b2ac4211f63349c3':
  Camera2: replace EDQUOT with EUSERS
2013-09-24 10:25:56 -07:00
David Christie
49580f5ce4 am f6a63c92: am fe538cb6: Merge "Fix broken method WorkSource.set (names aren\'t applied)." into klp-dev
* commit 'f6a63c92448be250208556520900c4309917a010':
  Fix broken method WorkSource.set (names aren't applied).
2013-09-24 10:23:09 -07:00
Jeff Sharkey
f534dc6c36 am 94bf4d69: am 0156a379: Merge "Allow saving to Downloads." into klp-dev
* commit '94bf4d69f2e59a0bb62c5d1829e4cf9be5a67579':
  Allow saving to Downloads.
2013-09-24 10:22:53 -07:00
Amith Yamasani
d94c31d13a am 32a2775e: am 85f77c2b: Merge "Unmarshall PFDs properly when hand-crafting interface stubs" into klp-dev
* commit '32a2775e529d13dfd34273a3b4af5151435720b2':
  Unmarshall PFDs properly when hand-crafting interface stubs
2013-09-24 10:22:50 -07:00
Martin Kosiba
dc7053be9f am 4e31b804: Merge "Update WebView documentation section about zoom." into klp-dev
* commit '4e31b8046da047d5286532776d6d169e09d21ce5':
  Update WebView documentation section about zoom.
2013-09-24 02:52:20 -07:00
Martin Kosiba
4e31b8046d Merge "Update WebView documentation section about zoom." into klp-dev 2013-09-24 09:49:22 +00:00
Svetoslav
b5f180608d Multiple printer discovery session instances and other bugs.
1. The fused printers provider was dropping on the floor received printers
    if it was not active. It is in fact a loaded and if not active it should compute
    the printers and not deliver them until activated. This fixes an issue where
    opening the print dialog, then enabling a print service results in the printers
    reported by the service not showing up in the print dialog.

2. Printer discovery session was created twice which leads to incorrect behavior
    as the pint system is designed around the contract that there is a single
    printer discovery session per service at a time. This was possible due to an
    incorrect initialization of a member variable resulting in double session creation
    when the print service is connected.

3. When a print service is enabled during discovery we did not use the correct
    condition to start printer discovery resulting in starting it all the time even if
    not needed. Also if some of the printers that had to be tracked are reported
    by the service just enabled (typically historical printers) we did not ask the
    service to start tracking them.

4. Removed some logging.

bug:10903343

Change-Id: I46c049471a4b099fc668df3aee2aaedc8d7786ac
2013-09-23 23:41:12 -07:00
Zhijun He
ff704b63dd am 0d9fdc24: Merge "Camera2: replace EDQUOT with EUSERS" into klp-dev
* commit '0d9fdc245172bb5c46eb21094e384d95da1a46df':
  Camera2: replace EDQUOT with EUSERS
2013-09-23 19:33:07 -07:00
Zhijun He
0d9fdc2451 Merge "Camera2: replace EDQUOT with EUSERS" into klp-dev 2013-09-24 02:28:22 +00:00
Dianne Hackborn
9ef68ecda5 am 8d4816d8: am a3abca90: Merge "Issue #10461551: KLP API Review: AppOpsManager" into klp-dev
* commit '8d4816d8fc9c1acbf377e7ee50b9871c4b5b8028':
  Issue #10461551: KLP API Review: AppOpsManager
2013-09-23 19:04:00 -07:00
David Christie
f6a63c9244 am fe538cb6: Merge "Fix broken method WorkSource.set (names aren\'t applied)." into klp-dev
* commit 'fe538cb60ea9032645e8bcdcb5ebbe5810626cff':
  Fix broken method WorkSource.set (names aren't applied).
2013-09-23 19:00:33 -07:00
Jeff Sharkey
94bf4d69f2 am 0156a379: Merge "Allow saving to Downloads." into klp-dev
* commit '0156a379e21621d2724635eb96f37a81efc7be06':
  Allow saving to Downloads.
2013-09-23 19:00:01 -07:00
Amith Yamasani
32a2775e52 am 85f77c2b: Merge "Unmarshall PFDs properly when hand-crafting interface stubs" into klp-dev
* commit '85f77c2b8b46a52544ab9305a8c4cf9a36923013':
  Unmarshall PFDs properly when hand-crafting interface stubs
2013-09-23 18:59:57 -07:00
Dianne Hackborn
8d4816d8fc am a3abca90: Merge "Issue #10461551: KLP API Review: AppOpsManager" into klp-dev
* commit 'a3abca90aea1b0b6ab0be56b3ec008b91dfc090f':
  Issue #10461551: KLP API Review: AppOpsManager
2013-09-23 18:58:42 -07:00
David Christie
dd3a021f4a Fix broken method WorkSource.set (names aren't applied).
Change-Id: I89273b99e312e48adc10debbb4e40d8684cceb23
2013-09-23 16:01:08 -07:00
Chet Haase
d8d7c38533 Disable ActionBar usage of transitions
Various artifacts across apps were coming from ActionBar's use of
the new transitions framework. Disabling transitions for now to get
things back to a more stable state.

Also, fixed some related bugs in transitions themselves, including
a change in TextChange to account for text selection, which was causing
errors in Keep's SearchView.

Issue #10860557 TextChange animator may old stale value
Issue #10819685 sometimes icons are lighter
Issue #10750525 Share and Settings icons overlap when stopping slideshow
Issue #10839551 Sometimes the search text box is right-aligned in Keep
Issue #10727484 Cursor incorrectly positioned after entering first letter during search action in keep app

Change-Id: Iad7cbf3297e18018308b8148b3519b032e63dace
2013-09-23 14:49:39 -07:00