5257 Commits

Author SHA1 Message Date
David 'Digit' Turner
910a068122 WindowManagerService: Disable screen rotation animation under emulation.
Since there is no support for hardware GLES acceleration under
emulation, we disable the screen rotation animation when we detect
that we are in the emulator.

Note that ideally, we should only disable it when we detect that
GLES is implemented in software. However, I don't think there is
an easy way to test for this inside of the WindowManagerService.

Change-Id: Ic17719f7d0b14640bacb3b33b7b1a196006982ee
2011-02-05 00:34:46 +01:00
Dianne Hackborn
60a746426c am 24c8ac3b: Merge "Fix issue #3414328: A couple panics observed during an attempted..." into honeycomb
* commit '24c8ac3b0912762ce6f3cdadc46c253f407af396':
  Fix issue #3414328: A couple panics observed during an attempted...
2011-02-04 15:05:24 -08:00
Dianne Hackborn
24c8ac3b09 Merge "Fix issue #3414328: A couple panics observed during an attempted..." into honeycomb 2011-02-04 15:03:27 -08:00
Dianne Hackborn
3e4f9d0452 Fix issue #3414328: A couple panics observed during an attempted...
...pairing to IHF1700 - IKXEVEREST-3627

Change-Id: I3d5b42d65a03ed19b8460c607ff5de862bccb4e6
2011-02-04 14:05:55 -08:00
Glenn Kasten
7e54397b8f Merge "Bug 3366668 Use BinderService template" 2011-02-04 14:00:17 -08:00
Brad Fitzpatrick
be806fe8c1 am cc8f87e9: am f664d6f9: am b083d3b8: Merge "Initialize resampling buffer per track."
* commit 'cc8f87e9410dd4de9a2fda4738429e6c6087c789':
  Initialize resampling buffer per track.
2011-02-04 10:32:50 -08:00
Brad Fitzpatrick
f664d6f916 am b083d3b8: Merge "Initialize resampling buffer per track."
* commit 'b083d3b816378ef3b9dceb33b2c2e20510b2632b':
  Initialize resampling buffer per track.
2011-02-04 10:27:54 -08:00
Yuuhi Yamaguchi
681d818523 Initialize resampling buffer per track.
When resampling too short sound, AudioMixer uses previous
tracks buffer. So we re-initialize the temporary buffer per
loop to avoid it.

Change-Id: I55a59a3b14faa8445e09c450478fe79cef704760
2011-02-04 15:24:34 +01:00
Daniel Sandler
31796297d4 am 4ad2547f: Merge "Ongoing notification for GPS use." into honeycomb
* commit '4ad2547fe08bab430d7d9f9cc4b789410856c9c3':
  Ongoing notification for GPS use.
2011-02-03 20:51:00 -08:00
Daniel Sandler
4ad2547fe0 Merge "Ongoing notification for GPS use." into honeycomb 2011-02-03 20:49:10 -08:00
Glenn Kasten
8adacd8e22 Merge "Bug 3366885 Remove LVMX switch" 2011-02-03 18:44:32 -08:00
Daniel Sandler
e40451a89d Ongoing notification for GPS use.
This change improves upon the notification priority API
introduced in change I9e738cc4, allowing privileged clients
to set the priority of a notification when posting it
directly to INotificationManager. StatusBarTest is updated
to test this new feature.

The new LocationController in SystemUI uses this facility to
post a high-priority ongoing notification whenever GPS is in
use (replacing the functionality of the legacy GPS status
bar icon).

Also happens to fix http://b/3325472 (adding a log message
when notifications are dropped because of a missing icon).

Bug: 3412807

Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
2011-02-03 21:11:46 -05:00
satok
43c3200280 Merge "Register ENABLED_INPUT_METHODS to SettingsObserver" 2011-02-03 18:07:03 -08:00
Dianne Hackborn
94baff4797 am 1b1962f3: Merge "Fix issue #3420898: More wallpaper issues" into honeycomb
* commit '1b1962f38304d2cbf12ac008791d93d3f1bdf0a6':
  Fix issue #3420898: More wallpaper issues
2011-02-03 17:50:51 -08:00
Eric Laurent
2e8fbebff4 am 6f1bd261: am 9c0a1003: Merge "Fix issue 3371080" into honeycomb
* commit '6f1bd261b7fd86ac7817ca061dfb55b95150b836':
  Fix issue 3371080
2011-02-03 17:18:46 -08:00
Glenn Kasten
1570aff60f Bug 3366885 Remove LVMX switch
Change-Id: I0bf98c6f85f00b3296874571e1c049dcc4e2fcca
2011-02-03 17:18:19 -08:00
Dianne Hackborn
3d80ba0515 am dd954212: am a5861743: Merge "Fix issue #3418265: Rotation animation on wallpaper is broken" into honeycomb
* commit 'dd95421291f590ec0b1d8e79b73264516e1da027':
  Fix issue #3418265: Rotation animation on wallpaper is broken
2011-02-03 17:15:04 -08:00
Glenn Kasten
3515a33599 Bug 3366668 Use BinderService template
Change-Id: I93d7f3fc9dc9b6a365723d8a51a73a5aabdb4f93
2011-02-03 17:05:22 -08:00
Dianne Hackborn
ac1471a4ff Fix issue #3420898: More wallpaper issues
- The ImageWallpaper wasn't watching for the desired dimensions to
  change, at which point it needs to resize its surface.
- The system process has been running with the small dalvik heap
  limit, which is too tight with these huge wallpapers; this would
  cause switching wallpapers to eventually stop working as it
  couldn't get the memory it needed to load the new one.
- The compatibility mode background surface had a bunch of issues,
  such as moving its windows to the right by the window size to
  make them disappear.  This of course doesn't play well with the
  now super-sized wallpaper surface.  This code is re-worked to
  not require such shenanigans.

Change-Id: I64fde4059645d8507f1c4761ba6c17b89877a5c0
2011-02-03 16:54:24 -08:00
Mathias Agopian
7dce874f0d fix [3421350] Killing a game that uses the accelerometer renders the device unable to sleep
when an app dies, make sure to disable all sensors that process
is connected to, regardless of wether this was the LAST connection
to this sensor.

Change-Id: I400fa1c1389b2bd05a1d19abea8a35ec5bcba273
2011-02-03 16:37:31 -08:00
Mathias Agopian
e5b6c284b6 am 33e9cb47: Merge "fix [3421350] Killing a game that uses the accelerometer renders the device unable to sleep" into honeycomb
* commit '33e9cb47d286276ed2542d3059db72d2c5a9b7ff':
  fix [3421350] Killing a game that uses the accelerometer renders the device unable to sleep
2011-02-03 15:43:47 -08:00
Mathias Agopian
33e9cb47d2 Merge "fix [3421350] Killing a game that uses the accelerometer renders the device unable to sleep" into honeycomb 2011-02-03 15:38:15 -08:00
Mathias Agopian
f0aec213ec fix [3421350] Killing a game that uses the accelerometer renders the device unable to sleep
when an app dies, make sure to disable all sensors that process
is connected to, regardless of wether this was the LAST connection
to this sensor.

Change-Id: I9c72b1792eee03815304674d5c2f25b5270e4748
2011-02-03 14:52:47 -08:00
Robert Greenwalt
23a8a45928 Merge "Stop using netmask in the framework." 2011-02-03 14:16:45 -08:00
Robert Greenwalt
2d2afd13af Stop using netmask in the framework.
bug:2542681
Change-Id: Iaa2b30f7a43de28844d86a4a8a513e86d719608a
2011-02-03 13:20:00 -08:00
Robert Greenwalt
f8d40f0d55 Merge "Bind addr and prefixLength together in LinkAddress" 2011-02-03 13:17:48 -08:00
Kenny Root
9ebd580231 Merge "Remove defunct secure FS work" 2011-02-03 11:04:28 -08:00
Eric Laurent
6f1bd261b7 am 9c0a1003: Merge "Fix issue 3371080" into honeycomb
* commit '9c0a1003bd676121cf9b1c942ecebd5b486290d5':
  Fix issue 3371080
2011-02-03 10:28:24 -08:00
Mike Lockwood
04f024d564 Merge changes I80558c62,I6587f580
* changes:
  UsbService: Blacklist HID boot subclass devices (keyboards and mice)
  UsbService: Add support for blacklisting certain USB busses
2011-02-03 09:51:06 -08:00
Eric Laurent
25101b0b9a Fix issue 3371080
Modified default volume control logic in AudioService:
1 IN_CALL volume if in video/audio chat
2 NOTIFICATION if notification is playing or was playing less than 5s ago.
3 MUSIC

Modified silent mode:
- now also affect MUSIC stream type
- entering silent mode when VOL- hard key is pressed once while selected
stream volume is already at 0 (except for VOICE_CALL stream).
- exiting silent mode when pressing VOL+ hard key while in silent mode

Play sound FX (audible selections, keyboard clicks) at a fixed volume.

Modified audio framework:
- isStreamActive() method now implemented in AudioPolicyManagerBase (previously AudioFlinger)
- iStreamActive() now specifies a time window during which the stream is considered
active after it actually stopped.

Change-Id: I7e5a0724099450b9fc90825224180ac97322785f
2011-02-03 09:26:24 -08:00
satok
b6109bb591 Register ENABLED_INPUT_METHODS to SettingsObserver
Bug: 3415292

- Registration is required for catching current IME or subtype is disabled

Change-Id: Ia95f16df5bd725c05b4f5085f975d235b88d4b6e
2011-02-03 22:24:54 +09:00
Dianne Hackborn
dd95421291 am a5861743: Merge "Fix issue #3418265: Rotation animation on wallpaper is broken" into honeycomb
* commit 'a58617430d699d26948357f204f09a6ca0b837b8':
  Fix issue #3418265: Rotation animation on wallpaper is broken
2011-02-02 18:44:36 -08:00
Dianne Hackborn
50660e2728 Fix issue #3418265: Rotation animation on wallpaper is broken
Two problems:

1. The wallpaper offsets were being applied at the wrong place in the xform.
2. The background black needs become a clip around the newly revealed UI.

Change-Id: I3b46aea2ace3c8c5a36fc5e37b4e2b67fff1b289
2011-02-02 18:32:27 -08:00
Mathias Agopian
721f3a6ea3 am 50b029d5: am 7ba35f5a: Merge "[3418265] apply layer transformations to the DimLayer." into honeycomb
* commit '50b029d578fa06cd0733dcc7c69cb94f5f824908':
  [3418265] apply layer transformations to the DimLayer.
2011-02-02 16:46:46 -08:00
Mathias Agopian
50b029d578 am 7ba35f5a: Merge "[3418265] apply layer transformations to the DimLayer." into honeycomb
* commit '7ba35f5ab3c838c7f1b3ab957be685ac1f506b2a':
  [3418265] apply layer transformations to the DimLayer.
2011-02-02 16:44:58 -08:00
Kenny Root
35ab3ad61f Remove defunct secure FS work
Bug: 3365047
Change-Id: I68eaea295881f5431907e1b93bdd73e644e84aa5
2011-02-02 16:42:18 -08:00
Mathias Agopian
6e138fb682 [3418265] apply layer transformations to the DimLayer.
with this change DimLayers will behave just like any other layer,
in particular they'll respect the layer transformations.

Change-Id: Icb4a1275e8bca9e3deb5f57c9f9219aaa69f9877
2011-02-02 16:05:39 -08:00
Dianne Hackborn
9ca397f5f0 am e40afdf7: am 0035b5ca: Merge "Fix issue #3415137: New wallpaper size breaks thumbnails." into honeycomb
* commit 'e40afdf7f44f30d78b0afc96717dae2bb883e3ea':
  Fix issue #3415137: New wallpaper size breaks thumbnails.
2011-02-02 13:22:40 -08:00
Dianne Hackborn
e40afdf7f4 am 0035b5ca: Merge "Fix issue #3415137: New wallpaper size breaks thumbnails." into honeycomb
* commit '0035b5cad16c0565102105f5cd0222073b0ddf94':
  Fix issue #3415137: New wallpaper size breaks thumbnails.
2011-02-02 13:19:44 -08:00
Dianne Hackborn
dd962ee163 Fix issue #3415137: New wallpaper size breaks thumbnails.
Change-Id: I3ce4fa8f532cc378c390138bab0ff3126fe0f0c3
2011-02-02 11:29:41 -08:00
Mike Lockwood
8b682ad08a UsbService: Blacklist HID boot subclass devices (keyboards and mice)
Change-Id: I80558c6205e041ad730c7815aba97cb80132e820
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-01 15:53:11 -05:00
Mike Lockwood
a8e3a898a2 UsbService: Add support for blacklisting certain USB busses
This can be used to prevent applications from connecting to
sensitive internal USB devices (like the modem)

Change-Id: I6587f58018e3f8d8f78405d4004cce64db23b628
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-01 13:46:50 -05:00
Jeff Brown
406e26d174 am a70154b0: am c623fff0: Merge "Fix keyboard hidden flag." into honeycomb
* commit 'a70154b0187603af3487bbe01b607818b12cc268':
  Fix keyboard hidden flag.
2011-02-01 10:09:11 -08:00
Dianne Hackborn
5c4e4f9066 am db569b49: am 6cf32312: Merge "Do not check features in PackageManagerService" into honeycomb
* commit 'db569b49180621c01fa55db88ed92071aae9b3bb':
  Do not check features in PackageManagerService
2011-02-01 10:08:21 -08:00
Jozef BABJAK
06e57b5d46 Fixing possible race condition.
That return statement is effectively a reading of asynchronously modified
field. The reading and writing is elsewhere protected by locking on thread
instance, except this one occurence. Moving 'return' statement into
synchronized block ensures that it reads updated value.

Don't be afraid of deadlock - wait() releases the lock and acquires it
back when notified.

Change-Id: I940c24c04a1a2d4508d14d11b6174ff4fb2ab7d5
2011-02-01 08:53:52 +01:00
Jeff Brown
a70154b018 am c623fff0: Merge "Fix keyboard hidden flag." into honeycomb
* commit 'c623fff00c53f6002a8ec6c98cf4fdd6b1b2ad12':
  Fix keyboard hidden flag.
2011-01-31 18:52:06 -08:00
Dianne Hackborn
db569b4918 am 6cf32312: Merge "Do not check features in PackageManagerService" into honeycomb
* commit '6cf32312aaee6716ffd1df7098838b08d80054e4':
  Do not check features in PackageManagerService
2011-01-31 18:51:56 -08:00
satok
4d29ac86e4 am c253fc0f: am 076d059b: Merge "Not to update IME when Settings version is older than the last updated version." into honeycomb
* commit 'c253fc0f8069c67eacf70def32436067584b5636':
  Not to update IME when Settings version is older than the last updated version.
2011-01-31 18:38:17 -08:00
satok
c253fc0f80 am 076d059b: Merge "Not to update IME when Settings version is older than the last updated version." into honeycomb
* commit '076d059b54664b31920f0be13d56c657ab77cecc':
  Not to update IME when Settings version is older than the last updated version.
2011-01-31 18:31:46 -08:00
Dianne Hackborn
b04ec6a8a7 am 7a7ed2b2: Merge "Do not check features in PackageManagerService DO NOT MERGE" into gingerbread
* commit '7a7ed2b21233480d63a1f6b3830e3b0c1c6a3298':
  Do not check features in PackageManagerService DO NOT MERGE
2011-01-31 17:55:11 -08:00