75144 Commits

Author SHA1 Message Date
Tsu Chiang Chuang
fea39c3755 App Compatibility test. Launches a given app and detects crashes or ANRs.
Change-Id: I504868ca2b7785849960be287b8d92ca3055b9ff
2012-05-01 17:30:09 -07:00
Svetoslav Ganov
122b2c32de Fixing a couple of issues I have introduces in the last patch.
1. Fix waiting for the wrong instance.

2. Fix cloning of accessibility node info.

Change-Id: Icabf0d4bc947602a32fddc6642cc787f2bc766e4
2012-04-20 17:04:23 -07:00
Kenny Root
8b0af62799 Merge "Move forward lock utilities to PackageHelper" 2012-04-20 16:10:45 -07:00
Jeff Sharkey
8d3696eca2 Merge "Connect metered DHCP hint for Wi-Fi networks." 2012-04-20 16:03:26 -07:00
Jeff Sharkey
9f6e4ba50e Connect metered DHCP hint for Wi-Fi networks.
When DHCP lease includes vendor info indicating that remote Wi-Fi
network is metered, advise NetworkPolicy.  Users can still manually
change the metered flag in Settings.

Also remove any policies belonging to removed Wi-Fi networks, and
teach isNetworkMetered() about ethernet networks.

Bug: 6344821, 6369307, 6365872
Change-Id: I108606c6fddf2d02828fcab011f3a1501415f1bc
2012-04-20 15:57:19 -07:00
Gilles Debunne
bb56676b07 Merge "Visible spans changes only invalidate the affected text sub display lists" 2012-04-20 15:51:44 -07:00
Gilles Debunne
ebc86af1dc Visible spans changes only invalidate the affected text sub display lists
When a span with a visible influence on the text is modified, we only
need to invalidate the text sub display lists that overlap this span.

This is especially useful when typing and the composing span (an underline
span) gets updated after each key stroke.

Change-Id: Ib2af3219c41eb79ec5d0a2eee317aca8c4efdef9
2012-04-20 15:45:39 -07:00
Svetoslav Ganov
72de206248 Merge "Adding support for traversing the content of a node info at granularity." 2012-04-20 15:26:24 -07:00
Svetoslav Ganov
aa780c1109 Adding support for traversing the content of a node info at granularity.
1. A view that creates an accessibility node info may add to the info
   a list of granularity labels. These are granularities by which the
   source view can iterate over its content. For example a text view
   may support character, word link while a web view may additionally
   support buttons, tables, etc. There are actions on accessibility
   node info to go to the next/previous at a given granularity which
   is passesed as an argument.

2. Added Bundle argument to the APIs for performing accessibility
   actions. This is generic and extensible.

bug:5932640

Change-Id: I328cbbb4cddfdee082ab2a8b7ff1bd7477d8d6f9
2012-04-20 15:12:13 -07:00
Craig Mautner
4d7349bb6d Remove flicker from transitions.
Change state progressions to handle animation/layout separation.
Also added debug as needed.

Fixes bug 6360835.
Fixes bug 6206366.
Fixes bug 6286371.
Fixes bug 6240494.

Change-Id: I1079756a7e3e35ebb9f711f02d005bde9bf65ef0
2012-04-20 15:09:51 -07:00
Svetoslav Ganov
8e2f41426c Fixes in the accessibility gesture dispatching.
1. The gesture dispatcher thread was not waiting in a loop
   that check for complete initialization. Therefore is was
   susceptible to missed signals and unexpected interrupts.

2. In the gesture processing message handle the interaction id
   was reading the wrong message argument.

bug:5932640

Change-Id: Ic65ecc01a7fe7d43929c6c07d0759ae9001cf515
2012-04-20 14:57:18 -07:00
Kenny Root
2782a478d0 Move forward lock utilities to PackageHelper
The forward lock utilities will need to be called from
DefaultContainerService for ASEC packages in the future. Move them to
PackageHelper to aid in the transition.

Also move the public resource copying to the FileInstallArgs step which
makes a little bit more sense.

Change-Id: I3a62ac817719db3ee1c89c106a551dcbe9c44744
2012-04-20 14:40:03 -07:00
Scott Main
5778626d9b am 9b930d21: am 40a33f3b: Merge "docs: add meta description to first training docs" into ics-mr1
* commit '9b930d2134a1cebcafbcf2d05d429120e831a920':
  docs: add meta description to first training docs
2012-04-20 14:23:21 -07:00
Robert Greenwalt
cd74a180ce Merge "Set AuthType to NONE if username of APN is not set" 2012-04-20 14:20:42 -07:00
Scott Main
9b930d2134 am 40a33f3b: Merge "docs: add meta description to first training docs" into ics-mr1
* commit '40a33f3b0a3e29ddc98d31fbd9bf02a32aea5193':
  docs: add meta description to first training docs
2012-04-20 14:20:31 -07:00
Mathias Agopian
509e23e8a4 Merge "fix a typo causing sensor event to be sorted in reverse chronological order" 2012-04-20 14:20:22 -07:00
Scott Main
40a33f3b0a Merge "docs: add meta description to first training docs" into ics-mr1 2012-04-20 14:18:29 -07:00
Scott Main
34bf13d593 docs: add meta description to first training docs
Change-Id: Iaf04ffbd10c8c5e1cf3896876fecb59f038127a7
2012-04-20 14:16:05 -07:00
Scott Main
50ae5634cc am 7d48a823: am f90f4ed1: docs: fix more broken links
* commit '7d48a823b4dcc82ca74f8858e082d41a3b8cd5d9':
  docs: fix more broken links
2012-04-20 14:13:07 -07:00
Scott Main
7d48a823b4 am f90f4ed1: docs: fix more broken links
* commit 'f90f4ed19c1bd7e0492c1aa1494a1d8ed5185275':
  docs: fix more broken links
2012-04-20 14:09:50 -07:00
Dianne Hackborn
e1a996e99d Merge "Move handling of package changes to a background thread." 2012-04-20 13:44:43 -07:00
John Reck
ebd477518f Merge "Support fallback action if unhandled key event" 2012-04-20 13:43:00 -07:00
Jeff Brown
069fa7b306 Merge "Lost the race." 2012-04-20 13:32:35 -07:00
Eric Fischer
0a732ad527 Merge "Import translations. DO NOT MERGE" 2012-04-20 13:28:33 -07:00
Jeff Brown
9e6d4b035d Lost the race.
Bug: 6373370
Change-Id: If42a3de66b1d407b06064e91ff578dc9ca5ceed8
2012-04-20 13:08:27 -07:00
Martijn Coenen
e81e3a4f85 Merge "Added NFC disable during phone shutdown" 2012-04-20 13:05:04 -07:00
Eric Fischer
46c629d5fa Import translations. DO NOT MERGE
Change-Id: Id52413abf313dabc666037b09e191b374f11bf22
2012-04-20 12:56:08 -07:00
Eric Fischer
48b6b711a7 Merge "Import translations. DO NOT MERGE" 2012-04-20 12:49:15 -07:00
Eric Fischer
8883d39feb Import translations. DO NOT MERGE
Change-Id: I89581a8cbda2a5f62fc42d383acf34756640d3b9
2012-04-20 12:45:16 -07:00
Andreas Huber
987e982b6d Merge "Add the ability to query the amount of cached data to MediaExtractor." 2012-04-20 12:15:31 -07:00
Sunil Jogi
3bba8d0457 Added NFC disable during phone shutdown
NFC was not disabled/deinitialized when phone shutdown. This patch
add NFC disable on phone shutdown which can complete any pending
NFC transaction before phone shutdown.

Change-Id: Id1e604be7c34adec8623a1e526d8ff99e18bf74b
2012-04-20 12:11:57 -07:00
Ye Jingjing
53eb13ce0a Set AuthType to NONE if username of APN is not set
When APN is edited, if authType and username are both not
set, authType should be set to NONE before setup of
data call.

The code today checks mApn.user for NULL, but if
user has edited APN the mApn.user field will be set
to an empty string.

Change the check of mApn.user to also take care of
this case.

Change-Id: I0e49247d46e1ba93da6dd951bbb75acc63fac73f
2012-04-20 12:04:34 -07:00
Andreas Huber
74a78b0f6e Add the ability to query the amount of cached data to MediaExtractor.
Change-Id: I47ae60bc6fb8d88979c1f0d650b6ac528e811371
related-to-bug: 6364341
2012-04-20 11:57:26 -07:00
Scott Main
f90f4ed19c docs: fix more broken links
Change-Id: Ia5317f5ead8ac9810c893576596bd3a80f6ecbdb
2012-04-20 11:53:32 -07:00
Scott Main
362bcb06ad am eff0c081: am 71427bae: docs: fix broken link
* commit 'eff0c081eee03a7f512735e16f14d8d6b0553ff6':
  docs: fix broken link
2012-04-20 11:40:39 -07:00
Jeff Brown
2b3462eb6f Merge "When ANR happens, only remove ANR'd window." 2012-04-20 11:38:17 -07:00
Scott Main
eff0c081ee am 71427bae: docs: fix broken link
* commit '71427bae84f51b5c269b2520c36d2811491e67fb':
  docs: fix broken link
2012-04-20 11:36:45 -07:00
Jeff Brown
f44e39493c When ANR happens, only remove ANR'd window.
The system bar uses input event injection to inject BACK keys
into the application.  If the receiving application ANRs, we
used to clear the touch state unconditionally.  Doing so would
prevent the system bar from receiving the ACTION_UP event so
the back button would continue to appear pressed until pressed
again.

Now we are more careful to only remove the specific ANR'd
window from the touch state.  Other windows should continue
to receive touch events as usual.

Change-Id: If86bfc323e2c7aed82ca1334bc67da649953168f
2012-04-20 11:33:27 -07:00
Scott Main
71427bae84 docs: fix broken link
Change-Id: I24c44689713f7b27acde1d0b023598a5f7e6bb3b
2012-04-20 11:25:45 -07:00
George Mount
70c8723e63 Merge "Add fade-in and fade-out for selection handles." 2012-04-20 11:03:47 -07:00
Daniel Sandler
7358233b0a Merge "Copy new resources to other densities." 2012-04-20 11:02:41 -07:00
Gilles Debunne
0b568ff179 Merge "TextView's sub display lists have tighten bounds" 2012-04-20 10:56:05 -07:00
Daniel Sandler
c2dd1d1192 Copy new resources to other densities.
Bug: 6372775
Change-Id: Ifea79db30878ba71243c0dfffb9494b0d517db7c
2012-04-20 13:49:26 -04:00
George Mount
30d773f960 Add fade-in and fade-out for selection handles.
Bug 6083041

Change-Id: Ie48cc2da3cb05df82644d8f3c0a3f1d36ca67162
2012-04-20 10:41:05 -07:00
John Reck
d6b1098e1f Support fallback action if unhandled key event
Bug: 6023055

Change-Id: Ib802c4b9d1b606f9ea7a5081e30c50b5bd78e30c
2012-04-20 10:23:24 -07:00
Chris Wren
80a76276dc Add visual feedback for notification expandability.
Change-Id: I0b82a465a126a6d0ec6cf6af87dc56817765b995
2012-04-20 12:45:02 -04:00
Chris Wren
cd3e6e2264 Merge "fix press feedback on notification rows" 2012-04-20 09:42:06 -07:00
Alex Sakhartchouk
d6d6d35c54 Merge "Deprecate" 2012-04-20 09:40:55 -07:00
Chris Wren
d84e593746 fix press feedback on notification rows
Change-Id: I50de2f4d6142c2553428abc853c820f4354d0640
Bug: 6362246
2012-04-20 09:40:11 -07:00
Wu-cheng Li
e17fc7d669 Merge "Improve android.hardware.Camera.setRotation javadoc." 2012-04-20 03:21:30 -07:00