OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1.1-dev
Baligh Uddin [Tue, 27 Nov 2012 21:21:02 +0000 (13:21 -0800)]
Merge "Import translations. DO NOT MERGE" into jb-mr1.1-dev

11 years agoam c8d2abd8: Import translations. DO NOT MERGE
Baligh Uddin [Tue, 27 Nov 2012 21:20:55 +0000 (13:20 -0800)]
am c8d2abd8: Import translations. DO NOT MERGE

* commit 'c8d2abd81d85b7049837f0dc42310eee64c08d16':
  Import translations. DO NOT MERGE

11 years agoMerge "Fix infinite recursive loop DO NOT MERGE" into jb-mr1.1-dev
Chet Haase [Tue, 27 Nov 2012 20:47:15 +0000 (12:47 -0800)]
Merge "Fix infinite recursive loop DO NOT MERGE" into jb-mr1.1-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 27 Nov 2012 20:46:53 +0000 (12:46 -0800)]
Import translations. DO NOT MERGE

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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 27 Nov 2012 20:45:19 +0000 (12:45 -0800)]
Import translations. DO NOT MERGE

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

11 years agoFix infinite recursive loop DO NOT MERGE
László Dávid [Thu, 22 Nov 2012 23:26:22 +0000 (00:26 +0100)]
Fix infinite recursive loop DO NOT MERGE

FindBugs description:

There is an apparent recursive loop at IntProperty.java
in method set(Object, Integer)

This method unconditionally invokes itself. This would seem
to indicate an infinite recursive loop that will result in a stack overflow.

Note: Checked into AOSP. Cherry-picking for mr1.1.

Issue #7621806 IntProperty has infinite recursion bug

Change-Id: I2f52dd3689198cb948925aa65dd9c95be7888fe7

11 years agoMerge "Improve debugging for issue #7586414: AlarmManager wakelocks held" into jb...
Dianne Hackborn [Tue, 27 Nov 2012 19:06:34 +0000 (11:06 -0800)]
Merge "Improve debugging for issue #7586414: AlarmManager wakelocks held" into jb-mr1.1-dev

11 years agoImprove debugging for issue #7586414: AlarmManager wakelocks held
Dianne Hackborn [Tue, 27 Nov 2012 01:04:09 +0000 (17:04 -0800)]
Improve debugging for issue #7586414: AlarmManager wakelocks held

In alarm manager, print a summary of the top 10 alarms by time
being executed.  Keep track of execution time (and wake count) of
each type of alarm for each application so this can be printed in
the summary (and used to compute the top 10 alarms).  Rework how
the alarm summary stats are tracked so that we don't need to hold
on to the full Intent for each stat and can get the Intent information
at the time the alarm is sent rather than waiting for whatever Intent
comes back in the result.

Also in the battery stats: sort the kernel wake locks by time, add
a new section showing all partial wake locks across all applications
sorted by time.

Finally a new LocalLog class that is used by AlarmManager to log
important warning messages, so these can also be later found in
its dumpsys output.

Change-Id: Icc07810053e60fb623a49937e696819cb8352b06

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Tue, 27 Nov 2012 15:33:31 +0000 (07:33 -0800)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I60dc4bad2244ed88aec29926b08dcecf3a07462e

11 years agoMerge "Hide current soft input when a background user gains window focus." into jb...
Satoshi Kataoka [Tue, 27 Nov 2012 03:39:18 +0000 (19:39 -0800)]
Merge "Hide current soft input when a background user gains window focus." into jb-mr1.1-dev

11 years agoam abb4a700: Update the content shell command\'s usage instructions.
Svetoslav Ganov [Tue, 27 Nov 2012 01:22:40 +0000 (17:22 -0800)]
am abb4a700: Update the content shell command\'s usage instructions.

* commit 'abb4a7008a1f5eab6cfaf7e9dd4779e549c21714':
  Update the content shell command's usage instructions.

11 years agoMerge "Logging to help find the cause of widget crash in clock widget." into jb-mr1...
Amith Yamasani [Tue, 27 Nov 2012 00:22:23 +0000 (16:22 -0800)]
Merge "Logging to help find the cause of widget crash in clock widget." into jb-mr1.1-dev

11 years agoMerge "Removing unecessary additional lock metadata from QuickSettings user tile...
Winson Chung [Tue, 27 Nov 2012 00:20:00 +0000 (16:20 -0800)]
Merge "Removing unecessary additional lock metadata from QuickSettings user tile." into jb-mr1.1-dev

11 years agoMerge "Fix bug where icon animation is sometimes skipped" into jb-mr1.1-dev
Michael Jurka [Tue, 27 Nov 2012 00:15:19 +0000 (16:15 -0800)]
Merge "Fix bug where icon animation is sometimes skipped" into jb-mr1.1-dev

11 years agoLogging to help find the cause of widget crash in clock widget.
Amith Yamasani [Wed, 21 Nov 2012 22:06:07 +0000 (14:06 -0800)]
Logging to help find the cause of widget crash in clock widget.

This will continue to crash as before, but will show some useful
information in the exception.

Bug: 7450247

Change-Id: Ib3160a5f64154517791d165973c12294ecd09901

11 years agoRemoving unecessary additional lock metadata from QuickSettings user tile.
Winson Chung [Mon, 26 Nov 2012 22:43:24 +0000 (14:43 -0800)]
Removing unecessary additional lock metadata from QuickSettings user tile.

Change-Id: I89ec94385eb3cdd46ad6942bf8989fb04d5c0370

11 years agoMerge "Removing the plus page when we reach the max number of allowable widgets....
Winson Chung [Mon, 26 Nov 2012 19:46:38 +0000 (11:46 -0800)]
Merge "Removing the plus page when we reach the max number of allowable widgets. (Bug 7564782)" into jb-mr1.1-dev

11 years agoRemoving the plus page when we reach the max number of allowable widgets. (Bug 7564782)
Winson Chung [Wed, 21 Nov 2012 01:06:04 +0000 (17:06 -0800)]
Removing the plus page when we reach the max number of allowable widgets. (Bug 7564782)

- Also adding feedback on the plus page (Bug 7500328)

Change-Id: Iddd09b7a3d5347a43bc040052114879cbaecccd9

11 years agoMerge "Ignore invalid combination of PowerManager flags." into jb-mr1.1-dev
Craig Mautner [Mon, 26 Nov 2012 19:34:39 +0000 (11:34 -0800)]
Merge "Ignore invalid combination of PowerManager flags." into jb-mr1.1-dev

11 years agoMerge "Allow long-press on Wifi and Bluetooth tiles to toggle." into jb-mr1.1-dev
Daniel Sandler [Mon, 26 Nov 2012 19:33:06 +0000 (11:33 -0800)]
Merge "Allow long-press on Wifi and Bluetooth tiles to toggle." into jb-mr1.1-dev

11 years agoMerge "Use correct alpha value when a color is not set on a GradientDrawable." into...
Chet Haase [Mon, 26 Nov 2012 18:20:28 +0000 (10:20 -0800)]
Merge "Use correct alpha value when a color is not set on a GradientDrawable." into jb-mr1.1-dev

11 years agoUpdate the content shell command's usage instructions.
Svetoslav Ganov [Thu, 22 Nov 2012 00:13:38 +0000 (16:13 -0800)]
Update the content shell command's usage instructions.

The usage instructions of the content shell command were missing some
excape charecters which caused the examples not to work. As a result
of the incorrect instructions users are prone to constructing incorrect
commands.

bug:7526252

Change-Id: I2fcc4dd1fd05806fe951245651b97e40a4786d24

11 years agoMerge "Copy missing state in DrawableContainer" into jb-mr1.1-dev
Romain Guy [Mon, 26 Nov 2012 17:44:29 +0000 (09:44 -0800)]
Merge "Copy missing state in DrawableContainer" into jb-mr1.1-dev

11 years agoMerge "Cleanup: add PointF.toString()/equals()/hashcode()" into jb-mr1.1-dev
Romain Guy [Mon, 26 Nov 2012 17:44:27 +0000 (09:44 -0800)]
Merge "Cleanup: add PointF.toString()/equals()/hashcode()" into jb-mr1.1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1.1-dev
Baligh Uddin [Mon, 26 Nov 2012 17:18:24 +0000 (09:18 -0800)]
Merge "Import translations. DO NOT MERGE" into jb-mr1.1-dev

11 years agoam f7f1c6a7: Import translations. DO NOT MERGE
Baligh Uddin [Mon, 26 Nov 2012 17:18:00 +0000 (09:18 -0800)]
am f7f1c6a7: Import translations. DO NOT MERGE

* commit 'f7f1c6a78ec12ca6618313f010b30d9dffee9b49':
  Import translations. DO NOT MERGE

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 23 Nov 2012 05:54:25 +0000 (21:54 -0800)]
Import translations. DO NOT MERGE

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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 23 Nov 2012 05:52:46 +0000 (21:52 -0800)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1.1-dev
Baligh Uddin [Thu, 22 Nov 2012 19:03:22 +0000 (11:03 -0800)]
Merge "Import translations. DO NOT MERGE" into jb-mr1.1-dev

11 years agoam 0edbc0eb: Import translations. DO NOT MERGE
Baligh Uddin [Thu, 22 Nov 2012 19:03:31 +0000 (11:03 -0800)]
am 0edbc0eb: Import translations. DO NOT MERGE

* commit '0edbc0eb76eb0b493f9cd9971d41543ec79136d5':
  Import translations. DO NOT MERGE

11 years agoFix a couple issues with page / outline alphas (issue 7488857)
Adam Cohen [Thu, 22 Nov 2012 00:49:13 +0000 (16:49 -0800)]
Fix a couple issues with page / outline alphas (issue 7488857)

-> Fix bug where page hints didn't disappear on boot
-> Fix bug where you see a weird rotated page under the
   lock affordance (usually after adding a widget)

Change-Id: I75b04ceadbc296d033cc9fb1cff32ab9d6e5ce9b

11 years agoFix reboot loop caused by keyguard appwidget cleanup
Michael Jurka [Wed, 21 Nov 2012 22:02:34 +0000 (14:02 -0800)]
Fix reboot loop caused by keyguard appwidget cleanup

Bug: 7591092

11 years agoIgnore invalid combination of PowerManager flags.
Craig Mautner [Wed, 21 Nov 2012 02:21:12 +0000 (18:21 -0800)]
Ignore invalid combination of PowerManager flags.

ACQUIRE_CAUSES_WAKEUP is supposed to be ignored if combined with
PARTIAL_WAKE_LOCK. Instead it was being carried out for any values
of the WakeLock level.

This change reverts behavior to closely match
previous releases of the framework by only honoring
ACQUIRE_CAUSES_WAKEUP for screen wake lock levels. The only
difference being that in previous releases ACQUIRE_ could have been
combined with PROXIMITY_SCREEN_OFF_WAKE_LOCK (it never was) and
now such a combination will ignore the ACQUIRE_ flag.

Bug 7532258 fixed.

Change-Id: I46e848d8fd1b57e54c63141bf3d4f353986b5bdf

11 years agoFix bug where icon animation is sometimes skipped
Michael Jurka [Wed, 21 Nov 2012 00:46:09 +0000 (16:46 -0800)]
Fix bug where icon animation is sometimes skipped

Bug: 7406230
Bug: 7406304

Change-Id: I9058acffa6587a5f8e757f1031750a8ba578c635

11 years agoUse correct alpha value when a color is not set on a GradientDrawable.
Chet Haase [Wed, 21 Nov 2012 19:17:39 +0000 (11:17 -0800)]
Use correct alpha value when a color is not set on a GradientDrawable.

A previous fix ensured that color filters would have a default (black) color to
interact with if no color was set on the GradientDrawable object. However, that fix
assumed an opaque alpha value, which is not always the case. Specifically, calling
setImageAlpha() on an ImageView with a shape drawable source (as in the bug here)
caused the alpha to be set to a translucent value, which was then ignored in the fix
above.

The fix is to account for the current alpha value of the GradientDrawable object
when setting the color used by the paint object.

Issue #7592193 ImageView.setImageAlpha() broken when colorFilter is in use

Change-Id: Ie622ffca776fdd8731ced78ce1f683ca6a51dec8

11 years agoMerge "Added app launch test." into jb-mr1.1-dev
Maxim Siniavine [Wed, 21 Nov 2012 19:10:19 +0000 (11:10 -0800)]
Merge "Added app launch test." into jb-mr1.1-dev

11 years agoMerge "Fix IME down caret in keyguard nav bar bug." into jb-mr1.1-dev
John Spurlock [Wed, 21 Nov 2012 14:44:00 +0000 (06:44 -0800)]
Merge "Fix IME down caret in keyguard nav bar bug." into jb-mr1.1-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 21 Nov 2012 06:37:24 +0000 (22:37 -0800)]
Import translations. DO NOT MERGE

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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 21 Nov 2012 06:35:34 +0000 (22:35 -0800)]
Import translations. DO NOT MERGE

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

11 years agoCleanup: add PointF.toString()/equals()/hashcode()
Romain Guy [Wed, 21 Nov 2012 02:35:20 +0000 (18:35 -0800)]
Cleanup: add PointF.toString()/equals()/hashcode()

PointF was missing these methods found in Point.

This change also properly implements equals() and hashcode() for
Point to match the PointF implementations.

Change-Id: Ic97280fb9f8c7011d8a13103c67d6e898adf00c0

11 years agoCopy missing state in DrawableContainer
Romain Guy [Wed, 21 Nov 2012 02:32:37 +0000 (18:32 -0800)]
Copy missing state in DrawableContainer

The copy constructor of DrawableContainerState was not properly
copying all the state. This change adds the missing two fields
that should be copied over.

Change-Id: Ic92ba17ccf8fb3c8cbb5ead18690287da21c48a4

11 years agoAdded app launch test.
Maxim Siniavine [Tue, 2 Oct 2012 22:56:03 +0000 (15:56 -0700)]
Added app launch test.

The test will start each app and report the time it takes for
the app to start in milliseconds.

Change-Id: I974ac36f70f0d982aa01e46824fe138eb641d680

11 years agoMerge "Fix audio focus evaluation order for display update" into jb-mr1.1-dev
Jean-Michel Trivi [Wed, 21 Nov 2012 02:01:34 +0000 (18:01 -0800)]
Merge "Fix audio focus evaluation order for display update" into jb-mr1.1-dev

11 years agoFix audio focus evaluation order for display update
Jean-Michel Trivi [Wed, 21 Nov 2012 01:06:51 +0000 (17:06 -0800)]
Fix audio focus evaluation order for display update

Change 1f9196a8e5de9b004e61afabc70b18caf7cf9c7e introduced
 an issue when trying to ignore audio focus entries in the
 stack that don't use the music stream, or are for transient
 audio focus gain, for remote control display updates.
The bug was that the audio focus stack traversal was not
 starting from the top, as it should. It was using
 the iterator order, which, in the case of a stack, starts
 with the bottom-most entry.
The fix consists in traversing the stack from the top, i.e.
 from the last element of the vector used to hold the stack
 entries.

Bug 7311023

Change-Id: I0c1900dbf98599a621a420ab55531a3eee838fe5

11 years agoMerge "Refactor the lockscreen camera widget, removing the bitmap." into jb-mr1.1-dev
John Spurlock [Wed, 21 Nov 2012 00:01:21 +0000 (16:01 -0800)]
Merge "Refactor the lockscreen camera widget, removing the bitmap." into jb-mr1.1-dev

11 years agoMerge "DEFAULT_VIBRATE must always use the default vibe pattern" into jb-mr1.1-dev
Daniel Sandler [Tue, 20 Nov 2012 23:48:00 +0000 (15:48 -0800)]
Merge "DEFAULT_VIBRATE must always use the default vibe pattern" into jb-mr1.1-dev

11 years agoMerge "Fix for bug #7417949 TextView / EditText error Drawable is not put on the...
Fabrice Di Meglio [Tue, 20 Nov 2012 22:37:55 +0000 (14:37 -0800)]
Merge "Fix for bug #7417949 TextView / EditText error Drawable is not put on the left in RTL mode" into jb-mr1.1-dev

11 years agoSwitched to another method for launching apps.
Maxim Siniavine [Tue, 20 Nov 2012 19:29:26 +0000 (11:29 -0800)]
Switched to another method for launching apps.

Started using a separate thread which calls startActivityAndWait
for starting apps. Also increased the minimum and maximum lengths
of time to wait for apps to stabilize.

Change-Id: I49935a0ed1d1c230e58dc1629e5e4da6b3887903

11 years agoMerge "Add missing variable copies in Path copy constructor" into jb-mr1.1-dev
Chris Craik [Tue, 20 Nov 2012 19:38:05 +0000 (11:38 -0800)]
Merge "Add missing variable copies in Path copy constructor" into jb-mr1.1-dev

11 years agoFix IME down caret in keyguard nav bar bug.
John Spurlock [Wed, 14 Nov 2012 13:51:07 +0000 (08:51 -0500)]
Fix IME down caret in keyguard nav bar bug.

The input method manager service now keeps track of whether or not
the ime was shown on the keyguard.  This prevents activities behind
the keyguard from incorrectly showing the down-caret in the keyguard.

Bug:7498792
Change-Id: I0de01ec29cb544e902305b0f9d9fb94a73835e7b

11 years agoDEFAULT_VIBRATE must always use the default vibe pattern
Daniel Sandler [Tue, 20 Nov 2012 17:59:41 +0000 (12:59 -0500)]
DEFAULT_VIBRATE must always use the default vibe pattern

The logic here was backwards, causing the (softer) fallback vibe
pattern to be applied if the notification specified a sound
(or DEFAULT_SOUND) and also DEFAULT_VIBRATE. The fallback
vibe should only play if you have *no* vibration set.

Bug: 7588655
Change-Id: Iecdd362729bccedf779b51cc9b90a12014328aff

11 years agoam 55340e51: am 7112cd46: am 2f9947e9: am ddf10d44: Merge "Doc Update: Removed "no...
kmccormick@google.com [Tue, 20 Nov 2012 16:38:19 +0000 (08:38 -0800)]
am 55340e51: am 7112cd46: am 2f9947e9: am ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs

* commit '55340e51343a248260f89e953476b1c6e731842a':
  Doc Update: Removed "no guaranteed delivery" line.

11 years agoam e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed...
Svetoslav Ganov [Tue, 20 Nov 2012 16:38:16 +0000 (08:38 -0800)]
am e9812bae: Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev

* commit 'e9812bae0e0ce08bd232dc2371fdb959e4f7a318':
  Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)

11 years agoam aaec7269: (-s ours) Notification vibration improvements: [DO NOT MERGE]
Daniel Sandler [Tue, 20 Nov 2012 16:38:11 +0000 (08:38 -0800)]
am aaec7269: (-s ours) Notification vibration improvements: [DO NOT MERGE]

* commit 'aaec726948078dad0bcc5cbbb41bb2ee6a5a085b':
  Notification vibration improvements: [DO NOT MERGE]

11 years agoHide current soft input when a background user gains window focus.
Satoshi Kataoka [Mon, 19 Nov 2012 08:30:40 +0000 (17:30 +0900)]
Hide current soft input when a background user gains window focus.

Bug: 7507226
Change-Id: If58f68469e21eaaba8536c4b54b3aa8cf8c08eb5

11 years agoam 7112cd46: am 2f9947e9: am ddf10d44: Merge "Doc Update: Removed "no guaranteed...
kmccormick@google.com [Tue, 20 Nov 2012 00:58:10 +0000 (16:58 -0800)]
am 7112cd46: am 2f9947e9: am ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs

* commit '7112cd4687687203b35013f197089cb66508a14e':
  Doc Update: Removed "no guaranteed delivery" line.

11 years agoam 2f9947e9: am ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line...
kmccormick@google.com [Tue, 20 Nov 2012 00:54:48 +0000 (16:54 -0800)]
am 2f9947e9: am ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs

* commit '2f9947e9aa2b795dbc7db282a99a09410f1fadf2':
  Doc Update: Removed "no guaranteed delivery" line.

11 years agoam ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev...
kmccormick@google.com [Tue, 20 Nov 2012 00:53:11 +0000 (16:53 -0800)]
am ddf10d44: Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs

* commit 'ddf10d44c12fbd8ffb115c847913296b455f412d':
  Doc Update: Removed "no guaranteed delivery" line.

11 years agoMerge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs
&& repo sync -j8 [Tue, 20 Nov 2012 00:51:08 +0000 (16:51 -0800)]
Merge "Doc Update: Removed "no guaranteed delivery" line." into jb-dev-docs

11 years agoRevert "NumberPicker should adjust min and max when displayed values are set." (a...
Svetoslav Ganov [Mon, 19 Nov 2012 20:33:41 +0000 (12:33 -0800)]
Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)

This reverted change was adjusting the min and max values for the NumberPicker
which is not desirable since it changes behavior and it will be possible for
an app that works on the current platform to crash on an older one. Also the
adjustment was not implemented correctly.

Updated the documentation to clarify the reltionship between the min value,
max value, and the displayed values array.

Bug:7518172

This reverts commit a1410e6789ce72bc423793315a51aea8b6bad6c7

Change-Id: I109f1b1f54c1e609941243cabab9241871b6b12b

11 years agoNotification vibration improvements: [DO NOT MERGE]
Daniel Sandler [Wed, 14 Nov 2012 04:49:47 +0000 (20:49 -0800)]
Notification vibration improvements: [DO NOT MERGE]

 - When notifications vibrate as a fallback (that is,
   because they want to play a sound but the device is in
   vibrate mode), this no longer requires the VIBRATE
   permission.
 - As a bonus, if your notifications use DEFAULT_VIBRATE,
   you don't need the VIBRATE permission either.
 - If you specify a custom vibration pattern, you'll still
   need the VIBRATE permission for that.
 - Notifications vibrating in fallback mode use same
   vibration pattern but can be changed easily in future.
 - The DEFAULT_VIBRATE and fallback vibrate patterns are now
   specified in config.xml.

Bug: 7531442
Change-Id: I7a2d8413d1becc53b9d31f0d1abbc2acc3f650c6

11 years agoMerge "Revert "NumberPicker should adjust min and max when displayed values are set...
Svetoslav Ganov [Mon, 19 Nov 2012 23:50:19 +0000 (15:50 -0800)]
Merge "Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)" into jb-mr1-dev

11 years agoRevert "NumberPicker should adjust min and max when displayed values are set." (a...
Svetoslav Ganov [Mon, 19 Nov 2012 20:33:41 +0000 (12:33 -0800)]
Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)

This reverted change was adjusting the min and max values for the NumberPicker
which is not desirable since it changes behavior and it will be possible for
an app that works on the current platform to crash on an older one. Also the
adjustment was not implemented correctly.

Updated the documentation to clarify the reltionship between the min value,
max value, and the displayed values array.

Bug:7518172

This reverts commit a1410e6789ce72bc423793315a51aea8b6bad6c7

Change-Id: I109f1b1f54c1e609941243cabab9241871b6b12b

11 years agoNotification vibration improvements: [DO NOT MERGE]
Daniel Sandler [Wed, 14 Nov 2012 04:49:47 +0000 (20:49 -0800)]
Notification vibration improvements: [DO NOT MERGE]

 - When notifications vibrate as a fallback (that is,
   because they want to play a sound but the device is in
   vibrate mode), this no longer requires the VIBRATE
   permission.
 - As a bonus, if your notifications use DEFAULT_VIBRATE,
   you don't need the VIBRATE permission either.
 - If you specify a custom vibration pattern, you'll still
   need the VIBRATE permission for that.
 - Notifications vibrating in fallback mode use same
   vibration pattern but can be changed easily in future.
 - The DEFAULT_VIBRATE and fallback vibrate patterns are now
   specified in config.xml.

Bug: 7531442
Change-Id: I7a2d8413d1becc53b9d31f0d1abbc2acc3f650c6

11 years agoMerge "Fix Javadoc for View layoutDirection / textDirection / textAlignment" into...
Fabrice Di Meglio [Mon, 19 Nov 2012 22:27:34 +0000 (14:27 -0800)]
Merge "Fix Javadoc for View layoutDirection / textDirection / textAlignment" into jb-mr1.1-dev

11 years agoRefactor the lockscreen camera widget, removing the bitmap.
John Spurlock [Thu, 15 Nov 2012 13:04:45 +0000 (08:04 -0500)]
Refactor the lockscreen camera widget, removing the bitmap.

The new approach is to create two views:
 - Widget preview, drawn at full-size, then scaled to fit frame.
 - Fullscreen preview, drawn at full-size, used during animation.

Two views are necessary to both ensure the widget scrolls properly
with the widget page yet still appears to scale up and match
the camera app pixel for pixel.

The offscreen bitmap and associated background rendering is no
longer necessary.  This avoids the large allocation and associated
rendering time after turning screen on.

Also fixes 1px horizontal discrepancy during old scale-up anim.

Also suppresses long-click behavior on the camera widget.

Bug:7471107
Bug:7559755
Change-Id: I1d834aa743bc05d6a7e2ce3eadfee8d5ff40da37

11 years agoMerge "Show mobile data RSSI for devices that support it." into jb-mr1.1-dev
Daniel Sandler [Mon, 19 Nov 2012 19:56:35 +0000 (11:56 -0800)]
Merge "Show mobile data RSSI for devices that support it." into jb-mr1.1-dev

11 years agoam 721b370c: Merge "cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be...
Scott Main [Mon, 19 Nov 2012 19:48:28 +0000 (11:48 -0800)]
am 721b370c: Merge "cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo" into jb-mr1-dev

* commit '721b370c5a2d787795257ac42317d389445e51f9':
  cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo

11 years agoMerge "cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo...
Scott Main [Mon, 19 Nov 2012 19:44:58 +0000 (11:44 -0800)]
Merge "cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8 Fix typo" into jb-mr1-dev

11 years agocherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8
Jaewan Kim [Fri, 16 Nov 2012 06:59:55 +0000 (15:59 +0900)]
cherrypick from Change-Id: I70cb9111ff5f5a156cecb433b3baf7925a6be1a8
Fix typo

Change-Id: Idd09f7fea890dbc290589b1ebe4a1a139f98c740

11 years agoShow mobile data RSSI for devices that support it.
Daniel Sandler [Thu, 8 Nov 2012 04:39:41 +0000 (23:39 -0500)]
Show mobile data RSSI for devices that support it.

The new test is more general, allowing mobile RSSI to be
shown on devices without voice telephony.

Bug: 7490266
Change-Id: Ib5b243c0d92e74fe4385989c3a6c16edd00a9ec9

11 years agoMerge "Fix an inconsistent state with IMMS and Settings when the hard keyboard is...
Satoshi Kataoka [Sun, 18 Nov 2012 05:53:02 +0000 (21:53 -0800)]
Merge "Fix an inconsistent state with IMMS and Settings when the hard keyboard is connected" into jb-mr1.1-dev

11 years agoam bd7ff05e: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Sat, 17 Nov 2012 01:50:13 +0000 (17:50 -0800)]
am bd7ff05e: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

* commit 'bd7ff05e65113cd6fa5b7e0df9c7023e8cd60ac0':
  Import translations. DO NOT MERGE

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1.1-dev
Baligh Uddin [Sat, 17 Nov 2012 01:45:24 +0000 (17:45 -0800)]
Merge "Import translations. DO NOT MERGE" into jb-mr1.1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Sat, 17 Nov 2012 01:43:42 +0000 (17:43 -0800)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoam 9d45abd4: Import translations. DO NOT MERGE
Baligh Uddin [Sat, 17 Nov 2012 01:39:20 +0000 (17:39 -0800)]
am 9d45abd4: Import translations. DO NOT MERGE

* commit '9d45abd4aa761af65e27eb2300b50f35526a4b61':
  Import translations. DO NOT MERGE

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1.1-dev
Baligh Uddin [Sat, 17 Nov 2012 01:38:00 +0000 (17:38 -0800)]
Merge "Import translations. DO NOT MERGE" into jb-mr1.1-dev

11 years agoMerge "Fix keyguard pin/simpin/simpuk RTL-ization" into jb-mr1.1-dev
Fabrice Di Meglio [Sat, 17 Nov 2012 00:35:59 +0000 (16:35 -0800)]
Merge "Fix keyguard pin/simpin/simpuk RTL-ization" into jb-mr1.1-dev

11 years agoAdd missing variable copies in Path copy constructor
Chris Craik [Sat, 17 Nov 2012 00:09:33 +0000 (16:09 -0800)]
Add missing variable copies in Path copy constructor

bug:7564602

Also, clear isSimplePath flag for possible translates, since rect drawing path
doesn't support them

Change-Id: Ibb4a3e87ace0feb16bce1c6032016c5f4643f8d6

11 years agoMerge "Delete appWidgetId when removing lockscreen widgets" into jb-mr1.1-dev
Michael Jurka [Fri, 16 Nov 2012 23:29:16 +0000 (15:29 -0800)]
Merge "Delete appWidgetId when removing lockscreen widgets" into jb-mr1.1-dev

11 years agoDelete appWidgetId when removing lockscreen widgets
Michael Jurka [Fri, 16 Nov 2012 02:22:47 +0000 (18:22 -0800)]
Delete appWidgetId when removing lockscreen widgets

Bug: 7550012

Change-Id: Ia9f5266256016eb91bfd6a2d5a7f910c42948f1e

11 years agoFix keyguard pin/simpin/simpuk RTL-ization
Jim Miller [Thu, 15 Nov 2012 02:35:02 +0000 (18:35 -0800)]
Fix keyguard pin/simpin/simpuk RTL-ization

This fixes the PIN, SIM PIN, and SIM PUK keyboards to keep the keys in the same
position for all languages.

Fixes bug 7538528

Change-Id: Ib07e89e9496e6c5b91c1bbda7781eddeddea0554

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

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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 16 Nov 2012 22:10:37 +0000 (14:10 -0800)]
Import translations. DO NOT MERGE

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

11 years agoMerge "grant shell user EXPAND_STATUS_BAR permission" into jb-mr1.1-dev
Guang Zhu [Fri, 16 Nov 2012 22:06:00 +0000 (14:06 -0800)]
Merge "grant shell user EXPAND_STATUS_BAR permission" into jb-mr1.1-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 16 Nov 2012 21:51:42 +0000 (13:51 -0800)]
Import translations. DO NOT MERGE

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

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 16 Nov 2012 21:49:29 +0000 (13:49 -0800)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Make sure that the owner user is marked initialized." into jb-mr1.1-dev
Amith Yamasani [Fri, 16 Nov 2012 18:43:47 +0000 (10:43 -0800)]
Merge "Make sure that the owner user is marked initialized." into jb-mr1.1-dev

11 years agoam 33e499ea: docs: move articles into group directory
Scott Main [Fri, 16 Nov 2012 17:52:27 +0000 (09:52 -0800)]
am 33e499ea: docs: move articles into group directory

* commit '33e499ea364e4e061964bc8fe16365fd632eb39d':
  docs: move articles into group directory

11 years agoAllow long-press on Wifi and Bluetooth tiles to toggle.
Daniel Sandler [Tue, 23 Oct 2012 02:13:35 +0000 (22:13 -0400)]
Allow long-press on Wifi and Bluetooth tiles to toggle.

Bug: 7395607
Change-Id: Ia929dc2cb12eef221fe6f0214ec44c3dc98b0597

11 years agodocs: move articles into group directory
Scott Main [Fri, 16 Nov 2012 16:54:27 +0000 (08:54 -0800)]
docs: move articles into group directory

Change-Id: If90f5ac284d8df16b830d5744fbd684e5b1b34e3

11 years agoFix an inconsistent state with IMMS and Settings when the hard keyboard is connected
Satoshi Kataoka [Fri, 16 Nov 2012 04:17:54 +0000 (13:17 +0900)]
Fix an inconsistent state with IMMS and Settings when the hard keyboard is connected

Bug: 7540140
Change-Id: Iaac951ff457c35751b442e84ac07f1f86be93494

11 years agogrant shell user EXPAND_STATUS_BAR permission
Guang Zhu [Fri, 16 Nov 2012 03:49:42 +0000 (19:49 -0800)]
grant shell user EXPAND_STATUS_BAR permission

Bug: 7555251
Change-Id: I68cebb26bcee060c56e124941f3ea9289ab2b3bf

11 years agoam fa1320e6: docs: revise getting started intro
Scott Main [Fri, 16 Nov 2012 02:33:30 +0000 (18:33 -0800)]
am fa1320e6: docs: revise getting started intro

* commit 'fa1320e6148285b2125369fcd5799331132b0eba':
  docs: revise getting started intro

11 years agodocs: revise getting started intro
Scott Main [Fri, 16 Nov 2012 02:27:32 +0000 (18:27 -0800)]
docs: revise getting started intro

Change-Id: I7561da6ae2f21e31370f5dbbd121f2c6084523c1

11 years agoam 4e2e9bae: docs: update checksums/sizes for new adt bundles
Scott Main [Fri, 16 Nov 2012 01:11:44 +0000 (17:11 -0800)]
am 4e2e9bae: docs: update checksums/sizes for new adt bundles

* commit '4e2e9bae4082dffa8c59ee10204fd265dfb896bc':
  docs: update checksums/sizes for new adt bundles

11 years agodocs: update checksums/sizes for new adt bundles
Scott Main [Fri, 16 Nov 2012 01:09:19 +0000 (17:09 -0800)]
docs: update checksums/sizes for new adt bundles

Change-Id: Id1245a9f1ce7cf4854e8f39a9938b00aa18e4cca

11 years agoam d4ff8249: Merge "docs: update sdk install to handle both 32 and 64-bit bundles...
Scott Main [Thu, 15 Nov 2012 23:22:31 +0000 (15:22 -0800)]
am d4ff8249: Merge "docs: update sdk install to handle both 32 and 64-bit bundles" into jb-mr1-dev

* commit 'd4ff824915e1c9ea1c3122b5745973f681915279':
  docs: update sdk install to handle both 32 and 64-bit bundles

11 years agoMerge "docs: update sdk install to handle both 32 and 64-bit bundles" into jb-mr1-dev
Scott Main [Thu, 15 Nov 2012 23:19:11 +0000 (15:19 -0800)]
Merge "docs: update sdk install to handle both 32 and 64-bit bundles" into jb-mr1-dev

11 years agodocs: update sdk install to handle both 32 and 64-bit bundles
Scott Main [Thu, 15 Nov 2012 22:56:52 +0000 (14:56 -0800)]
docs: update sdk install to handle both 32 and 64-bit bundles

Change-Id: I171f28a332c4d31600865f6ad8f6a95fb4f0c3aa