106098 Commits

Author SHA1 Message Date
Amith Yamasani
26c41f3505 am cc841829: Merge "Rename limited user to restricted profile" into jb-mr2-dev
* commit 'cc841829d00f7f42dc3b7e8d9bac365f7d9c2798':
  Rename limited user to restricted profile
2013-04-24 14:55:12 -07:00
Chet Haase
4268976929 Merge "Document behavior and usage of ViewGroup.bringChildToFront()" into jb-mr2-dev 2013-04-24 21:54:37 +00:00
Amith Yamasani
cc841829d0 Merge "Rename limited user to restricted profile" into jb-mr2-dev 2013-04-24 21:52:50 +00:00
Craig Mautner
d3c933875c Fix deadlock.
Grabbing StackTapDetector before grabbing mWindowMap doesn't play well
with grabbing mWindowMap and then StackTapDetector.

Change-Id: I40daa4c940930b1ebbb587edc1958e84321d6d7f
2013-04-24 14:31:51 -07: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
9e0c5455fb am bdfba1ec: am 49906f17: 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 'bdfba1ecbfd1585d0c6ac1cd478e0f2831040fa6':
  Doc change: Add tablet optimization tips info/link.
2013-04-24 12:23:16 -07:00
Dirk Dougherty
bdfba1ecbf am 49906f17: 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 '49906f17059afcd862ef8bc3b456a6ffef5ef40e':
  Doc change: Add tablet optimization tips info/link.
2013-04-24 12:21:30 -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
John Spurlock
ea633ce260 Merge "Reveal hideybars using system gesture." 2013-04-24 18:48:12 +00:00
Baligh Uddin
ce74a074bd am e9ad9899: am d9ecfa00: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit 'e9ad98996e200dfb1d25842deda65c6225f21063':
  Import translations. DO NOT MERGE
2013-04-24 10:51:09 -07:00
Baligh Uddin
e9ad98996e am d9ecfa00: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit 'd9ecfa0037105e8c6662091af6f8936f3ae627b8':
  Import translations. DO NOT MERGE
2013-04-24 10:49:54 -07:00
Baligh Uddin
0054b3222d Merge "Import translations. DO NOT MERGE" 2013-04-24 17:49:40 +00:00
Baligh Uddin
eeb0e6e2c0 Merge "Import translations. DO NOT MERGE" 2013-04-24 17:48:48 +00:00
Baligh Uddin
d9ecfa0037 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-24 17:48:15 +00:00
Baligh Uddin
72fdae84f6 Merge "Import translations. DO NOT MERGE" 2013-04-24 17:47:20 +00:00
Wink Saville
e193350992 am d2190a4b: am e148a49d: Merge "Support WiFi only device at runtime." into jb-mr2-dev
* commit 'd2190a4bfb33e4586c4b94d77bb08f5de0e7ea46':
  Support WiFi only device at runtime.
2013-04-24 10:45:10 -07:00
Chris Craik
69ca575b5b Merge "Avoid incorrectly dirtying the functor output rect" 2013-04-24 17:44:46 +00:00
Wink Saville
d2190a4bfb am e148a49d: Merge "Support WiFi only device at runtime." into jb-mr2-dev
* commit 'e148a49d9214724c7c6aa5b23eae7cdbb80da1ca':
  Support WiFi only device at runtime.
2013-04-24 08:47:45 -07: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
578bf77c1f Import translations. DO NOT MERGE
Change-Id: I9b9d05b9e3e05827d75db4e5ae843e7fd2149d30
Auto-generated-cl: translation import
2013-04-24 08:37:25 -07:00
Baligh Uddin
9d43699679 Import translations. DO NOT MERGE
Change-Id: Ib2ce1bd6830c2f7517a99e38aa40081c2db14e01
Auto-generated-cl: translation import
2013-04-24 08:26:54 -07: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
Baligh Uddin
d5070c395d Import translations. DO NOT MERGE
Change-Id: Id5f09e8ba9f64db6c57687316f02dfa6ac94390a
Auto-generated-cl: translation import
2013-04-24 08:16:57 -07:00
Craig Mautner
a2e56c5a2f Merge "Fix user switching." 2013-04-24 14:53:51 +00:00
John Spurlock
57306e6b79 Reveal hideybars using system gesture.
Monitor input events using a dedicated input channel created by
window manager.

This new input event receiver could be used in the future for other
system-wide gestures that do not consume events.

Change-Id: Ib1be2fee0015332279fcf10f5b669fffd61acdcd
2013-04-24 09:52:55 -04: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
Alex Klyubin
c56b831a1f am 50289346: am a6436526: Merge "Human-readable POSIX capabilities for SystemServer."
* commit '50289346b3010e24b6a7b86a774d88b81fc28f3b':
  Human-readable POSIX capabilities for SystemServer.
2013-04-23 23:49:14 -07:00
Alex Klyubin
50289346b3 am a6436526: Merge "Human-readable POSIX capabilities for SystemServer."
* commit 'a643652680486bd1009248d1bd8fcea7da92d661':
  Human-readable POSIX capabilities for SystemServer.
2013-04-23 23:46:25 -07:00
Alex Klyubin
a643652680 Merge "Human-readable POSIX capabilities for SystemServer." 2013-04-24 05:54:47 +00:00
Craig Mautner
b58121c350 Merge "Add tap detector for switching stack focus." 2013-04-24 02:36:43 +00:00
Craig Mautner
858d8a6583 Fix user switching.
- Save and restore WindowManager stack states.
- Maintain ActivityManager activity states based on the stack
the activity is in.

Fixes bug 8646641.

Change-Id: I16c76c7708ab49121c3884a7e5bf219898b92d3f
2013-04-23 19:33:42 -07:00
Craig Mautner
cf910b0c71 Add tap detector for switching stack focus.
- New InputEventReceiver for detecting taps outside of focused stack
boundaries.
- Fixed bug that wasn't pausing the non-focused window when returning
home.

Change-Id: Ia51d312a7c029abc01eb5df1102814cc29d33b47
2013-04-23 19:33:27 -07:00
Jim Miller
ab18ec8eb5 am ca9904d0: am a3b5bae9: Fix the build.
* commit 'ca9904d02147daf26def085f7b72d83d2abbd007':
  Fix the build.
2013-04-23 18:46:57 -07:00
Jim Miller
ca9904d021 am a3b5bae9: Fix the build.
* commit 'a3b5bae9cf9e28e5d461c543e9c3fc7920a2330c':
  Fix the build.
2013-04-23 18:44:50 -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
fb2563103b am 939ff0ac: am 4c783066: Merge "Fixing bugs exposed when moving accessibility CTS tests to UiAutomation." into jb-mr2-dev
* commit '939ff0acff8a21a023d79214130680a66214840f':
  Fixing bugs exposed when moving accessibility CTS tests to UiAutomation.
2013-04-23 18:08:55 -07:00
Jim Miller
2dcedef1f1 am 035f82b3: am 952b3102: Merge "Fix bug where owner info wasn\'t being updated properly." into jb-mr2-dev
* commit '035f82b3a7a3517d97a7267f7f6d6b723b8b7e43':
  Fix bug where owner info wasn't being updated properly.
2013-04-23 18:08:53 -07:00
Svetoslav
939ff0acff am 4c783066: Merge "Fixing bugs exposed when moving accessibility CTS tests to UiAutomation." into jb-mr2-dev
* commit '4c78306617dd67b92fdf19101c5dfde4e21172d9':
  Fixing bugs exposed when moving accessibility CTS tests to UiAutomation.
2013-04-23 18:07:04 -07:00
Jim Miller
035f82b3a7 am 952b3102: Merge "Fix bug where owner info wasn\'t being updated properly." into jb-mr2-dev
* commit '952b310280954fbe187be8464a6fa50abd19a990':
  Fix bug where owner info wasn't being updated properly.
2013-04-23 18:07:02 -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