86774 Commits

Author SHA1 Message Date
Jeff Hamilton
e09aed49e3 Merge "Changes to support updating location providers." into jb-mr1-dev 2012-10-18 12:45:02 -07:00
Chet Haase
5f0d976b37 Track size changes correctly for static wallpapers
Previous logic compared the surface size to the bitmap size to determine
whether to reload the bitmap. This was based on an assumption that the bitmap
would be created at the same sizea s the surface. However, the process of
how those sizes get determined is different for surfaces and wallpapers, causing
an occasional issue where the bitmap gets reloaded frequently, every time the wallpaper
is asked to redraw, even though it always gets recreated at the same size.

New logic checks previous surface dimensions against current surface dimensions to
determine whether the bitmap should be reloaded; we really only want to reload
it when the surface size changes.

Issue #7373200 pause when toggling between All Apps and Home screen; Home button stays illuminated for a long time

Change-Id: I108777b72bd42616ad7cf8274af1b3e6b2ed94e7
2012-10-18 12:41:54 -07:00
Scott Main
4e2e6dfdac am e9b533bf: am 82f0ba79: am 4a6b6948: am 07322102: revise code sample for callback interface
* commit 'e9b533bff02d75fa11df4392d921f7f4d3d9c101':
  revise code sample for callback interface
2012-10-18 12:34:37 -07:00
Xavier Ducrohet
e8c9ce73e3 am 5e42147a: (-s ours) am 64b3de29: (-s ours) am 434cd38f: Update layoutlib for jb mr1. do not merge.
* commit '5e42147af3a8f284f9caa329c9fbfc994ca1d0da':
  Update layoutlib for jb mr1. do not merge.
2012-10-18 12:34:34 -07:00
Scott Main
e9b533bff0 am 82f0ba79: am 4a6b6948: am 07322102: revise code sample for callback interface
* commit '82f0ba79e67c154fc12a6cfde2fe1205da166b0d':
  revise code sample for callback interface
2012-10-18 12:31:05 -07:00
Xavier Ducrohet
5e42147af3 am 64b3de29: (-s ours) am 434cd38f: Update layoutlib for jb mr1. do not merge.
* commit '64b3de296cdbc8c02e2890f8853409c6d49cddb1':
  Update layoutlib for jb mr1. do not merge.
2012-10-18 12:29:23 -07:00
Scott Main
82f0ba79e6 am 4a6b6948: am 07322102: revise code sample for callback interface
* commit '4a6b69488f9fd90bbe04a930ffad8999bc93e173':
  revise code sample for callback interface
2012-10-18 12:25:19 -07:00
Xavier Ducrohet
64b3de296c am 434cd38f: Update layoutlib for jb mr1. do not merge.
* commit '434cd38f96a4a87220a8218901622f31e567354a':
  Update layoutlib for jb mr1. do not merge.
2012-10-18 12:23:28 -07:00
Christopher Tate
3220289383 am 1ea75b88: Merge "Sanity-check erroneous backup agent instantiations" into jb-mr1-dev
* commit '1ea75b88b7ac4273b7a5395c5c57c6453d6cd3d1':
  Sanity-check erroneous backup agent instantiations
2012-10-18 12:18:48 -07:00
Scott Main
c88e918482 am db164da8: Merge "improve some docs for dreams" into jb-mr1-dev
* commit 'db164da885d15723597d6a525d0f46cb55dbcb88':
  improve some docs for dreams
2012-10-18 12:18:42 -07:00
Scott Main
4a6b69488f am 07322102: revise code sample for callback interface
* commit '07322102e5f1877bc2860d2c72eeeb41839d6bea':
  revise code sample for callback interface
2012-10-18 12:18:31 -07:00
Svetoslav Ganov
444e8aabc1 Magnifier not respecting RTL/LTR direction and keyguard dialogs not properly centered.
1. When magnifier, if a dialog that popped up is wider than the scree we pan to its upper
   left corner. We now show the upper right corner if the locale direction is RTL.

2. Keyguard dialogs are not centered since they are used as a sign to recompute the
   magnified area but an unnecessary else statement prevents such dialogs from being
   properly show via a pan.

bug:7374331

Change-Id: I285e46b822a29f0082c502cb642f9da32dabfe6a
2012-10-18 12:15:02 -07:00
Christopher Tate
1ea75b88b7 Merge "Sanity-check erroneous backup agent instantiations" into jb-mr1-dev 2012-10-18 12:07:03 -07:00
Scott Main
db164da885 Merge "improve some docs for dreams" into jb-mr1-dev 2012-10-18 11:37:30 -07:00
Chet Haase
4bcf874003 am 18937b22: Merge "Stop reloading wallpaper bitmap" into jb-mr1-dev
* commit '18937b22099723447388547a2d67f25bde6bdb10':
  Stop reloading wallpaper bitmap
2012-10-18 11:21:05 -07:00
Scott Main
6237ac19bf improve some docs for dreams
Change-Id: I7652f4366cdc8c40926d7961582663cc99ca0735
2012-10-18 11:18:31 -07:00
Chet Haase
18937b2209 Merge "Stop reloading wallpaper bitmap" into jb-mr1-dev 2012-10-18 11:18:14 -07:00
Xavier Ducrohet
434cd38f96 Update layoutlib for jb mr1. do not merge.
Status bar displayed on all devices.
Update logic for displaying nav bar to whether or not
device has soft button.

Update navigation buttons to new look.
Remove battery and signal from navigation bar.

(cherry picked from commit 891b703f7b1e0e396d16477cc66a286da7161b49)

Change-Id: Id7cc9ad4255d2c4d2e6461a565dfe2cc17e12e75
2012-10-18 11:15:39 -07:00
Victoria Lease
645a16fbe1 am 588fb15d: Merge "LocationManager permissions cleanup" into jb-mr1-dev
* commit '588fb15d16118b848c2d76497861b0e86846486b':
  LocationManager permissions cleanup
2012-10-18 11:04:59 -07:00
Daniel Sandler
591a12ac0d Show brightness dialog for all users.
Bug: 7373670
Change-Id: Ibeaa65580c7513d1562b1cfac8cee428fbc63098
2012-10-18 14:04:27 -04:00
Victoria Lease
588fb15d16 Merge "LocationManager permissions cleanup" into jb-mr1-dev 2012-10-18 11:02:52 -07:00
Amith Yamasani
868f82ae97 am 0141faec: Merge "Allow services to query the info for a dying user." into jb-mr1-dev
* commit '0141faecc3b4a1cb771f38495d42c56eb6852fa8':
  Allow services to query the info for a dying user.
2012-10-18 10:51:46 -07:00
Amith Yamasani
0141faecc3 Merge "Allow services to query the info for a dying user." into jb-mr1-dev 2012-10-18 10:48:21 -07:00
Daniel Sandler
f400513d50 am 6a377f30: Merge "Fix glitch when using settings pulldown then switching to notifications." into jb-mr1-dev
* commit '6a377f3094cf1e8e49e0138e01972e6d5d0ec2a0':
  Fix glitch when using settings pulldown then switching to notifications.
2012-10-18 10:27:07 -07:00
Daniel Sandler
6a377f3094 Merge "Fix glitch when using settings pulldown then switching to notifications." into jb-mr1-dev 2012-10-18 10:24:47 -07:00
Chet Haase
8481ac8fe9 Stop reloading wallpaper bitmap
Typo in ImageWallpaper made a dimension check incorrect.

Issue#7373200 pause when toggling between All Apps and Home screen; Home button stays illuminated for a long time

Change-Id: I82763ac8c9ed564eba904f552975ab20c8aef932
2012-10-18 10:12:10 -07:00
Craig Mautner
860f660a0f When removing windows remove from resize list.
Windows remained in the resized list if they were removed during
rotations.

Bug: 7372289 fixed.
Change-Id: I41f949b7836b08b33d4d178e9aa016548328749a
2012-10-18 09:38:10 -07:00
Victoria Lease
37425c3475 LocationManager permissions cleanup
This commit is the result of a comprehensive permissions review for
MR1 release. It addresses a number of deviations from spec and from
MR0's behavior, bringing MR1 into sync with both.

It also cleans up the concept of "location resolution permission",
representing it internally as an enumerated access level to reduce
reliance on cumbersome string manipulation. There's a function to
convert the enum int into a permission string where needed, too.

Additionally, this confines caller-identity-sensitive calls to the
hopefully-obviously-named "getCallerAllowedResolutionLevel()". This
should make it much easier to prove correctness with respect to
accidentally calling functions that depend upon the caller's identity
after identity has already been shed by Binder.clearCallingIdentity().

Change-Id: I446169aee8fb2fde26ac6d04b479b40253782acb
2012-10-18 09:13:39 -07:00
Michael Jurka
faa825909b am 341aa8e0: Merge "Potential fix for bug 7352816" into jb-mr1-dev
* commit '341aa8e0e8753ddb5eca22311e7d671e0518f326':
  Potential fix for bug 7352816
2012-10-18 08:52:39 -07:00
Michael Jurka
341aa8e0e8 Merge "Potential fix for bug 7352816" into jb-mr1-dev 2012-10-18 08:48:41 -07:00
Daniel Sandler
720a34d60a Fix glitch when using settings pulldown then switching to notifications.
Bug: 7348917
Change-Id: I65b51bb161934300da9ca0ebf4b184886e3e81df
2012-10-18 11:44:04 -04:00
Daniel Sandler
3f8460893f am a4c356ca: Merge "Add missing layout params" into jb-mr1-dev
* commit 'a4c356cad7de0ef30faeaeadacd21b6eae913541':
  Add missing layout params
2012-10-18 06:38:56 -07:00
Daniel Sandler
a4c356cad7 Merge "Add missing layout params" into jb-mr1-dev 2012-10-18 06:35:48 -07:00
Jeff Brown
0ad3bb8b36 am 88c66cbb: Merge "Dream when user activity times out while docked if appropriate." into jb-mr1-dev
* commit '88c66cbb00a572ac8280f0e0ea38079d48ec59f3':
  Dream when user activity times out while docked if appropriate.
2012-10-18 00:12:49 -07:00
Jeff Brown
80ffd26f87 am 586503d5: Merge "Add special mirroring modes for demonstration purposes." into jb-mr1-dev
* commit '586503d51fbcc622af62b43b25579ce2f299d68b':
  Add special mirroring modes for demonstration purposes.
2012-10-18 00:09:04 -07:00
Jeff Brown
88c66cbb00 Merge "Dream when user activity times out while docked if appropriate." into jb-mr1-dev 2012-10-18 00:08:18 -07:00
Jeff Brown
586503d51f Merge "Add special mirroring modes for demonstration purposes." into jb-mr1-dev 2012-10-18 00:06:48 -07:00
Jeff Sharkey
e21a2e72a7 am bd4f2181: Merge "Defer more Account actions until user starting." into jb-mr1-dev
* commit 'bd4f2181077ab35a26bcca115c1337e78814bb9d':
  Defer more Account actions until user starting.
2012-10-18 00:03:51 -07:00
Jeff Sharkey
bd4f218107 Merge "Defer more Account actions until user starting." into jb-mr1-dev 2012-10-18 00:00:41 -07:00
Jeff Hamilton
fbadb69978 Changes to support updating location providers.
This reverts commit 20de160ca32a8f2936a80ffd70551a22e2371d25.

Bug: 7242814
Change-Id: I9ec49a14feb835b6683186fc6da4a74ae19fbae2
2012-10-18 01:28:10 -05:00
Baligh Uddin
2fa64ac656 am 3e336bd6: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '3e336bd6467c3a518b408d6b79117ae507a3c41b':
  Import translations. DO NOT MERGE
2012-10-17 22:26:29 -07:00
Baligh Uddin
3e336bd646 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-17 22:23:35 -07:00
Amith Yamasani
1638931166 Allow services to query the info for a dying user.
This allows services watching for USER_REMOVED to fetch the serialNumber of a dying user.

Also fix an AIOOBE when building the userId array, typically on cleanup.

Bug: 7368826
Change-Id: I24e52278af8353b5744372127da4bf4fafc89baa
2012-10-17 21:20:14 -07:00
Jeff Brown
ec6aa59454 Dream when user activity times out while docked if appropriate.
If the user has requested that dreams start when docked and a user
activity timeout occurs, then start dreaming assuming all of the
other usual conditions are appropriate for dreaming (the device is
powered, etc.).

Previously dreams only started when the device was initial docked
but not if the device fell asleep while remaining docked.

Bug: 7281240
Change-Id: I72c3f854fd1ae8e6615f4fa6e4c4ecd8de37c84b
2012-10-17 20:30:25 -07:00
Craig Mautner
6109075bd0 am c6ccb29b: Merge "Call requestFocus and ensure that screenOn is set." into jb-mr1-dev
* commit 'c6ccb29b9a7d3d8aac37f4cd3bd5b5b134724996':
  Call requestFocus and ensure that screenOn is set.
2012-10-17 20:28:19 -07:00
Craig Mautner
c6ccb29b9a Merge "Call requestFocus and ensure that screenOn is set." into jb-mr1-dev 2012-10-17 20:25:12 -07:00
Daniel Sandler
47a8b59af1 am c1dc37cb: Merge "You can only use the 2-finger shortcut when opening the panel." into jb-mr1-dev
* commit 'c1dc37cba785d990cabfd4e27edadd18975f8751':
  You can only use the 2-finger shortcut when opening the panel.
2012-10-17 20:04:16 -07:00
Daniel Sandler
c1dc37cba7 Merge "You can only use the 2-finger shortcut when opening the panel." into jb-mr1-dev 2012-10-17 20:01:34 -07:00
Daniel Sandler
36c06ae04a Add missing layout params
Bug: 7370474
Change-Id: I632832be22c492f006d76bfa821fd9aa48569f67
2012-10-17 22:51:27 -04:00
Romain Guy
650c47a190 am b8460d15: Merge "Take into account the texture layer\'s transform for clipping Bug #7370212" into jb-mr1-dev
* commit 'b8460d153a1e6dfc6a02ab127d4b5b5e82386137':
  Take into account the texture layer's transform for clipping Bug #7370212
2012-10-17 19:19:07 -07:00