Commit Graph

25380 Commits

Author SHA1 Message Date
Jatin Lodhia
dbef28ab73 am 4dc67287: am 836033d6: Merge "Update account list on account picker activity resume" into jb-mr1-dev
* commit '4dc67287774495e192193e888fae6603ed85c4be':
  Update account list on account picker activity resume
2012-09-17 11:29:54 -07:00
Kristian Monsen
7f52de24d6 am 7b1be537: am 4cb846b8: Merge "Hiding some of the deprecated android.webkit API\'s" into jb-mr1-dev
* commit '7b1be537546481c6687efd03c3c709b266502abf':
  Hiding some of the deprecated android.webkit API's
2012-09-17 11:29:20 -07:00
Jeff Sharkey
67bbcd036a am 1e364aca: am 04a34b37: Merge "Actually move to Global settings." into jb-mr1-dev
* commit '1e364acac6f4768672deb73485e93c32929e25fd':
  Actually move to Global settings.
2012-09-17 11:10:16 -07:00
Jeff Sharkey
ddf93f9503 am 892bf6c6: am a043c2c0: Merge "Move to Global.NETSTATS and Global.NTP constants." into jb-mr1-dev
* commit '892bf6c607127ae8405fd589ae70023e457844f5':
  Move to Global.NETSTATS and Global.NTP constants.
2012-09-17 11:10:05 -07:00
Jim Miller
391513a0a8 am e98aef73: am f229e4d3: Add support for settings for lock widgets
* commit 'e98aef734657cc129143a4a25ee78ade48d34037':
  Add support for settings for lock widgets
2012-09-17 11:09:55 -07:00
Michael Jurka
5a8deb16b9 am 5f76482f: am 95a2ff7c: Merge "Adding a couple extras keys for keyguard widget selection" into jb-mr1-dev
* commit '5f76482f46139809dda13e01ec81ca87ca0803d7':
  Adding a couple extras keys for keyguard widget selection
2012-09-17 11:09:34 -07:00
Svetoslav Ganov
55ab5105d4 am 71e3cb14: am e136a728: Merge "Text layout in switch may be null when accessibility events are fired." into jb-mr1-dev
* commit '71e3cb143b6eb6052bb6820bf551a1d74e19ee8d':
  Text layout in switch may be null when accessibility events are fired.
2012-09-17 11:09:16 -07:00
Christopher Tate
ed1c549a7d am 45b2dce9: am 0dbc4108: Merge "Fix Settings writes to a different user" into jb-mr1-dev
* commit '45b2dce9822caefe69f3f680f9e60f076f9e2eaf':
  Fix Settings writes to a different user
2012-09-17 11:09:11 -07:00
Jatin Lodhia
836033d650 Merge "Update account list on account picker activity resume" into jb-mr1-dev 2012-09-14 14:42:00 -07:00
Kristian Monsen
4cb846b8de Merge "Hiding some of the deprecated android.webkit API's" into jb-mr1-dev 2012-09-14 14:01:37 -07:00
Jeff Sharkey
04a34b3755 Merge "Actually move to Global settings." into jb-mr1-dev 2012-09-14 13:49:24 -07:00
Jeff Sharkey
e6e6197d7c Actually move to Global settings.
Also add better ConnectivityService logging.

Bug: 7157464
Change-Id: Ia235a7e62ed809240913c4782920c1410c7d597d
2012-09-14 13:47:51 -07:00
Jeff Sharkey
a043c2c053 Merge "Move to Global.NETSTATS and Global.NTP constants." into jb-mr1-dev 2012-09-14 13:15:16 -07:00
Jeff Sharkey
023c05a341 Move to Global.NETSTATS and Global.NTP constants.
Bug: 7157464
Change-Id: Ief10fd37940f62420f5684940994c9f93802e0be
2012-09-14 13:14:21 -07:00
Jim Miller
f229e4d3eb Add support for settings for lock widgets
Change-Id: Iade094c6f32a7653bdbbd4921d345d68f2443ff4
2012-09-14 12:31:24 -07:00
Michael Jurka
95a2ff7cb4 Merge "Adding a couple extras keys for keyguard widget selection" into jb-mr1-dev 2012-09-14 12:20:08 -07:00
Svetoslav Ganov
e136a72810 Merge "Text layout in switch may be null when accessibility events are fired." into jb-mr1-dev 2012-09-14 11:37:15 -07:00
Svetoslav Ganov
b8c50e8e44 Text layout in switch may be null when accessibility events are fired.
1. The layout containing the text of a Switch is initialized on measure
   and if an accessibility event is fired before that then a NPE happens.

bug:7169419

Change-Id: Iee3c01ca9157d14d228c4ff33c0810507e0e25a7
2012-09-14 11:36:29 -07:00
Christopher Tate
0dbc410800 Merge "Fix Settings writes to a different user" into jb-mr1-dev 2012-09-14 11:35:19 -07:00
Jeff Brown
3fa6a3b6ef am 3113f983: am 2dc6af20: Merge "Fixup a comment." into jb-mr1-dev
* commit '3113f9833b01b7b682f592c7fc1259619df137ec':
  Fixup a comment.
2012-09-14 10:30:51 -07:00
Romain Guy
f814ec337d am 7acf9c14: am 51d71003: Merge "Prevent crash when invalidating all Views Bug #7165793" into jb-mr1-dev
* commit '7acf9c1442693fc20e44e16c5890c8560d9bdbba':
  Prevent crash when invalidating all Views Bug #7165793
2012-09-14 10:30:46 -07:00
Svetoslav Ganov
d9c18b307b am 57ac3090: am 33aef98f: Allowing association between a view and its label for accessibility.
* commit '57ac30901912accc5814cd8122ca419524b8ca5b':
  Allowing association between a view and its label for accessibility.
2012-09-14 10:29:15 -07:00
Alan Viverette
6304ad8e7c am 459bde56: am 0f755134: Revert "Add accessibility scroll actions to TabWidget"
* commit '459bde565e2d741006d48fa59b413449d5b3b954':
  Revert "Add accessibility scroll actions to TabWidget"
2012-09-14 10:29:11 -07:00
Adam Powell
5734ca8095 am e95ba501: am 83835b17: Merge "Break flings with opposing velocities" into jb-mr1-dev
* commit 'e95ba5015bcc562770f63d235a7a60fc8c603818':
  Break flings with opposing velocities
2012-09-14 10:28:37 -07:00
Jeff Brown
82904caecf am 5572f0ab: am cdfc56a3: Merge "Add preliminary API for reporting display capabilities." into jb-mr1-dev
* commit '5572f0ab75f73b3cb90de0fe00fc7f47db3df6a8':
  Add preliminary API for reporting display capabilities.
2012-09-14 10:28:09 -07:00
Svetoslav Ganov
9e23ebbbdd am 90e627e3: am 83cdb021: Merge "Add accessibility scroll actions to TabWidget" into jb-mr1-dev
* commit '90e627e39b8da27413d473fe6ad4634f5d85d2e0':
  Add accessibility scroll actions to TabWidget
2012-09-14 10:27:49 -07:00
Jeff Brown
2dc6af2082 Merge "Fixup a comment." into jb-mr1-dev 2012-09-14 00:01:06 -07:00
Jeff Brown
565f0425ba Fixup a comment.
Change-Id: I7b73f7e0f0aa903e5cd02d1cdb678e65a6d40e0c
2012-09-14 00:00:17 -07:00
Romain Guy
f84208faf8 Prevent crash when invalidating all Views
Bug #7165793

A ViewRootImpl's root view can be null. Check for this condition to
prevent an NPE invalidateWorld(). Other messages perform a similar
check to properly handle the case where mView == null.

Change-Id: I5bcfc41c48a469d38b21be74df2f6c715b0f9352
2012-09-13 22:50:18 -07:00
Christopher Tate
78d2a66ac1 Fix Settings writes to a different user
Oops.  Stacked bugs:  first, the desired user handle was not properly
being passed from the call() entry point to the database operations;
then on top of that, the client-side cache management was still
looking in the local user's cache for the data, so a request to read
a different user's settings would return the local user's instead if
that key was already known to the local user's cache.

Reads and writes of a different user's settings are now uncached,
so they're relatively much slower.  They're rare, however, so this
is not something to worry about unless we encounter a real world
case where it's a significant factor.

This CL also adds a bit of cross-user settings read/write testing
to the existing provider suite.  These new tests caught both the
known wrong-user-write bug and discovered the client-side cache
bug, so yay.

Finally, the existing wholesale mutual-exclusion approach would
deadlock in certain circumstances due to the fact that the
settings database creation code might have to call out to the
Package Manager while populating the bookmark/shortcut table,
and the Package Manager would then call back into the settings
provider in the course of handling that request.  The synchronization
regime has been significantly tightened up now: now the database
code [which is known to deal with concurrency itself] is allowed
to cope with multiple parallel openers of the same db; this
allows the settings provider to avoid calling out to other parts
of the system even implicitly while its internal lock is held.

Change-Id: Ib77d445b4a2ec658cc5c210830f6977c981f87ed
2012-09-13 19:15:54 -07:00
Svetoslav Ganov
33aef98fd2 Allowing association between a view and its label for accessibility.
1. For accessibility purposes it is important to be able to associate
   a view with content with a view that labels it. For example, if
   an accessibility service knows that a TextView is associated with
   an EditText, it can provide much richer feedback.

   This change adds APIs for setting a view to be the label for another
   one and setting the label for a view, i.e. the reverse association.

bug:5016937

Change-Id: I7b837265c5ed9302e3ce352396dc6e88413038b5
2012-09-13 18:41:40 -07:00
Alan Viverette
0f7551341f Revert "Add accessibility scroll actions to TabWidget"
This reverts commit 6053088884

Change-Id: Ia648d7e3e092c396a038740d708de37fe4169d80
2012-09-13 18:36:06 -07:00
Jatin Lodhia
8d16778efd Update account list on account picker activity resume
Activities which help select an account gather the list of accounts only during create and dont update it agian. When a user moves out of the account selection activity by clicking home page, deletes an accout in the background and comes back to the earlier accout selection activity, the deleted account still exists as an option. This cl fixes this by updating the account list on resume.

Bug: 7135608
Change-Id: Idc9a2fa6451b032310c0ad66f6db0e2f0967feeb
2012-09-13 18:23:10 -07:00
Adam Powell
83835b17f2 Merge "Break flings with opposing velocities" into jb-mr1-dev 2012-09-13 16:45:24 -07:00
Adam Powell
cd66359ab9 Break flings with opposing velocities
Change-Id: Iafab692997ad7c2cbbf02d786a716e6edb6475a7
2012-09-13 16:28:29 -07:00
Jeff Brown
cdfc56a387 Merge "Add preliminary API for reporting display capabilities." into jb-mr1-dev 2012-09-13 15:34:51 -07:00
Svetoslav Ganov
83cdb021eb Merge "Add accessibility scroll actions to TabWidget" into jb-mr1-dev 2012-09-13 15:04:03 -07:00
Kenny Root
df1a9dab51 am 871e27ea: am 24271a8c: Merge "Use shared app gid for forward-locked processes" into jb-mr1-dev
* commit '871e27eabc626dd50191df6c3bb3350214612c9b':
  Use shared app gid for forward-locked processes
2012-09-13 14:48:25 -07:00
Kenny Root
24271a8c4c Merge "Use shared app gid for forward-locked processes" into jb-mr1-dev 2012-09-13 14:43:20 -07:00
Craig Mautner
6203352e3d am 6274d4b8: am dcd8c81b: Merge "Propagate systemUiVisibility changes to window manager" into jb-mr1-dev
* commit '6274d4b80a8c1078727f53f9e7a1ff9ff8c76d02':
  Propagate systemUiVisibility changes to window manager
2012-09-13 14:13:35 -07:00
Eino-Ville Talvala
1d5101e3af am e8040697: am f353f948: Merge "NEW_API: Unhide android.hardware.Camera#enableShutterSound" into jb-mr1-dev
* commit 'e80406979f6b00ab7669991479b8aa69026f0775':
  NEW_API: Unhide android.hardware.Camera#enableShutterSound
2012-09-13 14:12:35 -07:00
Jeff Sharkey
870c5d56b3 am 2b28b37b: am cae22d83: Merge "Give DefaultContainerService all external storage." into jb-mr1-dev
* commit '2b28b37b201e621e316eb778cdc5c1669d0e3506':
  Give DefaultContainerService all external storage.
2012-09-13 14:11:17 -07:00
Dianne Hackborn
a60b8c4116 am 6800800c: am 3e451fa1: Merge "New permissions UI, again." into jb-mr1-dev
* commit '6800800c42fc288fc9977d5f8d5ec6d6876033a4':
  New permissions UI, again.
2012-09-13 14:10:34 -07:00
Christopher Tate
fc06d26149 am af40ea4c: am 79cf1a22: Merge "Moved a few telephony settings from Secure to Global" into jb-mr1-dev
* commit 'af40ea4cc2da36475965e0562f36d8e1b81f4344':
  Moved a few telephony settings from Secure to Global
2012-09-13 14:04:30 -07:00
Fabrice Di Meglio
694cb605a6 am cbfbb572: am bbbb154c: Merge "Fix Javadoc spelling" into jb-mr1-dev
* commit 'cbfbb5728fce0c3bde1eecf1b98a2b8534464ffc':
  Fix Javadoc spelling
2012-09-13 14:04:24 -07:00
Chet Haase
8476d944bf am b451f77e: am 0c348b6d: Merge "end() a reverse()\'d animation correctly" into jb-mr1-dev
* commit 'b451f77ee2291687268d611f27c6acf0862d430d':
  end() a reverse()'d animation correctly
2012-09-13 14:04:17 -07:00
Dianne Hackborn
df0ddff7e1 am 8b7c81c7: am 3c78702d: Merge "Maybe fix issue #7146119: exception in FragmentManager" into jb-mr1-dev
* commit '8b7c81c782947cf2614e246daa91a0b8a9fa1f0d':
  Maybe fix issue #7146119: exception in FragmentManager
2012-09-13 14:04:03 -07:00
alanv
6053088884 Add accessibility scroll actions to TabWidget
Bug: 6537369
Change-Id: I8a5bf1d6f85f0ceef316aa4a5938d32a545587db
2012-09-13 14:02:29 -07:00
Craig Mautner
dcd8c81bf4 Merge "Propagate systemUiVisibility changes to window manager" into jb-mr1-dev 2012-09-13 13:55:51 -07:00
Craig Mautner
7eac0f557c Propagate systemUiVisibility changes to window manager
The mAttachInfo.mSystemUiVisibility value was changing in
View.dispatchAttachedToWindow but
mAttachInfo.mRecomputeGlobalAttributes was not being set.
Consequently ViewRootImpl.collectViewAttributes was returning
without updating the subtreeSystemUiVisibility. This is fixed
by calling needGlobalAttributesUpdate in dispatchAttachedToWindow.

WIthin ViewRootImpl.collectViewAttributes the assignment to
subtreeSystemUiVisibility was only being made if
mAttachInfo.mSystemUiVisibility was changed within
collectViewAttributes. But mAttachInfo.mSystemUiVisibility
was changing outside of collectViewAttributes in
dispatchAttachedToWindow. Consequently subtreeSystemUiVisibility
was never updated. By looking for a mismatch between
subtreeSystemUiVisibility and mSystemUiVisibility
subtreeSystemUiVisibility gets assigned whenever it is out of
sync.

Fixes bug 7091817.

Change-Id: I1e97a7dec14dc9594876175ae26370fb9030a8a6
2012-09-13 13:14:14 -07:00