OSDN Git Service

android-x86/frameworks-base.git
11 years agoFix build.
Dianne Hackborn [Thu, 29 Nov 2012 02:46:45 +0000 (18:46 -0800)]
Fix build.

Change-Id: Icc1f2913b4e889609066b0ff1dddcd9be0230897

11 years agoMerge "Cleaner initial boot." into jb-mr1.1-dev
Dianne Hackborn [Thu, 29 Nov 2012 02:19:09 +0000 (18:19 -0800)]
Merge "Cleaner initial boot." into jb-mr1.1-dev

11 years agoMerge "Use the same interrupt/resume logic for all functor calls" into jb-mr1.1-dev
Chris Craik [Thu, 29 Nov 2012 02:11:22 +0000 (18:11 -0800)]
Merge "Use the same interrupt/resume logic for all functor calls" into jb-mr1.1-dev

11 years agoCleaner initial boot.
Dianne Hackborn [Thu, 29 Nov 2012 02:05:36 +0000 (18:05 -0800)]
Cleaner initial boot.

This does some cleanup of the initial boot, especially when
booting in "no core apps" mode for encryption/decryption.

Change-Id: Ifb3949f580e52f54559e603c4b0b104f6bac2f6c

11 years agoMerge "Making sure keyguard and homescreen only display eligible widgets (issue 75500...
Adam Cohen [Thu, 29 Nov 2012 01:47:22 +0000 (17:47 -0800)]
Merge "Making sure keyguard and homescreen only display eligible widgets (issue 7550090)" into jb-mr1.1-dev

11 years agoMerge "Secure a handful of framework broadcasts" into jb-mr1.1-dev
Robert Greenwalt [Thu, 29 Nov 2012 01:40:02 +0000 (17:40 -0800)]
Merge "Secure a handful of framework broadcasts" into jb-mr1.1-dev

11 years agoSecure a handful of framework broadcasts
Robert Greenwalt [Thu, 29 Nov 2012 00:42:32 +0000 (16:42 -0800)]
Secure a handful of framework broadcasts

At least one of these was getting spoofed in the wild.
We don't want to go too far this late in the game, but this is a good start.

bug:7622253
Change-Id: Id8ec2778b15fe001e6fd0d5a010181bb21c52ad8

11 years agoMaking sure keyguard and homescreen only display eligible widgets (issue 7550090)
Adam Cohen [Thu, 29 Nov 2012 00:34:57 +0000 (16:34 -0800)]
Making sure keyguard and homescreen only display eligible widgets (issue 7550090)

Change-Id: I25acb7bde2e8e5ac3185a009f5c7151b81f0ae19

11 years agoMerge "WFD: Fallback to PIN mode if PBC is not supported" into jb-mr1.1-dev
Irfan Sheriff [Thu, 29 Nov 2012 00:28:40 +0000 (16:28 -0800)]
Merge "WFD: Fallback to PIN mode if PBC is not supported" into jb-mr1.1-dev

11 years agoWFD: Fallback to PIN mode if PBC is not supported
Irfan Sheriff [Wed, 28 Nov 2012 23:54:06 +0000 (15:54 -0800)]
WFD: Fallback to PIN mode if PBC is not supported

Bug: 7627641
Change-Id: Ibba6114f907c67f1cb60c460d5b65479f2d1b148

11 years agoMerge "Fix bug #7621927 Radio button/TextView drawable regression in 4.2" into jb...
Fabrice Di Meglio [Wed, 28 Nov 2012 23:05:53 +0000 (15:05 -0800)]
Merge "Fix bug #7621927 Radio button/TextView drawable regression in 4.2" into jb-mr1.1-dev

11 years agoMerge "Quiet down a lot of logging." into jb-mr1.1-dev
Dianne Hackborn [Wed, 28 Nov 2012 23:03:39 +0000 (15:03 -0800)]
Merge "Quiet down a lot of logging." into jb-mr1.1-dev

11 years agoUse the same interrupt/resume logic for all functor calls
Chris Craik [Wed, 28 Nov 2012 22:45:04 +0000 (14:45 -0800)]
Use the same interrupt/resume logic for all functor calls

bug:7093396

The functor was able to change the renderer's blend mode without it
being restored in process mode. This single path of updating gl caches
reduces likelihood of this occurring in the future.

Change-Id: Ie367532f9c683299f02bc4f635d7cb31f96db39f

11 years agoam 23cc5d99: Merge "docs: revisions to gps landing pages" into jb-mr1-dev
Scott Main [Wed, 28 Nov 2012 21:17:36 +0000 (13:17 -0800)]
am 23cc5d99: Merge "docs: revisions to gps landing pages" into jb-mr1-dev

* commit '23cc5d99fcb97c5a369b3ddf7f90505f6bb29363':
  docs: revisions to gps landing pages

11 years agoam f4d44618: Merge " Doc change - cherry pick from dac-dev: Clean up stray image...
Dirk Dougherty [Wed, 28 Nov 2012 21:17:28 +0000 (13:17 -0800)]
am f4d44618: Merge " Doc change - cherry pick from dac-dev: Clean up stray image source files and adjust links etc." into jb-mr1-dev

* commit 'f4d44618aa43b85c8a2a5bdd95e7454e2736452a':
  Doc change - cherry pick from dac-dev: Clean up stray image source files and adjust links etc.

11 years agoMerge "docs: revisions to gps landing pages" into jb-mr1-dev
Scott Main [Wed, 28 Nov 2012 21:14:45 +0000 (13:14 -0800)]
Merge "docs: revisions to gps landing pages" into jb-mr1-dev

11 years agoMerge " Doc change - cherry pick from dac-dev: Clean up stray image source files...
Dirk Dougherty [Wed, 28 Nov 2012 21:14:03 +0000 (13:14 -0800)]
Merge " Doc change - cherry pick from dac-dev: Clean up stray image source files and adjust links etc." into jb-mr1-dev

11 years agoMerge "Ignoring FUL unlock signal if user changed fixes b/7572354" into jb-mr1.1-dev
Brian Colonna [Wed, 28 Nov 2012 20:46:13 +0000 (12:46 -0800)]
Merge "Ignoring FUL unlock signal if user changed fixes b/7572354" into jb-mr1.1-dev

11 years agoMerge "Settings shows it is connected to A2DP, though the device is not actually...
Zhihai Xu [Wed, 28 Nov 2012 20:19:41 +0000 (12:19 -0800)]
Merge "Settings shows it is connected to A2DP, though the device is not actually connected" into jb-mr1.1-dev

11 years agoFix bug #7621927 Radio button/TextView drawable regression in 4.2
Fabrice Di Meglio [Wed, 28 Nov 2012 01:44:33 +0000 (17:44 -0800)]
Fix bug #7621927 Radio button/TextView drawable regression in 4.2

- as we remove the 9 patch padding trick, we need also to do the correct
positioning of the radio / checkbox / star during draw

Change-Id: I02b67bef9c0f2dc1c0c65361de14ab20ce9b881d

11 years agoMerge "Remove overzealous mutate() sanity check in LayerDrawable" into jb-mr1.1-dev
Adam Powell [Wed, 28 Nov 2012 19:27:09 +0000 (11:27 -0800)]
Merge "Remove overzealous mutate() sanity check in LayerDrawable" into jb-mr1.1-dev

11 years agodocs: revisions to gps landing pages
Scott Main [Wed, 28 Nov 2012 19:01:37 +0000 (11:01 -0800)]
docs: revisions to gps landing pages

Change-Id: Ie9f2cf526a3ea328ce22dfb208e7eb95add56d0b

11 years agoMerge "Cannot enable Bluetooth after using airplane and Bluetooth tethering sequentia...
Zhihai Xu [Wed, 28 Nov 2012 19:21:39 +0000 (11:21 -0800)]
Merge "Cannot enable Bluetooth after using airplane and Bluetooth tethering sequentially" into jb-mr1.1-dev

11 years agoam 35473e6e: Merge "docs: update dreamservice description" into jb-mr1-dev
Scott Main [Wed, 28 Nov 2012 18:40:18 +0000 (10:40 -0800)]
am 35473e6e: Merge "docs: update dreamservice description" into jb-mr1-dev

* commit '35473e6e6d2d17c859173ca0cf0dfdcfcb0b4663':
  docs: update dreamservice description

11 years agoMerge "docs: update dreamservice description" into jb-mr1-dev
Scott Main [Wed, 28 Nov 2012 18:05:30 +0000 (10:05 -0800)]
Merge "docs: update dreamservice description" into jb-mr1-dev

11 years agoMerge "Stop caching stream duration, it might change (increase) dynamically." into...
Andreas Huber [Wed, 28 Nov 2012 17:38:45 +0000 (09:38 -0800)]
Merge "Stop caching stream duration, it might change (increase) dynamically." into jb-mr1.1-dev

11 years agoMerge "New timings for default & fallback notification vibration." into jb-mr1.1-dev
Daniel Sandler [Wed, 28 Nov 2012 14:22:53 +0000 (06:22 -0800)]
Merge "New timings for default & fallback notification vibration." into jb-mr1.1-dev

11 years agoQuiet down a lot of logging.
Dianne Hackborn [Wed, 28 Nov 2012 03:12:23 +0000 (19:12 -0800)]
Quiet down a lot of logging.

Also fix a little problem where the USER_STARTED broadcasts
were not being sent as ordered broadcasts(!).

Change-Id: I3aa3e0a9b3900967cdd2d115ee103371b0a50c41

11 years agoMerge "Cleanups in Notification.java." into jb-mr1.1-dev
Daniel Sandler [Wed, 28 Nov 2012 02:38:32 +0000 (18:38 -0800)]
Merge "Cleanups in Notification.java." into jb-mr1.1-dev

11 years agoMerge "Clean up the Builder test." into jb-mr1.1-dev
Daniel Sandler [Wed, 28 Nov 2012 02:13:11 +0000 (18:13 -0800)]
Merge "Clean up the Builder test." into jb-mr1.1-dev

11 years agoMerge "Refresh the status bar clock format on user switch." into jb-mr1.1-dev
Daniel Sandler [Wed, 28 Nov 2012 02:12:47 +0000 (18:12 -0800)]
Merge "Refresh the status bar clock format on user switch." into jb-mr1.1-dev

11 years agoam 58d55b04: am d60ea46f: am a880436f: am b7863a3c: Merge "Doc update: new Notify...
kmccormick@google.com [Wed, 28 Nov 2012 00:57:51 +0000 (16:57 -0800)]
am 58d55b04: am d60ea46f: am a880436f: am b7863a3c: Merge "Doc update: new Notify User AU class" into jb-dev-docs

* commit '58d55b0456a72daaf31c4e02227e82a8707ecf73':
  Doc update: new Notify User AU class

11 years agoam d60ea46f: am a880436f: am b7863a3c: Merge "Doc update: new Notify User AU class...
kmccormick@google.com [Wed, 28 Nov 2012 00:56:03 +0000 (16:56 -0800)]
am d60ea46f: am a880436f: am b7863a3c: Merge "Doc update: new Notify User AU class" into jb-dev-docs

* commit 'd60ea46fe7a9856ca592ff7dea79aa8ce80f5e66':
  Doc update: new Notify User AU class

11 years agoam a880436f: am b7863a3c: Merge "Doc update: new Notify User AU class" into jb-dev...
kmccormick@google.com [Wed, 28 Nov 2012 00:54:01 +0000 (16:54 -0800)]
am a880436f: am b7863a3c: Merge "Doc update: new Notify User AU class" into jb-dev-docs

* commit 'a880436f4416168d256822a23bd23f936136706d':
  Doc update: new Notify User AU class

11 years agoam b7863a3c: Merge "Doc update: new Notify User AU class" into jb-dev-docs
kmccormick@google.com [Wed, 28 Nov 2012 00:52:00 +0000 (16:52 -0800)]
am b7863a3c: Merge "Doc update: new Notify User AU class" into jb-dev-docs

* commit 'b7863a3ce4db964322783ff7e84acc5713e04d1d':
  Doc update: new Notify User AU class

11 years agoMerge "Doc update: new Notify User AU class" into jb-dev-docs
&& repo sync -j8 [Wed, 28 Nov 2012 00:49:36 +0000 (16:49 -0800)]
Merge "Doc update: new Notify User AU class" into jb-dev-docs

11 years agoDoc update: new Notify User AU class
&& repo sync -j8 [Thu, 4 Oct 2012 23:34:23 +0000 (16:34 -0700)]
Doc update: new Notify User AU class

Change-Id: Idcda9535c5aa2602cf4f0aecb3ab4b1518ab966b

11 years agoam d29457e4: Merge "docs: add new GMS landing and reference" into jb-mr1-dev
Robert Ly [Wed, 28 Nov 2012 00:35:19 +0000 (16:35 -0800)]
am d29457e4: Merge "docs: add new GMS landing and reference" into jb-mr1-dev

* commit 'd29457e40379d6df0cbf8bbbe5945f0827a0d19c':
  docs: add new GMS landing and reference

11 years agoMerge "docs: add new GMS landing and reference" into jb-mr1-dev
Robert Ly [Wed, 28 Nov 2012 00:32:04 +0000 (16:32 -0800)]
Merge "docs: add new GMS landing and reference" into jb-mr1-dev

11 years ago Doc change - cherry pick from dac-dev: Clean up stray image source files and adjust...
Dirk Dougherty [Sun, 14 Oct 2012 00:15:20 +0000 (17:15 -0700)]
 Doc change - cherry pick from dac-dev: Clean up stray image source files and adjust links etc.

Change-Id: I45de360c45426ab6d2e04ef6a9e5fa920ff63c57

11 years agoNew timings for default & fallback notification vibration.
Daniel Sandler [Wed, 28 Nov 2012 00:22:22 +0000 (19:22 -0500)]
New timings for default & fallback notification vibration.

Bug: 7599791
Change-Id: Ieae1cba864537b192be013e4f00131bcc59c6369

11 years agoMerge "Retain configuration change info and sync access." into jb-mr1.1-dev
Craig Mautner [Wed, 28 Nov 2012 00:17:45 +0000 (16:17 -0800)]
Merge "Retain configuration change info and sync access." into jb-mr1.1-dev

11 years agodocs: add new GMS landing and reference
Robert Ly [Wed, 14 Nov 2012 21:26:28 +0000 (13:26 -0800)]
docs: add new GMS landing and reference

Change-Id: I48c75dd5924bdf297b5368887084d148efcd66ba

11 years agoam 5f8c2dfe: Merge "Doc change: fix typo in jb docs." into jb-mr1-dev
Dirk Dougherty [Wed, 28 Nov 2012 00:08:00 +0000 (16:08 -0800)]
am 5f8c2dfe: Merge "Doc change: fix typo in jb docs." into jb-mr1-dev

* commit '5f8c2dfebe23d4a0a212138b2243059c24940d21':
  Doc change: fix typo in jb docs.

11 years agoMerge "Doc change: fix typo in jb docs." into jb-mr1-dev
Dirk Dougherty [Wed, 28 Nov 2012 00:06:10 +0000 (16:06 -0800)]
Merge "Doc change: fix typo in jb docs." into jb-mr1-dev

11 years agoDoc change: fix typo in jb docs.
Dirk Dougherty [Tue, 27 Nov 2012 23:59:37 +0000 (15:59 -0800)]
Doc change: fix typo in jb docs.

Change-Id: I1e9820685eb8f1aa5580643215f5a7edd0c99c07
Bug:  7621378

11 years agoStop caching stream duration, it might change (increase) dynamically.
Andreas Huber [Tue, 27 Nov 2012 23:06:56 +0000 (15:06 -0800)]
Stop caching stream duration, it might change (increase) dynamically.

Change-Id: Ia829f47602e6961f24464da36a0162b8c1d7d6c8
related-to-bug: 6870049

11 years agoMerge "Only wipe device if primary user (for failed password attempts)" into jb-mr1...
Amith Yamasani [Tue, 27 Nov 2012 23:37:40 +0000 (15:37 -0800)]
Merge "Only wipe device if primary user (for failed password attempts)" into jb-mr1.1-dev

11 years agoMerge "Fix bug: swiped apps in Recents come back on rotate" into jb-mr1.1-dev
Michael Jurka [Tue, 27 Nov 2012 22:49:41 +0000 (14:49 -0800)]
Merge "Fix bug: swiped apps in Recents come back on rotate" into jb-mr1.1-dev

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 agoRetain configuration change info and sync access.
Craig Mautner [Wed, 7 Nov 2012 21:55:47 +0000 (13:55 -0800)]
Retain configuration change info and sync access.

- If a window was hidden while the configuration changed and then
changed back WindowManagerService would not know that the change
had ever happened and wouldn't notify the window of this. Most
windows wouldn't care but because Keyguard inflates layouts while
it is hidden...

Bug 7094175 fixed?
Bug 7501099 fixed!

Change-Id: If27f5f1d333602dac7719dd39dbdf3fe7954aa06

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 agoRemove overzealous mutate() sanity check in LayerDrawable
Adam Powell [Tue, 27 Nov 2012 19:39:11 +0000 (11:39 -0800)]
Remove overzealous mutate() sanity check in LayerDrawable

Child drawables of a LayerDrawable should be able to mutate() as a
no-op even if they !canConstantState.

Bug 7622311

Change-Id: I32c00961310f23aaf9ad868c419cbefb9d27a1d2

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 agoFix bug: swiped apps in Recents come back on rotate
Michael Jurka [Tue, 27 Nov 2012 00:05:12 +0000 (16:05 -0800)]
Fix bug: swiped apps in Recents come back on rotate

Bug: 7409398

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