103301 Commits

Author SHA1 Message Date
Nick Kralevich
68a032936e Don't set ADDR_COMPAT_LAYOUT on the emulator
Don't work around third party app bugs on the emulator.

(cherry picked from commit fc17dc2548234461eb43ff83539ede4c9893a825)

Change-Id: I35246c447de65ad4649b9aa3eb67194234fd6378
2013-04-25 14:09:21 -07:00
Daniel Sandler
027f84c310 Merge "API: getPkg() -> getPackageName()" into jb-mr2-dev 2013-04-25 21:03:55 +00:00
Daniel Sandler
4f91efdf42 API: getPkg() -> getPackageName()
Bug: 8656860
Change-Id: If3062b9fc00270e5f0ecfe67e593b9a28c6bccdd
2013-04-25 16:39:02 -04:00
Daniel Sandler
a7b6cbf1a3 Merge "API cleanup: NotificationListener" into jb-mr2-dev 2013-04-25 20:16:49 +00:00
Daniel Sandler
e6f7f2e3a0 API cleanup: NotificationListener
- Wrap all public member variables in getters and make
    slots private
  - Rename clear* methods to cancel* to be more consistent
    with existing public Notification API

Bug: 8656860
Change-Id: I84f7e71fbb627f859352a93089c6a531b44dac95
2013-04-25 15:51:08 -04:00
Daniel Sandler
5e97c317e0 Merge "New NotificationListener API: getActiveNotifications()" into jb-mr2-dev 2013-04-25 19:41:10 +00:00
Amith Yamasani
df18118529 Merge "Hide TYPE_CHOICE_LEVEL since there's no visual representation for it yet." into jb-mr2-dev 2013-04-25 18:06:02 +00:00
Ben Gruver
09bb9f66a0 Merge "Ensure the intent firewall dir exists before starting the FileObserver" into jb-mr2-dev 2013-04-25 17:40:41 +00:00
Amith Yamasani
d5e946a52c Hide TYPE_CHOICE_LEVEL since there's no visual representation for it yet.
Bug: 8704663
Change-Id: Ia9931e3844305c8f84c127506ffedf3a17eeb80d
2013-04-24 21:37:36 -07:00
Michael Wright
7c98c19628 Merge "Mirror LTRIGGER / RTRIGGER as BRAKE / GAS for compatibility" into jb-mr2-dev 2013-04-25 03:22:51 +00:00
Daniel Sandler
25cf8cee6f New NotificationListener API: getActiveNotifications()
This allows a listener service to catch up on the current
state of the notification panel at any time, including at
startup.

Bug: 8656860
Change-Id: I1a3d665d84576e17870929a63dda334afc696010
2013-04-24 23:19:08 -04:00
Michael Wright
2b08c611c8 Mirror LTRIGGER / RTRIGGER as BRAKE / GAS for compatibility
Bug: 8590913
Change-Id: If2918a67ecdd946ed850acc002ca021e150ec39d
2013-04-24 20:08:40 -07:00
Dirk Dougherty
7395838d8e am 022131d0: am c9f01f0a: am 4a22f9a7: am 2a31f996: am bdf19c62: am 29743661: Doc change: fix typo in tablet guidelines.
* commit '022131d06cc745fddd6877cfffd6d6eb73465e72':
  Doc change: fix typo in tablet guidelines.
2013-04-24 19:50:46 -07:00
Dirk Dougherty
022131d06c am c9f01f0a: am 4a22f9a7: am 2a31f996: am bdf19c62: am 29743661: Doc change: fix typo in tablet guidelines.
* commit 'c9f01f0a80809d6911fce0dbb7692b787f36eb67':
  Doc change: fix typo in tablet guidelines.
2013-04-24 19:48:49 -07:00
Dirk Dougherty
c9f01f0a80 am 4a22f9a7: am 2a31f996: am bdf19c62: am 29743661: Doc change: fix typo in tablet guidelines.
* commit '4a22f9a7bb782d7b9aeb432b6fefda20057b8e11':
  Doc change: fix typo in tablet guidelines.
2013-04-24 19:46:16 -07:00
Dirk Dougherty
4a22f9a7bb am 2a31f996: am bdf19c62: am 29743661: Doc change: fix typo in tablet guidelines.
* commit '2a31f99680ec8bbf9acde86da5e7a595a9e4c089':
  Doc change: fix typo in tablet guidelines.
2013-04-24 19:44:20 -07:00
Dirk Dougherty
2a31f99680 am bdf19c62: am 29743661: Doc change: fix typo in tablet guidelines.
* commit 'bdf19c62d841163f5c3434f3533e003f58816e0e':
  Doc change: fix typo in tablet guidelines.
2013-04-24 19:42:49 -07:00
Dirk Dougherty
bdf19c62d8 am 29743661: Doc change: fix typo in tablet guidelines.
* commit '29743661734d8e2b7b3c33e635557c3f2ef9d8a0':
  Doc change: fix typo in tablet guidelines.
2013-04-24 19:40:02 -07:00
Dirk Dougherty
2974366173 Doc change: fix typo in tablet guidelines.
Change-Id: I8e947fd20783ed12d46807733c4a87ba61211e41
2013-04-24 19:33:46 -07:00
Svetoslav
e00b297c0b Merge "The touch exploration capability is dynamically granted pre-JellyBeanMR2." into jb-mr2-dev 2013-04-25 01:44:43 +00:00
Matthew Xie
a6631f57fa Merge "Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN" into jb-mr2-dev 2013-04-25 01:42:14 +00:00
Matthew Xie
d575233c53 Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN
bug 8667898

Change-Id: Iaff19fe72b16a96a6cf2f5b9140e369098567d2b
2013-04-24 17:51:37 -07:00
kmccormick
78cfd3cc43 am 036cb2e4: (-s ours) am 3e06ca57: am 7b5d34f0: am 2a4ea0fc: am fd61958f: Doc Update: bug fix in SensorEvent ref
* commit '036cb2e4bf4bca4d32aa021fb5bb748684317043':
  Doc Update: bug fix in SensorEvent ref
2013-04-24 16:19:14 -07:00
kmccormick
036cb2e4bf am 3e06ca57: am 7b5d34f0: am 2a4ea0fc: am fd61958f: Doc Update: bug fix in SensorEvent ref
* commit '3e06ca574270b146b833a4f00eae82578e9cc115':
  Doc Update: bug fix in SensorEvent ref
2013-04-24 16:02:26 -07:00
kmccormick
3e06ca5742 am 7b5d34f0: am 2a4ea0fc: am fd61958f: Doc Update: bug fix in SensorEvent ref
* commit '7b5d34f0a7b2d3e059a9f410a60367ef379fc502':
  Doc Update: bug fix in SensorEvent ref
2013-04-24 16:00:21 -07:00
kmccormick
7b5d34f0a7 am 2a4ea0fc: am fd61958f: Doc Update: bug fix in SensorEvent ref
* commit '2a4ea0fc0d93bb94b1ff7e731af519cc41ef77e8':
  Doc Update: bug fix in SensorEvent ref
2013-04-24 15:59:05 -07:00
kmccormick
2a4ea0fc0d am fd61958f: Doc Update: bug fix in SensorEvent ref
* commit 'fd61958f75212a70bffebd79ad0876b7ad785f55':
  Doc Update: bug fix in SensorEvent ref
2013-04-24 15:57:25 -07:00
kmccormick
fd61958f75 Doc Update: bug fix in SensorEvent ref
"Bug: 6349093"

Change-Id: Ibd4911b6c3f17fd2cd18042665efa428231c61ab
2013-04-24 15:52:44 -07:00
Svetoslav
11adf6dc24 The touch exploration capability is dynamically granted pre-JellyBeanMR2.
Since the enable touch exploration capability is dynamically granted by
the user for apps targeting pre-JellybeanMR2 API level, we have to properly
update the accessibility service info for that service and also avoid
caching copies of the service info.

bug:8633951

Change-Id: I83dd1c852706ec55d40cda7209ad842889fb970a
2013-04-24 14:59:04 -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
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
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