87411 Commits

Author SHA1 Message Date
Roman Nurik
512950a971 Merge "docs: Minor Nexus 10 fix in Device Art Generator" into jb-mr1-dev 2012-11-07 09:49:37 -08:00
Svetoslav Ganov
5fff5f01f8 Merge "Make partially visible widget pages not important for accessibility." into jb-mr1-dev 2012-11-06 17:46:44 -08:00
Sascha Prueter
872965bb22 Merge "Use a consistent policy for filtering wake keys." into jb-mr1-dev 2012-11-06 17:11:26 -08:00
Jeff Brown
1c2e4948a1 Use a consistent policy for filtering wake keys.
Previously wake keys were filtered differently depending on whether
a keyguard was showing.  If the user disables the keyguard then
no filtering was applied, which means that the volume key may
wake your device while in your pocket.

This change ensures that we use the same policy consistently
regardless of whether keyguard is showing.  The behavior is
otherwise the same.

Removed the "Locked" suffix on a method that was actually
being called without a lock held and which in fact does not
require it.

Bug: 7481025
Change-Id: I704c71ca009bc5437f349f858b9de7c77ea73e4b
2012-11-06 16:48:15 -08:00
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
Svetoslav Ganov
a90a18db91 Make partially visible widget pages not important for accessibility.
1. If the lockscreen has more than one widet, the left and right widget
   pages are partially on the screen and visible. Therefore they may
   take accessibility focus so the user will hear a prompt that he is
   on the partially visible widget page but will not be able to interact
   with it - confusing. This change makes partially shown windget frames
   not important for accessibility.

bug:7454355

Change-Id: I475b21e215474a4421acaec485cde64dc4e2aee5
2012-11-06 15:22:16 -08:00
Victoria Lease
e6299d5af7 Merge "Fires geofence if the device is already in the geofence area." into jb-mr1-dev 2012-11-06 15:06:16 -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
Victoria Lease
4cd0a50b26 Fires geofence if the device is already in the geofence area.
Process the location of the fence as soon as it is added.

Clarified how the distance to the fence was being used.

Added more debug logs (disabled by default).

Fixed a numerical overflow in the location request if the
distance to the border of the nearest fence was greater
than about 2000Km.

Removed a useless call to request location updates passively
when the geofence manager is initialized.  We have no need
of location updates unless there are active geofences.
The effect of this call was undone the next time the location
request was updated anyhow.

Changed the location request to always request a fastest update
interval of 0 which accomplishes the goal of passively
monitoring all updates.  This does not increase the power
consumption because we are conservative about choosing
a minimum location update interval.  We're simply stating
that the geofence manager is willing to handle a higher
report rate which is very important.

Subject location to a "freshness test" - only use relatively
recent locations for geofence testing.

Run all geofence updates on the handler and avoid making
multiple redundant calls into the location manager when
updating the provider requirements.

Ensure that we update geofences correctly even if we don't
know the initial location of the device at the time the
geofence is created.

Pin update interval value to the range [1m..2hr].

Distance to fence is now distance to fence's border, not
distance to fence's centre.

Bug: 7466334
Change-Id: I28e571ecfc508d5ceb9bb2afcabaaf05abb26369
2012-11-06 10:01:33 -08:00
John Spurlock
65cbcbea8a Remove add widget transition jank (insecure).
Refactor to use common activity launcher.

Still work to do on secure.

Bug:7482560
Change-Id: I2f8869afe8172850e1cb019a051aaeb49bb8c5bc
2012-11-06 11:41:29 -05:00
John Spurlock
ae73c6908f Fix regression in camera transition.
Caused by: Ic18188a2a3caa9dfde8785611242b1c9925f7b87
  "Adding bouncer animation on PagedView."

Bug:7483566
Change-Id: Ie0b4e7cf3d4dc717cac02c7cf8a1ec24b9b860a6
2012-11-06 09:48:03 -05:00
Roman Nurik
b9a870b871 docs: Minor Nexus 10 fix in Device Art Generator
Change-Id: Ie0fb08d484de812f064d141551963bc37c91267b
2012-11-06 06:29:07 -08:00
Michael Jurka
08924d007f Merge "Supporting EXTRA_APPWIDGET_OPTIONS correctly" into jb-mr1-lockscreen-dev 2012-11-05 23:06:40 -08:00
Jim Miller
7dfc588a9d Workaround for layout bug in SIM PIN/PUK views
This prevents a degenerate layout while we figure out what's
going on.

Change-Id: I99d1c6e5ce59fd48a74258158208270b775c1511
2012-11-05 22:45:35 -08:00
Jim Miller
87d0366d9e Fix NPE caused by applications that try to hide keyguard while it's not showing
Fixes bug 7466360

Change-Id: Idec4c60c2ca2477e49e0f4526ae2357353d4a1e3
2012-11-05 20:28:09 -08:00
Michael Jurka
0a75b94872 Supporting EXTRA_APPWIDGET_OPTIONS correctly 2012-11-05 18:57:10 -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
bb8abae507 am 0f4d5df5: Merge "View\'s visibility to the user not checking predecessor alpha." into jb-mr1-dev
* commit '0f4d5df5d815466398dba5f2d07aa98f18c35aaa':
  View's visibility to the user not checking predecessor alpha.
2012-11-05 17:05:50 -08:00
Mike Cleron
624ea44120 am c87f198b: Merge "TextView not respecting "speak passwords" setting when adding before text to events." into jb-mr1-dev
* commit 'c87f198b8cd3b3cb5b3daf63df419b9377b9c7b8':
  TextView not respecting "speak passwords" setting when adding before text to events.
2012-11-05 17:05:47 -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
06da337876 am 6c642089: Merge "Add programmatic access to setters in TextClock Bug #7478328" into jb-mr1-dev
* commit '6c642089bcd13bf17d7c445b2ec89b62a79c9823':
  Add programmatic access to setters in TextClock Bug #7478328
2012-11-05 16:39:37 -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
Winson Chung
48275d2de9 Adding bouncer animation on PagedView. (Bug 7459660)
- Adding Remove text for translations.

Change-Id: Ic18188a2a3caa9dfde8785611242b1c9925f7b87
2012-11-05 16:15:34 -08:00
Adam Powell
9ff6d4f8db Merge "Keyguard sanity checks for when layout is not yet complete" into jb-mr1-lockscreen-dev 2012-11-05 15:52:43 -08:00
Adam Powell
5a2c5f0efa Keyguard sanity checks for when layout is not yet complete
Bug 7470163

Change-Id: I1e5f860ab39633f6c5e2046f6f18424227842406
2012-11-05 15:44:29 -08:00
Adam Cohen
79e0f87500 Merge "Fix small widgets not showing up on tablet (issue 7471516)" into jb-mr1-lockscreen-dev 2012-11-05 15:22:45 -08:00
Adam Cohen
6f72b1c917 Fix small widgets not showing up on tablet (issue 7471516)
Change-Id: Ie217268ef9c96512942f64b8ffd7e1d54a0ea850
2012-11-05 15:20:42 -08:00
Baligh Uddin
af0d09be28 am 00b5ed8f: Merge commit \'b3f87c24ee86227e22b2db9b04f3d94519f230f9\' into jb-mr1-dev
* commit '00b5ed8fa9f2f38e15894519f3afeaae56e97e94':
2012-11-05 15:19:27 -08:00
Baligh Uddin
00b5ed8fa9 Merge commit 'b3f87c24ee86227e22b2db9b04f3d94519f230f9' into jb-mr1-dev 2012-11-05 15:02:02 -08:00
Adam Powell
5da6430fff Optimize keyguard/IME interactions
Change the keyguard window to LAYOUT_IN_SCREEN | LAYOUT_INSET_DECOR
and make the ViewManagerHost fitSystemWindows. This eliminates the
need to resize the actual window and associated surfaces when the IME
comes and goes.

Force the widget pager to measure at the fullscreen size of the
keyguard, even if the IME is showing. This causes the widgets to clip
instead of resize, removing a few more moving parts that can be
distracting/affect performance.

Partially improves bug 7427586

Change-Id: I0d86d0ca8045f737fa97ca5d1e7f6a49f746b999
2012-11-05 14:26:33 -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
Joe Malin
ff91b179d3 am db426cc0: am 046671af: am fbcfb5d0: am 50c2275c: Android Training: CursorLoader
* commit 'db426cc0a695ab699969d0b7750dd79e5922321b':
  Android Training: CursorLoader
2012-11-05 14:07:07 -08:00
Joe Malin
db426cc0a6 am 046671af: am fbcfb5d0: am 50c2275c: Android Training: CursorLoader
* commit '046671afbcbe043f0b2aa4edc42b21fd2abf7586':
  Android Training: CursorLoader
2012-11-05 14:04:09 -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
Joe Malin
046671afbc am fbcfb5d0: am 50c2275c: Android Training: CursorLoader
* commit 'fbcfb5d0f899e0b3c89334d43b45907337cf7f36':
  Android Training: CursorLoader
2012-11-05 14:01:46 -08:00
Joe Malin
fbcfb5d0f8 am 50c2275c: Android Training: CursorLoader
* commit '50c2275cff28c4a216f6924584e43cd64b90a3bf':
  Android Training: CursorLoader
2012-11-05 13:59:48 -08:00
Joe Malin
50c2275cff Android Training: CursorLoader
Change-Id: Ia8d723b5ce32002597b9444b8c7eff07b1ab29c8
2012-11-05 13:55:21 -08:00
Chris Wren
b3f87c24ee Merge "bouncer: hide more text and frame less." into jb-mr1-lockscreen-dev 2012-11-05 12:24:11 -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
Scott Main
de2c3192b1 am 737a20fd: Merge "docs: explain implicit permissions applied by sdk versions bug: 7453055" into jb-mr1-dev
* commit '737a20fda62fe9885f74e208ac21a1574c1593f7':
  docs: explain implicit permissions applied by sdk versions bug: 7453055
2012-11-05 11:15:55 -08:00
Scott Main
737a20fda6 Merge "docs: explain implicit permissions applied by sdk versions bug: 7453055" into jb-mr1-dev 2012-11-05 11:12:12 -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
Steven Ross
025fb93e3e Clearing connected message in stop fixes 7401152
We can stop before the service connected message is processed, in which case
we should clear the message.  Otherwise it can cause us to start up the UI
before the camera is open, causing a crash.

I was unable to reproduce this issue, but it theoretically will happen, and
the bug report shows all the symptoms of this series of events.

Change-Id: I60d295883b08ac58ccf0f3fc6d152b8b75fe9b18
2012-11-05 13:49:31 -05:00
Chris Wren
c0ae9e67eb bouncer: hide more text and frame less.
Bug: 7464865
Change-Id: Ic8dac2582c014922143919f142fd36eb720dd3a9
Proto-Id: Id80601c9ffbdc34669b485e943b42cee237898f3
2012-11-05 13:30:26 -05:00
Amith Yamasani
d812e7a10e am fca8d258: Merge "Remove power menu user switcher" into jb-mr1-dev
* commit 'fca8d258c5699ad2703d46181c492e78e1dc87a8':
  Remove power menu user switcher
2012-11-05 09:33:57 -08:00