103718 Commits

Author SHA1 Message Date
Chris Craik
eaddac6d26 Force clipping on layers that fail to be allocated
bug:8666842

In SW rendering, a previous optimization avoided clipping to the
bounds of views that are layers. This breaks if the view fails to
create a layer (such as if it's too big), so instead look at whether
the view has a layer.

Change-Id: I653882035512012aefd91f06ff0bdc73aa5e4430
2013-04-25 15:32:40 -07:00
Nick Kralevich
e00a3b8063 Merge "Don't set ADDR_COMPAT_LAYOUT on the emulator" into jb-mr2-dev 2013-04-25 22:08:20 +00:00
Wink Saville
ca3597d436 Enhance TelephonyManger javadocs.
Bug: 856818
Change-Id: Idd30361f57b0f6627132a25e5b9520f30fce548c
2013-04-25 15:02:34 -07:00
Svetoslav
c38bc5ab6b Merge "Lockscreen widgets not always announced." into jb-mr2-dev 2013-04-25 21:49:00 +00:00
Jeff Sharkey
99ba72039d Merge "Avoid leaking Surface native object." into jb-mr2-dev 2013-04-25 21:43:28 +00:00
Michael Wright
b044c40c15 Merge "Fixed javadoc in input related classes" into jb-mr2-dev 2013-04-25 21:43:03 +00:00
repo sync
12566be46c Set persistent property for SELinux enforcement on update.
Bug: 8702843
Change-Id: I41c0084a71160061b297d57d995261e238ea555c
2013-04-25 14:41:33 -07:00
Igor Murashkin
eaebe4c106 Merge "Add new android.permission.CAMERA_DISABLE_TRANSMIT_LED" into jb-mr2-dev 2013-04-25 21:32:26 +00:00
Daniel Sandler
cc165d165e Merge "Fix build." into jb-mr2-dev 2013-04-25 21:16:56 +00:00
Daniel Sandler
5b94114fa4 Fix build.
Change-Id: I2e41f312f51c3fd72ed63bc544b4fa815c2c3ba4
2013-04-25 17:13:53 -04:00
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
Amith Yamasani
2555dafce8 Hide isLinkedUser()
It's not the best API to use to determine anything. Defer to other
APIs such as UserManager.getUserRestrictions()

Bug: 8720520
Change-Id: Ie49589056ab52b4fdbcc736f8cdefadb8ba5d9d8
2013-04-25 13:39:27 -07:00
Daniel Sandler
4f91efdf42 API: getPkg() -> getPackageName()
Bug: 8656860
Change-Id: If3062b9fc00270e5f0ecfe67e593b9a28c6bccdd
2013-04-25 16:39:02 -04:00
Svetoslav
4293e233dc Lockscreen widgets not always announced.
1. The accessibility events for switching a widget were dispatched
   before we update the important for accessibility property. We
   were lucky to get events in some cases since the pages in the
   pager had alpha grater than zero, i.e. the page was already
   set as important for accessibility, due to a running animation.

2. Accessibility focus clear event not fired if we give focus to
   another view. The old focus was correctly cleared just the
   events were not dispatched.

bug:8599670

Change-Id: Ia2647d77eaa4e10fbaf3a047dc9ea5b728f9c3c3
2013-04-25 13:25:11 -07:00
Daniel Sandler
a7b6cbf1a3 Merge "API cleanup: NotificationListener" into jb-mr2-dev 2013-04-25 20:16:49 +00:00
Jeff Sharkey
21ef9647e8 Avoid leaking Surface native object.
Bug: 8721827
Change-Id: I8d6192b8eb47911fcf4964de399c7dba94ed9286
2013-04-25 12:56:42 -07: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
The Android Automerger
fbb37d1279 merge in jb-mr2-release history after reset to jb-mr2-dev 2013-04-25 05:55:26 -07: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
072137c80a Fixed javadoc in input related classes
Change-Id: Ie415f812a0f473488d74119dab18296a488db6b9
2013-04-24 20:41:20 -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
Kristian Monsen
62cadf153f Workaround for bug 8700358: Reproducible WebView crash in Feedly starting in JWR22B
Catching all excptions from reading from the AssetManager

Change-Id: I53f99484deda3778307eab2ae86ca9fc0ad2fead
2013-04-24 16:41:24 -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
Igor Murashkin
f640bb9bbb Add new android.permission.CAMERA_DISABLE_TRANSMIT_LED
This system-only permission allows a service to disable the transmit LED
when a camera is in use.

Bug: 8554573
Change-Id: I64f7e3fcdc8ded8be3904650bd0c91d3b8f10dd4
2013-04-24 15:08:12 -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