25770 Commits

Author SHA1 Message Date
Romain Guy
1b3b2544e6 Merge "Dismiss error icon on setError(null) [regression] Bug #7442935" into jb-mr1-dev 2012-11-06 16:15:27 -08:00
Eino-Ville Talvala
4a1b6e4242 Merge "Camera: Document new video snapshot picture size behavior." into jb-mr1-dev 2012-11-06 16:06:01 -08:00
Romain Guy
d1cc1878cc Dismiss error icon on setError(null) [regression]
Bug #7442935

Change-Id: I783d868173637007be326e20795cbb4cb8c7b899
2012-11-06 16:03:37 -08:00
Amith Yamasani
f763b71756 Merge "Authenticate correct user's account when pattern fails multiple times." into jb-mr1-dev 2012-11-06 12:56:17 -08:00
Amith Yamasani
2c7bc26a74 Authenticate correct user's account when pattern fails multiple times.
Bug: 7473142

Provide hidden methods in AccountManager for querying accounts and
authenticating for a specific user. Lockscreen is running in the
system process. Allow only system process to access accounts across
users.

Also make sure to launch the lock settings screen on the just reset
user using startActivityAsUser()

Change-Id: Ifefc0039ba2b51396b8bd0268f36d5271a3d8676
2012-11-05 18:17:40 -08:00
Svetoslav Ganov
0f4d5df5d8 Merge "View's visibility to the user not checking predecessor alpha." into jb-mr1-dev 2012-11-05 17:03:37 -08:00
Mike Cleron
c87f198b8c Merge "TextView not respecting "speak passwords" setting when adding before text to events." into jb-mr1-dev 2012-11-05 17:03:06 -08:00
Romain Guy
6c642089bc Merge "Add programmatic access to setters in TextClock Bug #7478328" into jb-mr1-dev 2012-11-05 16:36:39 -08:00
Romain Guy
a9cfe677ee Add programmatic access to setters in TextClock
Bug #7478328

Add missing annotation to let appwidgets change values programmatically

Change-Id: I6e9b095e93e4e90bd96e127344354c0dfa46cd86
2012-11-05 14:19:21 -08:00
Svetoslav Ganov
72bba58807 TextView not respecting "speak passwords" setting when adding before text to events.
1. If the speak passwords settings is on, the accessibility events emitted from a
   TextView should contain the text and before text of the source. The settings
   shows the users consent to put the source's text in the event. While the code
   that populates the current text in the accessibility event respects the
   setting, the one that populates the before text does not. As a result the
   fact that the user has typed a letter cannot be echoed by an accessibility
   service.

bug:7468768

Change-Id: I7580c37936d742f42653315b2591e268a634d22b
2012-11-05 14:02:06 -08:00
Scott Main
7c6863be50 am 44c4bba2: Merge "docs: fix markup error bug: 7456071" into jb-mr1-dev
* commit '44c4bba2530b430895ef1c72e8ce2712e8ca9f6e':
  docs: fix markup error bug: 7456071
2012-11-05 11:38:10 -08:00
Scott Main
44c4bba253 Merge "docs: fix markup error bug: 7456071" into jb-mr1-dev 2012-11-05 11:35:24 -08:00
Scott Main
9cc531cc26 docs: fix markup error
bug: 7456071

Change-Id: I3d34a2d6741784d9b33af54afd6d97803720264d
2012-11-05 11:25:17 -08:00
Eino-Ville Talvala
1cab31a45d Camera: Document new video snapshot picture size behavior.
On some devices, video snapshot may return pictures that are smaller
than requested. Make that clear.

Bug: 7475089
Change-Id: I0bd759072a7f954e517f3d09cb676fb23f863912
2012-11-05 10:57:27 -08:00
Adam Cohen
180cfd5feb If a default keyguard layout isn't specified, fallback to the default layout
-> Also fixing a typo in AppWidgetProvider clone() -- this was the cause of
   the "couldn't load widget". It wasn't getting expressed before for various
   reasons.

Change-Id: Ib7114565a414d66facd8b4baeb97d5a71e96b5e9
2012-11-04 12:05:44 -08:00
Baligh Uddin
841ce670b2 Merge commit '81af21e67cd842d16d4b45e8a2d1ec56ff8d764f' into jb-mr1-dev 2012-11-02 16:46:18 -07:00
Svetoslav Ganov
11f19f15ea View's visibility to the user not checking predecessor alpha.
1. A view is visible to the user if is attached to a visible window,
   its visibility is VISIBLE, its alpha is not zero, all its
   predecessors have visibility VISIBLE and non zero alpha, the
   view is not fully covered by predecessors and is within the
   screen.

   The function that computes whether a view is visible for
   accessibility purposes was not taking into account the
   predecessors' alpha.

bug:7454355

Change-Id: I7609f4366da260091d68e5b25832498843fd3d0a
2012-11-02 16:39:16 -07:00
Jim Miller
81e77360b2 Merge "Update DevicePolicyManager documentation with new keyguard flags" into jb-mr1-lockscreen-dev 2012-11-02 16:20:52 -07:00
Svetoslav Ganov
f74d0c39b6 Merge "Polish user selector accessibility." into jb-mr1-lockscreen-dev 2012-11-02 15:55:11 -07:00
Jeff Sharkey
383df1e70a am 1c743650: Merge "Sanity check network stats coming from disk." into jb-mr1-dev
* commit '1c743650addb9f632dd3eb39d4b17109ee4171f5':
  Sanity check network stats coming from disk.
2012-11-02 15:52:49 -07:00
Jeff Sharkey
1c743650ad Merge "Sanity check network stats coming from disk." into jb-mr1-dev 2012-11-02 15:49:20 -07:00
Jeff Sharkey
b0a579f833 Sanity check network stats coming from disk.
Throw early when structure is unstable, which allows the normal
recoverFromWtf() path to recover automatically.

Bug: 7440485
Change-Id: Ic150d17daac4de7c9ff3489025403a9b485b4620
2012-11-02 15:38:15 -07:00
Jim Miller
3520774a91 Update DevicePolicyManager documentation with new keyguard flags
Change-Id: Idb1fa306a5706ba5b9543d7dff5450a4af5c394f
2012-11-02 15:33:20 -07:00
Svetoslav Ganov
fc9c4cd51b Polish user selector accessibility.
1. The current user was not announced as such.

2. The event for a user switch was not sent.

Change-Id: Ib3caf1f9e93ea1f0b5450246601bc37f416be6da
2012-11-02 15:32:25 -07:00
Amith Yamasani
e7b3ed2cf2 am e96e0a1a: Merge "Resolve USER_ALL when inflating notification views." into jb-mr1-dev
* commit 'e96e0a1a759a524072cc3fb1dfd3ec01e18ef67f':
  Resolve USER_ALL when inflating notification views.
2012-11-02 15:30:21 -07:00
Amith Yamasani
e96e0a1a75 Merge "Resolve USER_ALL when inflating notification views." into jb-mr1-dev 2012-11-02 15:26:37 -07:00
Raph Levien
369cf0c1a2 am d9134e7a: Merge "Revert partial RTL\'ization of Editor.setError()" into jb-mr1-dev
* commit 'd9134e7aa1679878245b67ed1a318acb19d0c717':
  Revert partial RTL'ization of Editor.setError()
2012-11-02 15:08:43 -07:00
Raph Levien
d9134e7aa1 Merge "Revert partial RTL'ization of Editor.setError()" into jb-mr1-dev 2012-11-02 15:05:08 -07:00
Amith Yamasani
ecbd68b0de Resolve USER_ALL when inflating notification views.
Fixes the OTA icon display when the OTA is to be shown to all users.

Bug: 7462511
Change-Id: I185d9d5340d866d0a4b0ae273a361e8db160e33b
2012-11-02 12:17:19 -07:00
Svetoslav Ganov
b8e58bb6ed am 28e8f76c: Merge "Cannot click on partially visible views in touch exploration." into jb-mr1-dev
* commit '28e8f76c50b26efd657bc0740fee25ac18520f9e':
  Cannot click on partially visible views in touch exploration.
2012-11-02 11:54:36 -07:00
Svetoslav Ganov
28e8f76c50 Merge "Cannot click on partially visible views in touch exploration." into jb-mr1-dev 2012-11-02 11:51:36 -07:00
Adam Cohen
4ddcd573dd Widget size policy, size callbacks
-> vertically resizable widgets behave are sized to fill
-> non-vertically resizable widgets use the small size all the time
-> providing size call-backs. ensuring that we don't send excessive /
   incorrect size callbacks. These are expensive. Had to clean things
   up to ensure we only send the truth, and not bounce around.

Change-Id: I8038de01096906526e2622c6f1cd24c171e3a4ec
2012-11-01 23:32:55 -07:00
Raph Levien
f58f1b9d41 Revert partial RTL'ization of Editor.setError()
The conversion of the error indication on Editor to RTL-aware was only
partially completed, and was causing bugs such as an error indication
failing to appear when set (bug 7457897).

This patch reverts these changes and just always sets the error drawable
on the right. This fixes the above bug, and also makes the error
drawable position always consistent with the error popup (before, in an
RTL layout direction, the popup would be on the right and the drawable
on the left).

Making the error display fully RTL-aware should be done as future work.

Change-Id: Icaee91210454ed9056e7200520d9275303de02ca
2012-11-01 20:15:53 -07:00
Ed Heyl
39912f7fcd Merge commit '87bb019e57eddcedd4aeca180ac36bdf1d42064a' into jb-mr1-dev 2012-11-01 18:06:35 -07:00
Svetoslav Ganov
a94c3194ff Cannot click on partially visible views in touch exploration.
1. In touch exploration mode the system clicks in the center of the
   accessibility focus rectangle. However, if this rectangle is only
   partially shown on the window or on the screen the system may not
   be able to perform the click, if the accessibility focus center
   is not on the screen, or click on the wrong window, if the access
   focus center is outside of the window.

   This change clips the rectangle to the window bounds which and the
   display bounds. This will ensure no clicks are sent to the wrong
   window and no clicks are sent outside of the screen.

bug:7453839

Change-Id: I79f98971e7ebcbb391c37284467dc76076172c5f
2012-11-01 16:27:05 -07:00
Svetoslav Ganov
7f0458ec01 am 7e1a45d8: Merge "Fix accessibility API injection." into jb-mr1-dev
* commit '7e1a45d8af9d02fc552d65f2abcaefe3096b2c9c':
  Fix accessibility API injection.
2012-11-01 14:52:28 -07:00
alanv
992ceefbcf Fix accessibility API injection.
Also adds a heartbeat check so that if something does go wrong while adding
the JavaScript APIs, we don't attempt to use the JavaScript-based screen
reader.

Bug: 7450237
Change-Id: Ifbce77cf93115f658386c520b8226941607b2afe
2012-11-01 14:25:50 -07:00
Adam Cohen
9767597a74 Merge "Stripping dead API related to keyguard widgets" into jb-mr1-lockscreen-dev 2012-11-01 11:31:35 -07:00
Romain Guy
40daf33c02 am 998d03bd: Merge "A new clock widget to create lock screen appwidgets" into jb-mr1-dev
* commit '998d03bd943053741bab17a8ef0abb355f6bc3ae':
  A new clock widget to create lock screen appwidgets
2012-11-01 11:25:49 -07:00
Romain Guy
998d03bd94 Merge "A new clock widget to create lock screen appwidgets" into jb-mr1-dev 2012-11-01 11:23:17 -07:00
Romain Guy
3d1728c03a A new clock widget to create lock screen appwidgets
This new widget replaces DigitalClock. It listens to all the correct
system events and offer the ability to customize the formatting
patterns in 12-hour and 24-hour modes. It also supports fixed
time zones to create world clocks.

One more step towards becoming ClockOS!

Change-Id: I677e5dfca8cd8c8d1f8c49e54d7507f4d1885bf4
2012-10-31 20:31:58 -07:00
Svetoslav Ganov
c4842c1193 Accessibility support for the lockscreen - phone.
Change-Id: Idc99f1322a1d635dd07e1f5efa1665a4676267c2
2012-10-31 17:49:10 -07:00
Adam Cohen
8f697d8580 Stripping dead API related to keyguard widgets
Change-Id: Ieb6c57ef736712b3266de08027f9626104cdf1bb
2012-10-31 17:42:26 -07:00
Michael Jurka
fc753c0cf6 Use new keyguard appwidget picker
Also, remove ability to filter widgets by feature
in appwidget picker in anticipation of api change

Change-Id: I325de0b98f03d3a250758d504229ea27794b5330
2012-10-31 16:53:04 -07:00
Dianne Hackborn
44251a70ed Merge "Work on issue #7343200: Fails to show wallpaper in the background..." into jb-mr1-dev 2012-10-30 10:45:49 -07:00
Amith Yamasani
13a6df91d9 Merge "Only send broadcasts to registered receivers" into jb-mr1-dev 2012-10-30 10:00:04 -07:00
Dianne Hackborn
ef03a7f441 Work on issue #7343200: Fails to show wallpaper in the background...
...for lockscreen sometimes and remains black / blank

Add some debug output to try to track down what is going on.

Change-Id: I98a96c5da9c04b988e948f6fc2766d927db49ebf
2012-10-29 18:46:52 -07:00
Amith Yamasani
e668794230 Only send broadcasts to registered receivers
Fix for issue found in #7420259

Not sure if this fixes the actual ringtone issue, but it clears the way.

Change-Id: I7fd5584df2dc254ba7281f57e51143c79bfcff63
2012-10-29 16:54:29 -07:00
Mathias Agopian
e4335adad2 am 0da554ac: Merge "fix an overflow in the orientation sensonr calculations" into jb-mr1-dev
* commit '0da554acfbf7cf0b8e522c5b8b83588cf6f72ddf':
  fix an overflow in the orientation sensonr calculations
2012-10-29 16:53:19 -07:00
Mathias Agopian
278a966e80 fix an overflow in the orientation sensonr calculations
this would cause the TYPE_ORIENTATION sensor to report NaN after
40 to 800 hours of up-time. this problem only affects the older
and deprecated SensorListener API.

Bug: 7434842
Change-Id: Ie8593cca9c98e4907e417db4106c06151e3ee9a1
2012-10-29 16:03:46 -07:00