103372 Commits

Author SHA1 Message Date
Amith Yamasani
cc841829d0 Merge "Rename limited user to restricted profile" into jb-mr2-dev 2013-04-24 21:52:50 +00:00
Amith Yamasani
73b39899ac Rename limited user to restricted profile
Bug: 8705996
Change-Id: Ia6c44928a7922d60bfa32c4da9934d5993bd4ee8
2013-04-24 13:27:25 -07:00
Chet Haase
0187a5d424 Document behavior and usage of ViewGroup.bringChildToFront()
A call to ViewGroup.bringChildToFront() or View.bringToFront()
(which delegates to the parent's bringChildToFront() method) needs
to be followed by a call to requestLayout() and invalidate() on the
parent container in order for the changes to
actually happen. That is, the order of the child views would change, but
the parent container would not run layout or even invalidation without
being told to, so there would be no visible change until something else
caused a layout and invalidation to occur.

This change clarifies this requirement in the javadocs.

Issue #8667065 bringtoTop does not work

Change-Id: Ibe41a6318dddf9fb79382e1c9fd1d21ab4510976
2013-04-24 12:37:36 -07:00
Dirk Dougherty
49906f1705 am d9c9dd32: am 21e93bc8: am 182c06ff: am 0a413d75: am c0edc45f: am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev
* commit 'd9c9dd323d7e15460986e2dbb3a36aeb49e263df':
  Doc change: Add tablet optimization tips info/link.
2013-04-24 12:19:51 -07:00
Dirk Dougherty
d9c9dd323d am 21e93bc8: am 182c06ff: am 0a413d75: am c0edc45f: am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev
* commit '21e93bc845dab184370d9a650ec9794a6571a091':
  Doc change: Add tablet optimization tips info/link.
2013-04-24 12:18:39 -07:00
Dirk Dougherty
21e93bc845 am 182c06ff: am 0a413d75: am c0edc45f: am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev
* commit '182c06fffeec8162635df35765cd2504847c17e0':
  Doc change: Add tablet optimization tips info/link.
2013-04-24 12:16:56 -07:00
Dirk Dougherty
182c06fffe am 0a413d75: am c0edc45f: am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev
* commit '0a413d7572c5d06331d901a66e1686bc7c99a4ac':
  Doc change: Add tablet optimization tips info/link.
2013-04-24 12:14:36 -07:00
Dirk Dougherty
0a413d7572 am c0edc45f: am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev
* commit 'c0edc45fd20832b52e8d0f91632f616da585b7dd':
  Doc change: Add tablet optimization tips info/link.
2013-04-24 12:12:37 -07:00
Dirk Dougherty
c0edc45fd2 am dacaad4a: Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev
* commit 'dacaad4ab21bfe8d6de74d60d2ce881d2a276a9d':
  Doc change: Add tablet optimization tips info/link.
2013-04-24 12:10:34 -07:00
Dirk Dougherty
dacaad4ab2 Merge "Doc change: Add tablet optimization tips info/link." into jb-mr1-dev 2013-04-24 19:08:42 +00:00
Dirk Dougherty
71f8127165 Doc change: Add tablet optimization tips info/link.
Change-Id: Iee793b5fbb39e551c0df39ba4aeac40b55fb16d6
2013-04-24 11:49:27 -07:00
Baligh Uddin
d9ecfa0037 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-24 17:48:15 +00:00
Wink Saville
e148a49d92 Merge "Support WiFi only device at runtime." into jb-mr2-dev 2013-04-24 15:44:08 +00:00
Baligh Uddin
98174542d5 Import translations. DO NOT MERGE
Change-Id: I81a54db8c9cf388b0f381f8a72ad79ff3dc801dc
Auto-generated-cl: translation import
2013-04-24 08:19:16 -07:00
zzy
71bfafc84a Added flush() for bluetooth output stream
Bug 8498784

Zebra QL420 Plus Bluetooth printer fails on Android 4.2.2
2013-04-24 00:24:34 -07:00
Jim Miller
a3b5bae9cf Fix the build.
This fixes a bad merge in LockSettingsService.

Change-Id: I941bae77446dd0e94f409f0d64330ca5391f8efa
2013-04-23 18:34:46 -07:00
Svetoslav
4c78306617 Merge "Fixing bugs exposed when moving accessibility CTS tests to UiAutomation." into jb-mr2-dev 2013-04-24 01:05:38 +00:00
Jim Miller
952b310280 Merge "Fix bug where owner info wasn't being updated properly." into jb-mr2-dev 2013-04-24 01:04:10 +00:00
Svetoslav
db7da0eb8b Fixing bugs exposed when moving accessibility CTS tests to UiAutomation.
1. UiAutomation#executeAndWaitForEvent method was invoking the passed
   runnable while holding the lock which may lead to a deadlock. For
   example: a runnable that calls getActivity() gets us into a state
   like this.

2. UI automation services did not get all capabilities such a
   service can have. Now a UI test service gets all of them.

3. When UiAutomation was exiting for event fired as a result of a
   performed action, it was checking whether the received evnet time
   is strictly before the time of executing the command that should
   fire the event. However, if the execution is fast enough, i.e.
   less than one millisecond, then the event time and the execution
   time are the same. This was leading to a missed signal in rare
   cases.

4. AccessibilityNodeInfoCache was not clearing the relevant state
   for accessibility focus clearing event.

5. Accessibility text traversal in TextView was partially using text
   and partially content description - broken. Now we are using the
   text since for text view and content desc for other views. In other
   words, we are using the most precise text we have.

6. AccessibilityManagerService was not granting capabilities of a
   UiAutomation service - plainly wrong.

CTS change:https://googleplex-android-review.googlesource.com/#/c/300693/

bug:8695422
bug:8657560

Change-Id: I9afc5c3c69eb51f1c01930959232f44681b15e86
2013-04-23 17:44:00 -07:00
Jim Miller
2d8ecf9df0 Fix bug where owner info wasn't being updated properly.
There was a bug where older platforms only stored the 'enabled'
value if the checkbox in Settings was toggled at least once. This
caused the checkbox to be checked off when upgrading the device.

The code now mimicks the old behavior by detecting a non-empty
info string and setting 'enabled' appropriately.

Fixes bug 8659048

Change-Id: If2431d54f168a0aab286628165dd3f6b4a0d5cf8
2013-04-23 17:36:45 -07:00
Michael Wright
51f7ca4521 Merge "Fix keylayouts to use BACK instead of incorrect BUTTON_BACK." into jb-mr2-dev 2013-04-23 23:39:02 +00:00
Philip Milne
a6d5109dd6 Merge "Fix for bug 8578258." into jb-mr2-dev 2013-04-23 23:11:06 +00:00
Michael Wright
fb8df2356a Fix keylayouts to use BACK instead of incorrect BUTTON_BACK.
Fix duplicate keys in a couple of the onza controllers.  Also, add them to the
Makefile so they actually get included in the build.

Bug: 8292749
Change-Id: I8246155f84d0c3c75b21e37fb579227fda76e197
2013-04-23 15:54:21 -07:00
Matthew Xie
b442d07469 Merge "Add hardware feature android.hardware.bluetooth.le" into jb-mr2-dev 2013-04-23 22:47:52 +00:00
Philip Milne
3c647d23e5 Fix for bug 8578258.
The fix in:

https://googleplex-android-review.googlesource.com/#/c/300346/

worked but the constant used had an extra trailing zero - which was confusing
and put a 1 in the 'flag' space of the measurement spec.

The intended number was:

0x00800000

Unfortunately, this intended constant doesn't fix this bug.

The constant submitted in this fix is:

0x00010000

which is outside the 'flag' space of measurement specs and appears to steer clear of overflow
problems in the scenario of this bug.

As suggested in the submission above, it would be preferable to rework of the RTL code to avoid
the use of such a constant as it seems very unlikely indeed that any choice of integer can
avoid problems in all cases.

Change-Id: I0c6744257ef2aebe8dbc8c041a447f9b90ee4b84
2013-04-23 15:28:18 -07:00
Irfan Sheriff
0aea616acd Merge "Keep device state always updated" into jb-mr2-dev 2013-04-23 21:57:53 +00:00
Wink Saville
51f456f553 Support WiFi only device at runtime.
To date WiFi only devices were defined by the list of networkAttributes
in config.xml overriden in on a per-device basis. This change is the
simplest change needed to determine this at runtime and therefore allowing
a single build to support the two different configurations.

Bug: 8562845
Change-Id: I34de5c6accc718b199c13815537de1debfe3dc91
2013-04-23 14:26:51 -07:00
Raph Levien
22a3344cda Merge "Fix for bug 8695466 GPOS combining mark positioning broken before space" into jb-mr2-dev 2013-04-23 21:19:20 +00:00
Irfan Sheriff
e68d858b0f Keep device state always updated
Tasker app showed up a bug where we can be out of sync with screen state
if we only received broadcasts when wifi is toggled on. Always receive
updates.

Bug: 8689583
Change-Id: Iad457c9768ed421765adb6a15d5f42ecf682da38
2013-04-23 13:43:43 -07:00
Raph Levien
9d47db23ff Fix for bug 8695466 GPOS combining mark positioning broken before space
This patch makes segmentation into script runs behave the same in RTL
as in LTR modes - so that inherited script characters are always
associated with the preceding run. Otherwise, for a sequence such as
u+0631 u+064d u+0020, it would get split after the first character,
which would lose the ability to correctly position the u+064d mark.

Change-Id: I3c12ba1b77d18334f55e707f518be1046e6b339b
2013-04-23 12:51:27 -07:00
Scott Main
89a6081447 am 2dd874ac: am e0445881: am 51a452a9: am 4af72165: am 7653fbee: make Google IO image clickable
* commit '2dd874ace63566892a58f43bcf15399ae66c8d4b':
  make Google IO image clickable
2013-04-23 12:41:40 -07:00
Scott Main
2dd874ace6 am e0445881: am 51a452a9: am 4af72165: am 7653fbee: make Google IO image clickable
* commit 'e04458816b296ea76fc16cf8a820969cf363051d':
  make Google IO image clickable
2013-04-23 12:39:18 -07:00
Scott Main
e04458816b am 51a452a9: am 4af72165: am 7653fbee: make Google IO image clickable
* commit '51a452a93bb170a65921aae9ae6bddbf8ce12bff':
  make Google IO image clickable
2013-04-23 12:37:35 -07:00
Scott Main
51a452a93b am 4af72165: am 7653fbee: make Google IO image clickable
* commit '4af72165092fb965ec9a97599f25538aa70242b1':
  make Google IO image clickable
2013-04-23 12:36:26 -07:00
Scott Main
4af7216509 am 7653fbee: make Google IO image clickable
* commit '7653fbee7e4eb5d25a5b561b8142bd1af8c2cd58':
  make Google IO image clickable
2013-04-23 12:34:30 -07:00
Scott Main
7653fbee7e make Google IO image clickable
Change-Id: I8638012fa6be1f104f20cf2f4dcea59787fdfd08
2013-04-23 12:32:24 -07:00
Selim Gurun
6981f11f30 am 2253105c: am cab09cfc: am dc9efbbb: am a5f4e79f: am 22a946d3: am 006119bf: Merge commit \'8237dd82\' into manualmerge
* commit '2253105c1ad6c93880b3ce1651cf54269711cff7':
  DO NOT MERGE Fix issues during backport
2013-04-23 12:27:03 -07:00
Selim Gurun
2253105c1a am cab09cfc: am dc9efbbb: am a5f4e79f: am 22a946d3: am 006119bf: Merge commit \'8237dd82\' into manualmerge
* commit 'cab09cfc7afb7e19698bed3d61fe0b200dad3e4a':
  DO NOT MERGE Fix issues during backport
2013-04-23 12:24:37 -07:00
Selim Gurun
cab09cfc7a am dc9efbbb: am a5f4e79f: am 22a946d3: am 006119bf: Merge commit \'8237dd82\' into manualmerge
* commit 'dc9efbbb61a3e8da86c3e28f05d625a721a957fc':
  DO NOT MERGE Fix issues during backport
2013-04-23 12:23:14 -07:00
Selim Gurun
dc9efbbb61 am a5f4e79f: am 22a946d3: am 006119bf: Merge commit \'8237dd82\' into manualmerge
* commit 'a5f4e79fad39b4a0f91673c5813b1740e82144f4':
  DO NOT MERGE Fix issues during backport
2013-04-23 12:21:49 -07:00
Selim Gurun
a5f4e79fad am 22a946d3: am 006119bf: Merge commit \'8237dd82\' into manualmerge
* commit '22a946d36af4ea69956531c89f0d0852497c3892':
  DO NOT MERGE Fix issues during backport
2013-04-23 12:20:53 -07:00
Selim Gurun
22a946d36a am 006119bf: Merge commit \'8237dd82\' into manualmerge
* commit '006119bf2cd0b7f0ea3d1b6b0bbbfd413262504a':
  DO NOT MERGE Fix issues during backport
2013-04-23 12:18:47 -07:00
Matthew Xie
a722772b28 Add hardware feature android.hardware.bluetooth.le
The feature is used to differ platforms that support bluetooth low
engery radio
bug 8369273

Change-Id: Ibe23da73f7ecfa854bdb8b8bfc1a32b8e3aeee56
2013-04-23 11:53:41 -07:00
Ian Rogers
282a7e1b1d Adding matching @deprecated.
Bug: 8657266

(Cherry-pick of c2a3adbd56e763ef0ad045fd8c58a54e41d1639d)

Change-Id: Idbd22dc647f11441d15da12eb23723539768cf4c
2013-04-23 11:36:28 -07:00
Selim Gurun
006119bf2c Merge commit '8237dd82' into manualmerge
Bug: 6923539

Skipping the change. We already fixed this in master and jb-mr2-dev
in sha: 2905e18b03c6ce34739bed9c06b865b29087deea. A compatible change
was submitted to jb-dev (and so automerged to jb-mr1-dev). see sha
7918cf4e6b18ab1aa4dce1cb791bb88ec1f383d6. The conflict occurs while
merging 8237dd82bf151cb102a69243f91832be1c1294e4 which I thought was
DO NOT MERGE anyway.

Change-Id: If96e368d2e2cec98bc18069151a2ff861b53608f
2013-04-23 11:19:12 -07:00
Chet Haase
5e650cef53 Merge "Expand invalidation rectangle when clipChildren == false" into jb-mr2-dev 2013-04-23 02:50:54 +00:00
Jean-Michel Trivi
ea236f19e6 Merge "Identify in logs launch of voice search from key events" into jb-mr2-dev 2013-04-23 01:30:30 +00:00
Daniel Sandler
f78ff07f6e Merge "Fix concurrency issues when parceling StatusBarNotifications." into jb-mr2-dev 2013-04-23 00:53:31 +00:00
Amith Yamasani
d52f2b1485 Merge "Listen for brightness dialog broadcasts from all users" into jb-mr2-dev 2013-04-23 00:46:43 +00:00
Dirk Dougherty
94aa1167a2 am 80177e0c: am c2340c4d: am ecf55180: am 04f3b81a: am c7523804: am 00cfba95: Doc change: update support urls.
* commit '80177e0cdb2e4178d9593f758a2bca352480e653':
  Doc change: update support urls.
2013-04-22 17:11:01 -07:00