86619 Commits

Author SHA1 Message Date
Daniel Sandler
f249efcf37 Show clear all when returning from flip quick settings.
Bug: 7367906
Change-Id: I3c6d227d223f11c60a44ceee4cdf698aa2a0acc9
2012-10-17 16:42:36 -04:00
Christopher Tate
346acb123d Sanity-check erroneous backup agent instantiations
Two distinct changes:

Fix a bug seen in the wild where a newly-launched application will be
spuriously asked to instantiate a backup agent.  What was happening
there is that some Activity Manager state was being left stale in certain
circumstances, and then in combination with app uninstall / install, there
could be a case where uid reuse wound up looking like an app identity
match.

We now positively verify before instantiating the agent that the intended
backup target package is uid-compatible with the app process that the
instantiation was requested of.  The incomplete bookkeeping in the
Activity Manager has also been tightened up, and the Backup Manager is
more aggressive about cleaning up pending operations pertaining to
apps being uninstalled.

Bug 5874010

Change-Id: Ic389f4a96c9dcd0ba6b3962b579084033d8ae9f8
2012-10-17 13:36:15 -07:00
Daniel Sandler
2017a05662 You can only use the 2-finger shortcut when opening the panel.
Bug: 7348917
Change-Id: I585c57f5eede72801fe1547d774c75256a0824b0
2012-10-17 15:54:02 -04:00
Irfan Sheriff
90a80bb8ae Merge "Handle null BSSID" into jb-mr1-dev 2012-10-17 12:48:39 -07:00
Xia Wang
64e5aa73c5 Merge "Fix connectivity manager test for tablet with data connection, multi-user support bug#7366674" into jb-mr1-dev 2012-10-17 12:40:13 -07:00
Svetoslav Ganov
966496f5d5 Merge "More descriptive content description for quick settings toggle. Bug: 7362316 Change-Id: I7829402793e407e7ca483e1de2583df3b6c235bf" into jb-mr1-dev 2012-10-17 12:39:19 -07:00
Chet Haase
d95316e2c7 Merge "Skip drawing offscreen objects" into jb-mr1-dev 2012-10-17 12:36:24 -07:00
Romain Guy
16627347ef Merge "Enable mipmapping, without a deadlock this time Bug #7353771" into jb-mr1-dev 2012-10-17 12:32:50 -07:00
Romain Guy
5243957080 Enable mipmapping, without a deadlock this time
Bug #7353771

Change-Id: I89a08a58608e374f1c604a26ee0769d5850b2f7b
2012-10-17 12:14:11 -07:00
Xia Wang
2ab453b52b Fix connectivity manager test for tablet with data connection, multi-user support
bug#7366674

Change-Id: Ibbb4becebfc833529e85d8a311366586c5ba54ee
2012-10-17 12:03:29 -07:00
Daniel Sandler
26f544aef2 Merge "For Matias." into jb-mr1-dev 2012-10-17 11:56:14 -07:00
Irfan Sheriff
d4a149d9d0 Merge "Frequency conflict handling" into jb-mr1-dev 2012-10-17 11:52:14 -07:00
Chet Haase
b78ee0ef60 Skip drawing offscreen objects
Previous logic in ViewRoot would schedule and perform a draw
when it was requested by offscreen objects. The problem was that the
logic checking for an interesection between the offscreen invalidation rectangle
and the onscreen display rectangle was flawed. The fix was to use the return value
from Rect.intersect() to do the right thing and skip drawing.

Issue #7366568 Offscreen invalidates can cause useless work for framework

Change-Id: Ie4e277c695dacee39848a8a223f0c4ee34d9bb4d
2012-10-17 11:32:01 -07:00
Yu Shan Emily Lau
fc2652efed Merge "Fix the NPE for the memwriter." into jb-mr1-dev 2012-10-17 11:20:26 -07:00
Fabrice Di Meglio
e9a33c6098 Merge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware" into jb-mr1-dev 2012-10-17 11:18:13 -07:00
Fabrice Di Meglio
161cfef36d Merge "Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow" into jb-mr1-dev 2012-10-17 11:13:20 -07:00
Yu Shan Emily Lau
87b8a1c3b6 Fix the NPE for the memwriter.
Change-Id: Id3a5c8f29b0f6be994ea95eb62f1a0eec8fe75b5
2012-10-17 11:10:32 -07:00
Daniel Sandler
b702e5df25 Merge "Fix Bluetooth QS tile." into jb-mr1-dev 2012-10-17 11:06:21 -07:00
Daniel Sandler
25e1456ed8 Merge "Fade out the notification/settings panels just before close." into jb-mr1-dev 2012-10-17 11:06:21 -07:00
Romain Guy
6f931ccd31 Fix javadoc
Change-Id: Ie98dd00f41add876f3740f5d37781a10c6bd41fe
2012-10-17 11:06:11 -07:00
Daniel Sandler
f06125aab0 Merge "Fixes for QS:" into jb-mr1-dev 2012-10-17 11:05:20 -07:00
Justin Ho
144d405511 Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev 2012-10-17 10:50:39 -07:00
Justin Ho
57fca90ac6 Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
This reverts commit dcf59629beed8182759a1068ab8ee997935bef82

Change-Id: I27426a0ffe993973ffb0b05ce1ed3afe73fcd87d
2012-10-17 10:47:39 -07:00
Dianne Hackborn
dec9e1640a Merge "Fix issue #7343719: GlobalActions dialog (power off / airplane mode / sound off)" into jb-mr1-dev 2012-10-17 10:45:08 -07:00
Daniel Sandler
025e7cb4a1 Fade out the notification/settings panels just before close.
Bug: 7362346
Change-Id: I437a98f4400c0a14b038c268ccf78a322d992681
2012-10-17 13:42:58 -04:00
Daniel Sandler
6e2810bb98 Fixes for QS:
- don't show clear all on the settings page if a
   notification comes in
 - delay makeExpandedInvisible when all panels are collapsed
   to ensure that the last frame of panel animation can show
   in its entirety

Bug: 7362346
Change-Id: I5303f03ea5ee654e222aff0b62ab69f98dc16978
2012-10-17 13:42:57 -04:00
Irfan Sheriff
9f452d0b5c Frequency conflict handling
We now show a dialog to user and let him handle whether to choose wifi
or p2p when there is a frequency conflict.

If user chooses to disable wifi tempoarily, we disconnect wifi until
p2p connection is established and removed.

Bug: 6590401
Change-Id: I73871ddcb3732ae61997d8771b6aa90ad56270af
2012-10-17 10:35:39 -07:00
Bart Sears
0ee71adde0 Merge "Fix native crash while saving a panorama." into jb-mr1-dev 2012-10-17 10:20:50 -07:00
Raph Levien
cd31db60ee Update Arabic fonts to remove Rial ligature
This patch fixes bug 7309211 [ar][fa] Riyal ligature mistakenly on in
Android Arabic fonts

It also fixes a number of other problems in the normal (non-system ui)
versions of the Naskh fonts, similar to the changes applied for the fix
to bug 6872613, and makes those fonts more consistent with the system ui
version.

3. Fixed a wrong GSUB substitution for Urdu Seven
4. Fixed shaping of U+06C1 HEH GOAL
5. Fixed shaping of U+06BA NOON GHUNNA
6. Removed the Rial ligature from the GSUB table
7. Tightened the Alef-Lam-Lam-Heh ligature in the GSUB table which was
getting triggered too frequently

Thanks to Roozbeh for the updated font data.

Change-Id: I29aecba2ea62853a8ed3181c023c62a09e800def
2012-10-17 09:47:00 -07:00
Daniel Sandler
ebaefec787 Fix Bluetooth QS tile.
Changes in the connection state were causing QuickSettings
to clobber the enabled state of the adapter.

Bug: 7365388
Change-Id: I9611cb492d143bc9e7246c3e210664705586a85d
2012-10-17 11:38:44 -04:00
Daniel Sandler
040c2e4ace For Matias.
<3, dsandler.

Bug: 7348917
Change-Id: I193a94ab82a9e59068c95624c2e8d375543f71f7
2012-10-17 11:06:50 -04:00
Chet Haase
be29d82f74 Merge "Correctly adjust clip regions that lie offscreen" into jb-mr1-dev 2012-10-17 07:51:46 -07:00
Michael Jurka
a924076b4f Potential fix for bug 7352816 2012-10-17 13:02:55 +02:00
Wu-cheng Li
4b63f14c96 Fix native crash while saving a panorama.
YuvToJpegEncoder should handle the case when the height is not
multiples of 16.

bug:7165606

Change-Id: I02f142b233c4f5c0cd8df5e3d1eaebbf62d28052
2012-10-17 18:06:59 +08:00
Daniel Sandler
91ffeddb8b Hide settings button from tablet notification panel.
Bug: 7363279
Change-Id: I90f4286a596527485c462773f2553ed4986f60b2
2012-10-17 01:11:05 -04:00
Amith Yamasani
b6c171b1af Merge "Do cleanup when Stopping users" into jb-mr1-dev 2012-10-16 21:41:28 -07:00
Romain Guy
ec5acee17a Merge "workaround to unbreak the build (deadlock during boot)" into jb-mr1-dev 2012-10-16 21:37:07 -07:00
Daniel Sandler
b6454adb6c Merge "Quickening." into jb-mr1-dev 2012-10-16 21:30:23 -07:00
Mathias Agopian
a33d161250 workaround to unbreak the build (deadlock during boot)
bug: 7363206
Change-Id: Ie79c309e367ba07336a5299af9fd59c6bd2390e7
2012-10-16 21:26:43 -07:00
Baligh Uddin
c39848793c Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-16 21:18:47 -07:00
Baligh Uddin
779a19fe44 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-16 21:11:18 -07:00
Fabrice Di Meglio
cf12897cf5 Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware
- set the Configuration's layout direction in ViewRootImpl instead of PhoneWindow$DecorView
- then remove unecessary API on ListPopupWindow for passing the layout direction

Change-Id: Ia2c6e4aa8cb82aed9b088bc3b8004ea0a1ded1f3
2012-10-16 20:59:04 -07:00
Daniel Sandler
3679bf58fb Quickening.
+ Baseline align all header elements.
  + Make clock clickable.
  + Remove clock tile.
  + Reorder tiles.
  + Hide status bar behind panel on phones.
  + Make status bar peek animation show the whole header on phones.
  + Stop hiding status bar bits on phones.

Bug: 7350584 // baseline align header, make clock clickable,
Bug: 7351760 // hide status bar behind panel
Change-Id: I888752b64c56e80c3f5581fd8ee1cfd7c50eab7c
2012-10-16 23:21:26 -04:00
Fabrice Di Meglio
a7e0bcd872 Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow
- when adding a View to a ViewGroup reset all RTL properties of the View
to be added instead of only resetting its layout direction

Change-Id: Idfa3acce1700c52e20ebfd4c9c4f4ecb3c1d7520
2012-10-16 20:11:19 -07:00
Svetoslav Ganov
05ad745ff6 Merge "Long press not working if explore by touch and magnification are on." into jb-mr1-dev 2012-10-16 19:50:22 -07:00
Jim Miller
8e6145013a Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev 2012-10-16 19:22:37 -07:00
Romain Guy
1b85122bd2 Merge "Add API to enable mipmaps on Bitmap Bug #7353771" into jb-mr1-dev 2012-10-16 19:05:49 -07:00
Jim Miller
dcf59629be This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
Revert "Revert "Revert "Fix for bug 6050753."""

This reverts commit 6868d6f349610c15256471cc3d5fa708cbfd5f1d

Change-Id: I8843d92dba14c82f06d9ee59517cf11b2abbbf04
2012-10-16 19:01:32 -07:00
Craig Mautner
e13ae64850 Merge "Use parent window to evaluate show-to-all-users." into jb-mr1-dev 2012-10-16 18:58:58 -07:00
Romain Guy
713e1bb9df Add API to enable mipmaps on Bitmap
Bug #7353771

This API can be used when scaling large images down to a small size
to get nicer looking results.

Change-Id: If09087eed36077eee5355f6047a3ca67747d7d9e
2012-10-16 18:44:09 -07:00