OSDN Git Service

android-x86/frameworks-base.git
11 years agoam 512950a9: Merge "docs: Minor Nexus 10 fix in Device Art Generator" into jb-mr1-dev
Roman Nurik [Wed, 7 Nov 2012 17:52:44 +0000 (09:52 -0800)]
am 512950a9: Merge "docs: Minor Nexus 10 fix in Device Art Generator" into jb-mr1-dev

* commit '512950a9713f79f2900c73201906436d12da8639':
  docs: Minor Nexus 10 fix in Device Art Generator

11 years agoMerge "docs: Minor Nexus 10 fix in Device Art Generator" into jb-mr1-dev
Roman Nurik [Wed, 7 Nov 2012 17:49:37 +0000 (09:49 -0800)]
Merge "docs: Minor Nexus 10 fix in Device Art Generator" into jb-mr1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-lockscreen-dev
Baligh Uddin [Wed, 7 Nov 2012 17:46:54 +0000 (09:46 -0800)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-lockscreen-dev

11 years agoMerge "Show the assist ring on center-button longpress on lockscreen." into jb-mr1...
Daniel Sandler [Wed, 7 Nov 2012 17:42:35 +0000 (09:42 -0800)]
Merge "Show the assist ring on center-button longpress on lockscreen." into jb-mr1-lockscreen-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-lockscreen-dev
Baligh Uddin [Wed, 7 Nov 2012 17:39:39 +0000 (09:39 -0800)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-lockscreen-dev

11 years agoMerge "Don't pop the IME for passwors at ScreenOn on tablets." into jb-mr1-lockscreen-dev
Chris Wren [Wed, 7 Nov 2012 17:12:31 +0000 (09:12 -0800)]
Merge "Don't pop the IME for passwors at ScreenOn on tablets." into jb-mr1-lockscreen-dev

11 years agoMerge "Centering FUL fixes b/7480608" into jb-mr1-lockscreen-dev
Brian Colonna [Wed, 7 Nov 2012 17:00:05 +0000 (09:00 -0800)]
Merge "Centering FUL fixes b/7480608" into jb-mr1-lockscreen-dev

11 years agoCentering FUL fixes b/7480608
Brian Colonna [Wed, 7 Nov 2012 16:53:49 +0000 (11:53 -0500)]
Centering FUL fixes b/7480608

A simple one-line change to center FUL horizontally.  This looked
really bad on tablets when the charging text was showing as FUL was
obviously off-center compared to the text.  It was also off-center
on phones, which looked particularly bad when going to the backup.

Change-Id: Id0e3039a67c9bb746a8c9948e82ff87b6c815e1b

11 years agoDon't pop the IME for passwors at ScreenOn on tablets.
Chris Wren [Wed, 7 Nov 2012 16:37:06 +0000 (11:37 -0500)]
Don't pop the IME for passwors at ScreenOn on tablets.

Change-Id: I4c157559b2a70021d55211607c1d62ba73adc590

11 years agoFix remaining jank in secure add-widget transition.
John Spurlock [Wed, 7 Nov 2012 15:12:29 +0000 (10:12 -0500)]
Fix remaining jank in secure add-widget transition.

Wait for activity to launch before dismissing the keyguard.
Otherwise we see launcher/last activity waiting for the
picker to start up.

Also remove camera transition workaround obviated by:
  Iefee62061962625b622ff2cf9a307d9429c2ad54

Bug:7482560
Change-Id: I554ddffb7981488fa8a81933842b0c7730e775f3

11 years agoMerge "Allowing rotation while adding lockscreen widgets" into jb-mr1-lockscreen-dev
Michael Jurka [Wed, 7 Nov 2012 09:16:11 +0000 (01:16 -0800)]
Merge "Allowing rotation while adding lockscreen widgets" into jb-mr1-lockscreen-dev

11 years agoAllowing rotation while adding lockscreen widgets
Michael Jurka [Wed, 7 Nov 2012 09:09:38 +0000 (01:09 -0800)]
Allowing rotation while adding lockscreen widgets

Also cleaning up some unused code

Bug: 7468012

11 years agoMerge "Giving glow pad the brains to scale itself dynamically (issue 7449554)" into...
Adam Cohen [Wed, 7 Nov 2012 07:31:31 +0000 (23:31 -0800)]
Merge "Giving glow pad the brains to scale itself dynamically (issue 7449554)" into jb-mr1-lockscreen-dev

11 years agoGiving glow pad the brains to scale itself dynamically (issue 7449554)
Adam Cohen [Wed, 7 Nov 2012 07:06:22 +0000 (23:06 -0800)]
Giving glow pad the brains to scale itself dynamically (issue 7449554)

Change-Id: I44f31d354171c01b607871d6a9e1e9d06a49ffc8

11 years agoKeyguard layout tweaking/reworking
Adam Powell [Wed, 7 Nov 2012 05:32:42 +0000 (21:32 -0800)]
Keyguard layout tweaking/reworking

Teach KeyguardSecurityViewFlipper about layout_maxWidth/Height. Give
maxes to security views. Fix some IME layout weirdness in
SlidingChallengeLayout by adding more weirdness.

Change-Id: I8047d32302aad44844de06d54b150586b0861dab

11 years agoMerge "Updated assets." into jb-mr1-lockscreen-dev
Daniel Sandler [Wed, 7 Nov 2012 05:14:13 +0000 (21:14 -0800)]
Merge "Updated assets." into jb-mr1-lockscreen-dev

11 years agoUpdated assets.
Daniel Sandler [Wed, 7 Nov 2012 05:04:50 +0000 (00:04 -0500)]
Updated assets.

Change-Id: I4daaddb01c6156bdfacc5400886a6d7fc61d3ac0

11 years agoMerge "Fix emergency call area updates." into jb-mr1-lockscreen-dev
Jim Miller [Wed, 7 Nov 2012 03:05:35 +0000 (19:05 -0800)]
Merge "Fix emergency call area updates." into jb-mr1-lockscreen-dev

11 years agoMerge "Ensuring bindAppWidget isn't called until boot completed (issue 7469267)"...
Adam Cohen [Wed, 7 Nov 2012 03:04:55 +0000 (19:04 -0800)]
Merge "Ensuring bindAppWidget isn't called until boot completed (issue 7469267)" into jb-mr1-lockscreen-dev

11 years agoEnsuring bindAppWidget isn't called until boot completed (issue 7469267)
Adam Cohen [Wed, 7 Nov 2012 00:55:32 +0000 (16:55 -0800)]
Ensuring bindAppWidget isn't called until boot completed (issue 7469267)

Change-Id: I997f5a191116db7c840bf4a947385958b57cd657

11 years agoMerge "Removing sticky widgets in lockscreen" into jb-mr1-lockscreen-dev
Michael Jurka [Wed, 7 Nov 2012 03:01:49 +0000 (19:01 -0800)]
Merge "Removing sticky widgets in lockscreen" into jb-mr1-lockscreen-dev

11 years agoRemoving sticky widgets in lockscreen
Michael Jurka [Wed, 7 Nov 2012 00:21:09 +0000 (16:21 -0800)]
Removing sticky widgets in lockscreen

Also adding mechanism to show a widget after
adding it

Change-Id: Ic4d49e6ef1343c38fa731b0ed2a327c55b678abf

11 years agoFix emergency call area updates.
Jim Miller [Wed, 7 Nov 2012 02:43:22 +0000 (18:43 -0800)]
Fix emergency call area updates.

This fixes a bug where the emergency call button doesn't reflect the current
state.

Fixes bug 7482869

Change-Id: I7de2100f10a078943cb92c13d638c72e99c7a643

11 years agoam 5fff5f01: Merge "Make partially visible widget pages not important for accessibili...
Svetoslav Ganov [Wed, 7 Nov 2012 01:49:02 +0000 (17:49 -0800)]
am 5fff5f01: Merge "Make partially visible widget pages not important for accessibility." into jb-mr1-dev

* commit '5fff5f01f8af05164d5d7be72bdadee46360ba92':
  Make partially visible widget pages not important for accessibility.

11 years agoMerge "Make partially visible widget pages not important for accessibility." into...
Svetoslav Ganov [Wed, 7 Nov 2012 01:46:32 +0000 (17:46 -0800)]
Merge "Make partially visible widget pages not important for accessibility." into jb-mr1-dev

11 years agoam 872965bb: Merge "Use a consistent policy for filtering wake keys." into jb-mr1-dev
Sascha Prueter [Wed, 7 Nov 2012 01:14:35 +0000 (17:14 -0800)]
am 872965bb: Merge "Use a consistent policy for filtering wake keys." into jb-mr1-dev

* commit '872965bb22ba74a06b755547883c5d0de62bb956':
  Use a consistent policy for filtering wake keys.

11 years agoMerge "Use a consistent policy for filtering wake keys." into jb-mr1-dev
Sascha Prueter [Wed, 7 Nov 2012 01:11:26 +0000 (17:11 -0800)]
Merge "Use a consistent policy for filtering wake keys." into jb-mr1-dev

11 years agoHandle DevicePolicyManagement and safe mode when inflating widgets
Jim Miller [Mon, 5 Nov 2012 01:58:09 +0000 (17:58 -0800)]
Handle DevicePolicyManagement and safe mode when inflating widgets

Bug 7459120
Bug 7444159
Bug 7444016

Change-Id: I7966ec510da8113ac571b5a4b9dc48dd291396e8
Conflicts:
policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetPager.java

11 years agoUse a consistent policy for filtering wake keys.
Jeff Brown [Wed, 7 Nov 2012 00:32:01 +0000 (16:32 -0800)]
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

11 years agoam 1b3b2544: Merge "Dismiss error icon on setError(null) [regression] Bug #7442935...
Romain Guy [Wed, 7 Nov 2012 00:18:19 +0000 (16:18 -0800)]
am 1b3b2544: Merge "Dismiss error icon on setError(null) [regression] Bug #7442935" into jb-mr1-dev

* commit '1b3b2544e647a40094b9c9df2c94e34df7921da5':
  Dismiss error icon on setError(null) [regression] Bug #7442935

11 years agoMerge "Dismiss error icon on setError(null) [regression] Bug #7442935" into jb-mr1-dev
Romain Guy [Wed, 7 Nov 2012 00:15:26 +0000 (16:15 -0800)]
Merge "Dismiss error icon on setError(null) [regression] Bug #7442935" into jb-mr1-dev

11 years agoam 4a1b6e42: Merge "Camera: Document new video snapshot picture size behavior." into...
Eino-Ville Talvala [Wed, 7 Nov 2012 00:10:52 +0000 (16:10 -0800)]
am 4a1b6e42: Merge "Camera: Document new video snapshot picture size behavior." into jb-mr1-dev

* commit '4a1b6e42424d08da0d22a24464e568034ea557ee':
  Camera: Document new video snapshot picture size behavior.

11 years agoMerge "Camera: Document new video snapshot picture size behavior." into jb-mr1-dev
Eino-Ville Talvala [Wed, 7 Nov 2012 00:06:00 +0000 (16:06 -0800)]
Merge "Camera: Document new video snapshot picture size behavior." into jb-mr1-dev

11 years agoDismiss error icon on setError(null) [regression]
Romain Guy [Tue, 6 Nov 2012 01:43:25 +0000 (17:43 -0800)]
Dismiss error icon on setError(null) [regression]
Bug #7442935

Change-Id: I783d868173637007be326e20795cbb4cb8c7b899

11 years agoMerge "Keyguard - MultiPaneChallengeLayout measurement/layout changes" into jb-mr1...
Adam Powell [Tue, 6 Nov 2012 23:50:11 +0000 (15:50 -0800)]
Merge "Keyguard - MultiPaneChallengeLayout measurement/layout changes" into jb-mr1-lockscreen-dev

11 years agoKeyguard - MultiPaneChallengeLayout measurement/layout changes
Adam Powell [Tue, 6 Nov 2012 23:25:05 +0000 (15:25 -0800)]
Keyguard - MultiPaneChallengeLayout measurement/layout changes

Have the widget view and the user switcher stay fixed when IME insets
are applied. This keeps more stability in the layouts as the IME comes
and goes.

Change-Id: I5ac62c3da6ec618280f89e87993837b3e4941ec9

11 years agoMake partially visible widget pages not important for accessibility.
Svetoslav Ganov [Tue, 6 Nov 2012 23:22:11 +0000 (15:22 -0800)]
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

11 years agoam e6299d5a: Merge "Fires geofence if the device is already in the geofence area...
Victoria Lease [Tue, 6 Nov 2012 23:09:38 +0000 (15:09 -0800)]
am e6299d5a: Merge "Fires geofence if the device is already in the geofence area." into jb-mr1-dev

* commit 'e6299d5af702dd17eb3585dbe84d29c289bfa8da':
  Fires geofence if the device is already in the geofence area.

11 years agoMerge "animating challenge closed should close the challenge." into jb-mr1-lockscreen-dev
Chris Wren [Tue, 6 Nov 2012 23:08:12 +0000 (15:08 -0800)]
Merge "animating challenge closed should close the challenge." into jb-mr1-lockscreen-dev

11 years agoUsing screen dimensions to calculate the expanded PagedView dimensions.
Winson Chung [Tue, 6 Nov 2012 01:55:42 +0000 (17:55 -0800)]
Using screen dimensions to calculate the expanded PagedView dimensions.

- Disallowing taps/interaction outside of the viewport (Bug 7459448)
- Fixing regression in incorrect pivot for Camera page
- Fixing issue where the bouncer was both scaling and shrinking widget pages.

Change-Id: Iefee62061962625b622ff2cf9a307d9429c2ad54

11 years agoMerge "Fires geofence if the device is already in the geofence area." into jb-mr1-dev
Victoria Lease [Tue, 6 Nov 2012 23:06:15 +0000 (15:06 -0800)]
Merge "Fires geofence if the device is already in the geofence area." into jb-mr1-dev

11 years agoanimating challenge closed should close the challenge.
Chris Wren [Tue, 6 Nov 2012 22:36:18 +0000 (17:36 -0500)]
animating challenge closed should close the challenge.

Bug: 7486591
Change-Id: Ie19a3765c63b885539a621467c2fdc81041578a7
Proto:Id: Iedf69f2f4e97f313af0228954a75f5a494b33c88

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 6 Nov 2012 22:29:53 +0000 (14:29 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ic647d879dc7392501863f4531f048b17faa1fd07
Auto-generated-cl: translation import

11 years agoMerge "Add isSafeModeEnabled() API to WindowManagerService" into jb-mr1-lockscreen-dev
Jim Miller [Tue, 6 Nov 2012 22:21:12 +0000 (14:21 -0800)]
Merge "Add isSafeModeEnabled() API to WindowManagerService" into jb-mr1-lockscreen-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 6 Nov 2012 22:06:25 +0000 (14:06 -0800)]
Import translations. DO NOT MERGE

Change-Id: I76ae2d0dfa8538ffd649c69ed2aaa7128a29e2ea
Auto-generated-cl: translation import

11 years agoMerge "Removing callbacks in onDetachedFromWindow, fixes b/7465673" into jb-mr1-locks...
Danielle Millett [Tue, 6 Nov 2012 21:47:01 +0000 (13:47 -0800)]
Merge "Removing callbacks in onDetachedFromWindow, fixes b/7465673" into jb-mr1-lockscreen-dev

11 years agoMerge "Making sure the sticky widget logic works with music" into jb-mr1-lockscreen-dev
Adam Cohen [Tue, 6 Nov 2012 21:40:29 +0000 (13:40 -0800)]
Merge "Making sure the sticky widget logic works with music" into jb-mr1-lockscreen-dev

11 years agoShow the assist ring on center-button longpress on lockscreen.
Daniel Sandler [Tue, 6 Nov 2012 21:23:43 +0000 (16:23 -0500)]
Show the assist ring on center-button longpress on lockscreen.

Bug: 7480028
Change-Id: I4c8013e984c2591faf3bc8fe2048abf69d545b6c

11 years agoMerge "Attempted fix for issue 7469415" into jb-mr1-lockscreen-dev
Adam Cohen [Tue, 6 Nov 2012 21:23:24 +0000 (13:23 -0800)]
Merge "Attempted fix for issue 7469415" into jb-mr1-lockscreen-dev

11 years agoMaking sure the sticky widget logic works with music
Adam Cohen [Tue, 6 Nov 2012 19:46:25 +0000 (11:46 -0800)]
Making sure the sticky widget logic works with music

-> Also, ensure that subsequent calls to showAppropriateWidget
   don't blow away your current page.

Change-Id: I7195e35f306526c371b9546ab48bc408868eff51

11 years agoam f763b717: Merge "Authenticate correct user\'s account when pattern fails multiple...
Amith Yamasani [Tue, 6 Nov 2012 20:58:35 +0000 (12:58 -0800)]
am f763b717: Merge "Authenticate correct user\'s account when pattern fails multiple times." into jb-mr1-dev

* commit 'f763b71756d4d810e78e368fbcd56ff8a844f62c':
  Authenticate correct user's account when pattern fails multiple times.

11 years agoMerge "make challengeShowing sticky across bounce." into jb-mr1-lockscreen-dev
Chris Wren [Tue, 6 Nov 2012 20:56:56 +0000 (12:56 -0800)]
Merge "make challengeShowing sticky across bounce." into jb-mr1-lockscreen-dev

11 years agoMerge "Authenticate correct user's account when pattern fails multiple times." into...
Amith Yamasani [Tue, 6 Nov 2012 20:56:16 +0000 (12:56 -0800)]
Merge "Authenticate correct user's account when pattern fails multiple times." into jb-mr1-dev

11 years agoMerge "specify start value: Drawables don't have getAlpha(). also, some clean up...
Chris Wren [Tue, 6 Nov 2012 20:39:47 +0000 (12:39 -0800)]
Merge "specify start value: Drawables don't have getAlpha(). also, some clean up." into jb-mr1-lockscreen-dev

11 years agomake challengeShowing sticky across bounce.
Chris Wren [Tue, 6 Nov 2012 19:45:18 +0000 (14:45 -0500)]
make challengeShowing sticky across bounce.

Bug: 7482335
Change-Id: I94811c778c66c78655988f7ff6e4c6d59dac831d
Proto-Id: I3e10968c2a627ac392f39ffc3a6ae5fb33f78117

11 years agospecify start value: Drawables don't have getAlpha().
Chris Wren [Tue, 6 Nov 2012 19:01:24 +0000 (14:01 -0500)]
specify start value: Drawables don't have getAlpha().
also, some clean up.

Bug: 7477513
Change-Id: Iaf05c1ae78ed4e7ba9d4cd3c713b5862a04b61f6
Proto-Id: I28d0569b88a978e1fff2acad1869bc10751dc37f

11 years agoAttempted fix for issue 7469415
Adam Cohen [Tue, 6 Nov 2012 19:24:23 +0000 (11:24 -0800)]
Attempted fix for issue 7469415

Change-Id: Ica81bf4197dc2c4fadd8fa07cb9c895b55b5702b

11 years agoRemoving callbacks in onDetachedFromWindow, fixes b/7465673
Danielle Millett [Tue, 6 Nov 2012 19:18:59 +0000 (14:18 -0500)]
Removing callbacks in onDetachedFromWindow, fixes b/7465673

In certain cases when lockscreen is constructed in landscape and then
switches to portrait on the phone, it inflates new views for
KeyguardHostView.  The old views never call onPause() in KeyguardFaceUnlockView
so it was still getting callbacks and starting Face Unlock multiple
times.  By removing the callbacks in onDetachedFromWindow() there won't be
multiple instances of KeyguardFaceUnlockView receiving callbacks and
starting face unlock.

Change-Id: I00d770283e83be2f4b76e00340123789a8075091

11 years agoFires geofence if the device is already in the geofence area.
Victoria Lease [Fri, 2 Nov 2012 23:24:08 +0000 (16:24 -0700)]
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

11 years agoRemove add widget transition jank (insecure).
John Spurlock [Tue, 6 Nov 2012 16:39:34 +0000 (11:39 -0500)]
Remove add widget transition jank (insecure).

Refactor to use common activity launcher.

Still work to do on secure.

Bug:7482560
Change-Id: I2f8869afe8172850e1cb019a051aaeb49bb8c5bc

11 years agoFix regression in camera transition.
John Spurlock [Tue, 6 Nov 2012 14:44:39 +0000 (09:44 -0500)]
Fix regression in camera transition.

Caused by: Ic18188a2a3caa9dfde8785611242b1c9925f7b87
  "Adding bouncer animation on PagedView."

Bug:7483566
Change-Id: Ie0b4e7cf3d4dc717cac02c7cf8a1ec24b9b860a6

11 years agodocs: Minor Nexus 10 fix in Device Art Generator
Roman Nurik [Tue, 6 Nov 2012 14:29:07 +0000 (06:29 -0800)]
docs: Minor Nexus 10 fix in Device Art Generator

Change-Id: Ie0fb08d484de812f064d141551963bc37c91267b

11 years agoMerge "Supporting EXTRA_APPWIDGET_OPTIONS correctly" into jb-mr1-lockscreen-dev
Michael Jurka [Tue, 6 Nov 2012 07:06:29 +0000 (23:06 -0800)]
Merge "Supporting EXTRA_APPWIDGET_OPTIONS correctly" into jb-mr1-lockscreen-dev

11 years agoWorkaround for layout bug in SIM PIN/PUK views
Jim Miller [Tue, 6 Nov 2012 06:45:35 +0000 (22:45 -0800)]
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

11 years agoFix NPE caused by applications that try to hide keyguard while it's not showing
Jim Miller [Tue, 6 Nov 2012 04:28:09 +0000 (20:28 -0800)]
Fix NPE caused by applications that try to hide keyguard while it's not showing

Fixes bug 7466360

Change-Id: Idec4c60c2ca2477e49e0f4526ae2357353d4a1e3

11 years agoAdd isSafeModeEnabled() API to WindowManagerService
Jim Miller [Tue, 6 Nov 2012 04:05:22 +0000 (20:05 -0800)]
Add isSafeModeEnabled() API to WindowManagerService

This adds a means of determining when the device is in safe mode,
as required by keyguard to disabled some features.

Change-Id: I31d357e6738c92e1837f9e0263e5f3f4de66315a

11 years agoSupporting EXTRA_APPWIDGET_OPTIONS correctly
Michael Jurka [Tue, 6 Nov 2012 02:57:10 +0000 (18:57 -0800)]
Supporting EXTRA_APPWIDGET_OPTIONS correctly

11 years agoAuthenticate correct user's account when pattern fails multiple times.
Amith Yamasani [Tue, 6 Nov 2012 00:46:02 +0000 (16:46 -0800)]
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

11 years agoam 0f4d5df5: Merge "View\'s visibility to the user not checking predecessor alpha...
Svetoslav Ganov [Tue, 6 Nov 2012 01:05:50 +0000 (17:05 -0800)]
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.

11 years agoam c87f198b: Merge "TextView not respecting "speak passwords" setting when adding...
Mike Cleron [Tue, 6 Nov 2012 01:05:47 +0000 (17:05 -0800)]
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.

11 years agoMerge "View's visibility to the user not checking predecessor alpha." into jb-mr1-dev
Svetoslav Ganov [Tue, 6 Nov 2012 01:03:36 +0000 (17:03 -0800)]
Merge "View's visibility to the user not checking predecessor alpha." into jb-mr1-dev

11 years agoMerge "TextView not respecting "speak passwords" setting when adding before text...
Mike Cleron [Tue, 6 Nov 2012 01:03:06 +0000 (17:03 -0800)]
Merge "TextView not respecting "speak passwords" setting when adding before text to events." into jb-mr1-dev

11 years agoam 6c642089: Merge "Add programmatic access to setters in TextClock Bug #7478328...
Romain Guy [Tue, 6 Nov 2012 00:39:37 +0000 (16:39 -0800)]
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

11 years agoMerge "Add programmatic access to setters in TextClock Bug #7478328" into jb-mr1-dev
Romain Guy [Tue, 6 Nov 2012 00:35:45 +0000 (16:35 -0800)]
Merge "Add programmatic access to setters in TextClock Bug #7478328" into jb-mr1-dev

11 years agoAdding bouncer animation on PagedView. (Bug 7459660)
Winson Chung [Mon, 5 Nov 2012 18:56:31 +0000 (10:56 -0800)]
Adding bouncer animation on PagedView. (Bug 7459660)

- Adding Remove text for translations.

Change-Id: Ic18188a2a3caa9dfde8785611242b1c9925f7b87

11 years agoMerge "Keyguard sanity checks for when layout is not yet complete" into jb-mr1-locksc...
Adam Powell [Mon, 5 Nov 2012 23:52:42 +0000 (15:52 -0800)]
Merge "Keyguard sanity checks for when layout is not yet complete" into jb-mr1-lockscreen-dev

11 years agoKeyguard sanity checks for when layout is not yet complete
Adam Powell [Mon, 5 Nov 2012 23:41:07 +0000 (15:41 -0800)]
Keyguard sanity checks for when layout is not yet complete

Bug 7470163

Change-Id: I1e5f860ab39633f6c5e2046f6f18424227842406

11 years agoMerge "Fix small widgets not showing up on tablet (issue 7471516)" into jb-mr1-locksc...
Adam Cohen [Mon, 5 Nov 2012 23:22:45 +0000 (15:22 -0800)]
Merge "Fix small widgets not showing up on tablet (issue 7471516)" into jb-mr1-lockscreen-dev

11 years agoFix small widgets not showing up on tablet (issue 7471516)
Adam Cohen [Mon, 5 Nov 2012 23:20:30 +0000 (15:20 -0800)]
Fix small widgets not showing up on tablet (issue 7471516)

Change-Id: Ie217268ef9c96512942f64b8ffd7e1d54a0ea850

11 years agoam 00b5ed8f: Merge commit \'b3f87c24ee86227e22b2db9b04f3d94519f230f9\' into jb-mr1-dev
Baligh Uddin [Mon, 5 Nov 2012 23:19:27 +0000 (15:19 -0800)]
am 00b5ed8f: Merge commit \'b3f87c24ee86227e22b2db9b04f3d94519f230f9\' into jb-mr1-dev

* commit '00b5ed8fa9f2f38e15894519f3afeaae56e97e94':

11 years agoMerge commit 'b3f87c24ee86227e22b2db9b04f3d94519f230f9' into jb-mr1-dev
Baligh Uddin [Mon, 5 Nov 2012 23:02:02 +0000 (15:02 -0800)]
Merge commit 'b3f87c24ee86227e22b2db9b04f3d94519f230f9' into jb-mr1-dev

11 years agoOptimize keyguard/IME interactions
Adam Powell [Mon, 5 Nov 2012 22:16:59 +0000 (14:16 -0800)]
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

11 years agoAdd programmatic access to setters in TextClock
Romain Guy [Mon, 5 Nov 2012 22:16:32 +0000 (14:16 -0800)]
Add programmatic access to setters in TextClock
Bug #7478328

Add missing annotation to let appwidgets change values programmatically

Change-Id: I6e9b095e93e4e90bd96e127344354c0dfa46cd86

11 years agoam db426cc0: am 046671af: am fbcfb5d0: am 50c2275c: Android Training: CursorLoader
Joe Malin [Mon, 5 Nov 2012 22:07:07 +0000 (14:07 -0800)]
am db426cc0: am 046671af: am fbcfb5d0: am 50c2275c: Android Training: CursorLoader

* commit 'db426cc0a695ab699969d0b7750dd79e5922321b':
  Android Training: CursorLoader

11 years agoam 046671af: am fbcfb5d0: am 50c2275c: Android Training: CursorLoader
Joe Malin [Mon, 5 Nov 2012 22:04:09 +0000 (14:04 -0800)]
am 046671af: am fbcfb5d0: am 50c2275c: Android Training: CursorLoader

* commit '046671afbcbe043f0b2aa4edc42b21fd2abf7586':
  Android Training: CursorLoader

11 years agoTextView not respecting "speak passwords" setting when adding before text to events.
Svetoslav Ganov [Mon, 5 Nov 2012 21:53:43 +0000 (13:53 -0800)]
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

11 years agoam fbcfb5d0: am 50c2275c: Android Training: CursorLoader
Joe Malin [Mon, 5 Nov 2012 22:01:46 +0000 (14:01 -0800)]
am fbcfb5d0: am 50c2275c: Android Training: CursorLoader

* commit 'fbcfb5d0f899e0b3c89334d43b45907337cf7f36':
  Android Training: CursorLoader

11 years agoam 50c2275c: Android Training: CursorLoader
Joe Malin [Mon, 5 Nov 2012 21:59:48 +0000 (13:59 -0800)]
am 50c2275c: Android Training: CursorLoader

* commit '50c2275cff28c4a216f6924584e43cd64b90a3bf':
  Android Training: CursorLoader

11 years agoAndroid Training: CursorLoader
Joe Malin [Sat, 20 Oct 2012 19:41:40 +0000 (12:41 -0700)]
Android Training: CursorLoader

Change-Id: Ia8d723b5ce32002597b9444b8c7eff07b1ab29c8

11 years agoMerge "bouncer: hide more text and frame less." into jb-mr1-lockscreen-dev
Chris Wren [Mon, 5 Nov 2012 20:24:10 +0000 (12:24 -0800)]
Merge "bouncer: hide more text and frame less." into jb-mr1-lockscreen-dev

11 years agoam 44c4bba2: Merge "docs: fix markup error bug: 7456071" into jb-mr1-dev
Scott Main [Mon, 5 Nov 2012 19:38:10 +0000 (11:38 -0800)]
am 44c4bba2: Merge "docs: fix markup error bug: 7456071" into jb-mr1-dev

* commit '44c4bba2530b430895ef1c72e8ce2712e8ca9f6e':
  docs: fix markup error bug: 7456071

11 years agoMerge "docs: fix markup error bug: 7456071" into jb-mr1-dev
Scott Main [Mon, 5 Nov 2012 19:35:23 +0000 (11:35 -0800)]
Merge "docs: fix markup error bug: 7456071" into jb-mr1-dev

11 years agodocs: fix markup error
Scott Main [Mon, 5 Nov 2012 19:25:17 +0000 (11:25 -0800)]
docs: fix markup error
bug: 7456071

Change-Id: I3d34a2d6741784d9b33af54afd6d97803720264d

11 years agoam 737a20fd: Merge "docs: explain implicit permissions applied by sdk versions bug...
Scott Main [Mon, 5 Nov 2012 19:15:55 +0000 (11:15 -0800)]
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

11 years agoMerge "docs: explain implicit permissions applied by sdk versions bug: 7453055" into...
Scott Main [Mon, 5 Nov 2012 19:12:11 +0000 (11:12 -0800)]
Merge "docs: explain implicit permissions applied by sdk versions bug: 7453055" into jb-mr1-dev

11 years agoCamera: Document new video snapshot picture size behavior.
Eino-Ville Talvala [Mon, 5 Nov 2012 18:33:55 +0000 (10:33 -0800)]
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

11 years agoClearing connected message in stop fixes 7401152
Steven Ross [Mon, 5 Nov 2012 18:49:31 +0000 (13:49 -0500)]
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

11 years agobouncer: hide more text and frame less.
Chris Wren [Mon, 5 Nov 2012 18:16:31 +0000 (13:16 -0500)]
bouncer: hide more text and frame less.

Bug: 7464865
Change-Id: Ic8dac2582c014922143919f142fd36eb720dd3a9
Proto-Id: Id80601c9ffbdc34669b485e943b42cee237898f3

11 years agoam fca8d258: Merge "Remove power menu user switcher" into jb-mr1-dev
Amith Yamasani [Mon, 5 Nov 2012 17:33:57 +0000 (09:33 -0800)]
am fca8d258: Merge "Remove power menu user switcher" into jb-mr1-dev

* commit 'fca8d258c5699ad2703d46181c492e78e1dc87a8':
  Remove power menu user switcher

11 years agoMerge "Remove power menu user switcher" into jb-mr1-dev
Amith Yamasani [Mon, 5 Nov 2012 17:31:48 +0000 (09:31 -0800)]
Merge "Remove power menu user switcher" into jb-mr1-dev