100006 Commits

Author SHA1 Message Date
Romain Guy
22f0d8c949 Merge "Always honor fixed size children" 2013-02-12 01:50:31 +00:00
Svetoslav
35ae8748fe Merge "Optimize loading of resource name when reported to accessibility." 2013-02-12 01:48:48 +00:00
Romain Guy
f16c7a9754 Always honor fixed size children
Change-Id: If49a9486c554223132663cd9f0dc388d102ebbff
2013-02-11 17:45:04 -08:00
Svetoslav
a33243eb64 Optimize loading of resource name when reported to accessibility.
Loading of the resource id name was unnecessarily complex and
was generating spam in the log as a result.

bug:8153518

Change-Id: Ib2c1118fd36b86ba8ce803ba3190fa01ab06e8c3
2013-02-11 17:35:18 -08:00
Dirk Dougherty
9a79eccab5 am ef1d1793: am c0614c44: am b6efefb4: am 337d3e32: am 7d849491: Doc change: fix typos.
# Via Android Git Automerger (4) and Dirk Dougherty (1)
* commit 'ef1d17938e9ae3cd02c4b72b331d3892f369138a':
  Doc change: fix typos.
2013-02-11 17:34:23 -08:00
Dianne Hackborn
1f7d30770a Fix build.
Change-Id: Iaace063eaa65af842effa3e0b481a0629db58e42
2013-02-11 17:03:32 -08:00
Scott Main
4cd50a1212 am b8656b3c: am 42ac0372: am 72091355: am bfec2a01: docs: nudge dashboard chart to the right to avoid overlap
# Via Android Git Automerger (3) and Scott Main (1)
* commit 'b8656b3c7af99c8951459661fa5352adde5d2645':
  docs: nudge dashboard chart to the right to avoid overlap
2013-02-11 16:59:42 -08:00
Scott Main
b8656b3c7a am 42ac0372: am 72091355: am bfec2a01: docs: nudge dashboard chart to the right to avoid overlap
# Via Android Git Automerger (2) and Scott Main (1)
* commit '42ac0372159e3204f20de0ad94e51932aab4a030':
  docs: nudge dashboard chart to the right to avoid overlap
2013-02-11 16:57:14 -08:00
Scott Main
42ac037215 am 72091355: am bfec2a01: docs: nudge dashboard chart to the right to avoid overlap
# Via Android Git Automerger (1) and Scott Main (1)
* commit '7209135504313c27da4f277235e00db6851b9577':
  docs: nudge dashboard chart to the right to avoid overlap
2013-02-11 16:55:08 -08:00
Scott Main
7209135504 am bfec2a01: docs: nudge dashboard chart to the right to avoid overlap
# Via Scott Main
* commit 'bfec2a01896959ba2bc9a995238eb31644ea8dc6':
  docs: nudge dashboard chart to the right to avoid overlap
2013-02-11 16:52:51 -08:00
Dianne Hackborn
681533e000 Merge "Fix issue #8176917: Stabillity : Native Crash :" 2013-02-12 00:44:26 +00:00
Dianne Hackborn
1d3079cb8d Merge "App ops: cleanup, handle root and shell, perms." 2013-02-12 00:41:07 +00:00
Dianne Hackborn
e5b50a65ad Fix issue #8176917: Stabillity : Native Crash :
/system/lib/libandroidfw.so

Change-Id: I235470fac7ad0f5a5d3432006f4dfa69620e30d8
2013-02-11 16:18:42 -08:00
Wink Saville
f643069ad5 Fix record logging.
Change-Id: I246159dec9522e58ee88593000ac0f86aff4bb25
2013-02-11 16:16:02 -08:00
Robert Greenwalt
72baa8fbb2 Merge "Reintroduce the net.dns system properties <TEMP>" 2013-02-11 23:57:47 +00:00
Amith Yamasani
20949a76fe Fix UserManager test
Change-Id: I927ffdda3dd5f69dc136e65c8069f2e480badfe9
2013-02-11 15:47:30 -08:00
Irfan Sheriff
26d0076f0d Track keys per config and allow cert push from apps
Allow configuring keys for a configuration and update/delete
from wificonfigstore.

Change-Id: I79b43bf7ca58f7efc95f7dcc125fc84d7aa8c795
2013-02-11 15:46:02 -08:00
Dianne Hackborn
514074fae8 App ops: cleanup, handle root and shell, perms.
Rework how the shell user is defined so that it is
associated with an actual apk, instead of being a free
roaming uid with special permissions assigned to it.
This allows us to correctly account for its operations
in app ops.

Implement a special case for the root user in app ops --
it is always allowed, always with the package name "root".

Add various code to take care of cleaning up package state
from app ops -- when packages are uninstalled, and during
boot if any packages currently being stored no longer exist.

Also fix a bug in the activity manager to correctly grant
permissions in all cases when onNewIntent() is being called.

Change-Id: Iae9f6d793ee48b93518c984ad957e46ae4582581
2013-02-11 15:33:48 -08:00
Robert Greenwalt
0dd19a8394 Reintroduce the net.dns system properties <TEMP>
Removing these properties broke video playback as they used
a custom dns resolver.  We'll work together to resolve our
resolver issues in the future, but this was the easy fix to
get things working again.

bug:8173236
Change-Id: I687dae59eda4fc449efc34eed11c3dc88a110ad0
2013-02-11 15:25:10 -08:00
Amith Yamasani
636c61ed41 Merge "Starting point for User Restrictions API" 2013-02-11 23:17:07 +00:00
Winson Chung
e63fb8f1f9 Merge "Manually recycling bitmap memory when rotating ss, resetting canvas bitmap, adding logging. (Bug 7974275)" 2013-02-11 23:01:06 +00:00
Winson Chung
5cc9a31534 Manually recycling bitmap memory when rotating ss, resetting canvas bitmap, adding logging. (Bug 7974275)
Change-Id: I1b0590a297610ee5fee4e68222144780ab6e55ec
2013-02-11 15:00:00 -08:00
Fabrice Di Meglio
a66956aa7a Merge "Fix bug #7381967 Add RTL APIs to ViewParent" 2013-02-11 22:42:56 +00:00
Fabrice Di Meglio
9dd4c5c686 Fix bug #7381967 Add RTL APIs to ViewParent
- add RTL apis to ViewParent
- remove awful and performance bottleneck casts in View during LayoutDirection,
TextDirection and TextAlignment resolutions.

Change-Id: I92a56b16382e13c28c1dad35f6f205620eb01bfe
2013-02-11 14:41:04 -08:00
Jeff Brown
f98e18e68d am d9f98c81: Fix build break due to merge.
# Via Jean-Baptiste Queru
* commit 'd9f98c81068594c33c81b5b817391c6b4b895492':
  Fix build break due to merge.
2013-02-11 14:39:54 -08:00
Scott Main
bfec2a0189 docs: nudge dashboard chart to the right to avoid overlap
Change-Id: I852004b6dbd7ca8343a20f05da1166cff2d2898a
2013-02-11 14:24:03 -08:00
Robert Ly
a578ade219 am 1c4311cc: am 4af36f4e: am 96b1b403: am 4c01047e: makefile changes for s.a.c
# Via Android Git Automerger (3) and Robert Ly (1)
* commit '1c4311cc9c0e32d30ff17083f24fb7145336fcae':
  makefile changes for s.a.c
2013-02-11 14:17:33 -08:00
Robert Ly
1c4311cc9c am 4af36f4e: am 96b1b403: am 4c01047e: makefile changes for s.a.c
# Via Android Git Automerger (2) and Robert Ly (1)
* commit '4af36f4ebea986a690df12659c4225c3a23484be':
  makefile changes for s.a.c
2013-02-11 14:15:21 -08:00
Craig Mautner
e2237ce8ad Merge "Make ActivityStack.mHistory private." 2013-02-11 22:13:48 +00:00
Robert Ly
4af36f4ebe am 96b1b403: am 4c01047e: makefile changes for s.a.c
# Via Android Git Automerger (1) and Robert Ly (1)
* commit '96b1b403b6ecf0daa2d7d0a8475e0d087790e457':
  makefile changes for s.a.c
2013-02-11 14:13:12 -08:00
Robert Ly
96b1b403b6 am 4c01047e: makefile changes for s.a.c
# Via Robert Ly
* commit '4c01047ec7b06aabeeae273c7871caa6c3029b84':
  makefile changes for s.a.c
2013-02-11 14:10:00 -08:00
Robert Ly
4c01047ec7 makefile changes for s.a.c
Change-Id: I501cc140994b2822c3df1f00639076f17765f256
2013-02-11 13:38:31 -08:00
Svetoslav
981e60edc3 Merge "Refactoring of the Accessibility." 2013-02-11 21:03:37 +00:00
Svetoslav
57bf88508e Refactoring of the Accessibility.
1. The accessibility manager service updates its internal state
   based on which settings are enabled, what accessibility services
   are installed and what features are requested by the enabled
   services. It was trying to do the minimal amount of work to
   react to contextual changes like these which resulted in missed
   cases and complex code. Now there is a single method that reads
   the contextual information and single method that reacts to
   contextual changes. This makes the code much easier to maintain.

2. The accessibility manager service was not updating its internal
   state when requested features from accessibility services change.
   It was relying on changing system settings and reacting to the
   settings change. This is problematic since the internal state is
   not updated atomically which leads to race condition bugs. For
   example, if touch exploration is enabled and a service requests
   it is disabled, the internal state will not be updated but a
   request for a settings change will be made. Now while the settings
   change is propagating another request form the same service
   comes to enable touch exploration but the system incorrectly
   thinks touch exploration is enabled. At the end the feature is
   disabled even though it was requested.

3. Fixed a potential NPE if the accessibility input filter's event
   handler was nullified between processing two event batches.

4. Fixed a bug where, if magnification is enabled, it does not work
   on the settings screen since the magnified bounds are not pushed
   from the window manager to the accessibility manager.

Change-Id: Idf629a06480e12f0d88372762df6c024fe0d7856
2013-02-11 13:02:42 -08:00
Jeff Brown
d9f98c8106 Fix build break due to merge.
Change-Id: I08c39690ee9de825ff51afc7d102ee622af6ba13
2013-02-11 11:34:43 -08:00
Dirk Dougherty
ef1d17938e am c0614c44: am b6efefb4: am 337d3e32: am 7d849491: Doc change: fix typos.
# Via Android Git Automerger (3) and Dirk Dougherty (1)
* commit 'c0614c4471363e983610e885bf63f101be4ae21c':
  Doc change: fix typos.
2013-02-11 11:32:06 -08:00
Dirk Dougherty
c0614c4471 am b6efefb4: am 337d3e32: am 7d849491: Doc change: fix typos.
# Via Android Git Automerger (2) and Dirk Dougherty (1)
* commit 'b6efefb4bdb05afa4a0c45e78df981706040d99e':
  Doc change: fix typos.
2013-02-11 11:29:16 -08:00
Jean-Michel Trivi
d21267a268 Merge "Add support for querying whether the music stream is active remotely" 2013-02-11 19:28:50 +00:00
Dirk Dougherty
b6efefb4bd am 337d3e32: am 7d849491: Doc change: fix typos.
# Via Android Git Automerger (1) and Dirk Dougherty (1)
* commit '337d3e3240e52ca5321029fdd23d2f2a3e1201d8':
  Doc change: fix typos.
2013-02-11 11:26:19 -08:00
Dirk Dougherty
337d3e3240 am 7d849491: Doc change: fix typos.
# Via Dirk Dougherty
* commit '7d8494913292dcdbe25d046cbef6e349d904b41c':
  Doc change: fix typos.
2013-02-11 11:23:28 -08:00
Dirk Dougherty
7d84949132 Doc change: fix typos.
Change-Id: I58c8841c9bf23bc75e1b25d63af917ff56087fdc
2013-02-11 11:18:59 -08:00
Fabrice Di Meglio
de1fadfb7f Merge "Fix bug #8115437 Need to remove ArabicShaping from Framework" 2013-02-11 18:51:03 +00:00
Jean-Michel Trivi
679d5046f2 Add support for querying whether the music stream is active remotely
Bug 7485803

Change-Id: I554b44bd35b017fa4030a0d89779066c96594f2b
2013-02-11 10:15:47 -08:00
Craig Mautner
005f6f6077 Merge "Reset SensorEventListener when listener reenabled." 2013-02-11 17:47:14 +00:00
Craig Mautner
eee29c445c Reset SensorEventListener when listener reenabled.
- Following disable and reenable of the WindowOrientationListener
the state was the same as before. State should be reset to default.

- Provide a Handler to the sensor task to deliver events on the
same Thread that WindowManagerPolicy operates on.

- Expand lock protection to all of WindowOrientationListener.

- Move WindowOrientationListener to policy package.

- Make SensorEventListenerImpl non-static.

Fixes bug 7964531.

Change-Id: I17cecf3d0b6d125cb3e4d7350c3adb3f62b684bd
2013-02-11 09:46:08 -08:00
Baligh Uddin
ea2f802928 Import translations. DO NOT MERGE
Change-Id: I5d6b97a7078b930416335dcf016bc820e1f09845
Auto-generated-cl: translation import
2013-02-11 08:12:48 -08:00
Stephen Hines
5d0177081c Update RSTest_Compat for stride changes.
Change-Id: I88acbf65b522a15c6386f4ab002971384a028ac7
2013-02-08 22:32:23 -08:00
Stephen Hines
5f528becb0 Check Element in all API levels for copy2DRangeFrom().
Change-Id: I561317671a16888fc9f35908ab1ae1489a14fc6c
2013-02-08 21:03:51 -08:00
Stephen Hines
a9a7b37405 Fix copyFrom() to use proper dimensions for copying.
This change actually fixes several bugs related to stride:

* copyFrom() needs to call the 2D or 1D version, depending on the dimensions
  of the corresponding Allocation.
* Add an internal-only copy2DRangeFromUnchecked(), since we don't really
  want to expose it as another public API (only via copyFromUnchecked()).
* Call the proper 1D/2D version in copyFromUnchecked() based on the
  Allocation dimensions.
* Add Element checks to the "checked" copy2DRangeFrom() routines.

Change-Id: I690706d36884ee749bf90937c715855f6c07368c
2013-02-08 20:56:00 -08:00
Adam Powell
9d1d88acaa Merge "Fix setting action bar backgrounds after layout" 2013-02-09 02:38:01 +00:00