1649 Commits

Author SHA1 Message Date
Dan Egnor
cc1d35e2e5 am afd81beb: Merge change Icbb3aa0a into eclair
Merge commit 'afd81beb33cce3b296927d13821fe0dc874ce7db' into eclair-mr2

* commit 'afd81beb33cce3b296927d13821fe0dc874ce7db':
  Use setRepeating() rather than setInexactRepeating() for backup scheduling,
2009-11-02 14:05:04 -08:00
Dan Egnor
d0f054a5ed am afd81beb: Merge change Icbb3aa0a into eclair
Merge commit 'afd81beb33cce3b296927d13821fe0dc874ce7db' into eclair-plus-aosp

* commit 'afd81beb33cce3b296927d13821fe0dc874ce7db':
  Use setRepeating() rather than setInexactRepeating() for backup scheduling,
2009-11-02 14:04:59 -08:00
Android (Google) Code Review
afd81beb33 Merge change Icbb3aa0a into eclair
* changes:
  Use setRepeating() rather than setInexactRepeating() for backup scheduling, and add some random fuzz to the scheduling times, to make sure we aren't creating hour-aligned server load spikes.
2009-11-02 16:58:26 -05:00
Joe Onorato
384b4b4efc am c13a9d05: am cce9f0fa: Merge change I0d7dc3b8 into eclair
Merge commit 'c13a9d0515f1a6e9dbe64f00e711eef4776aaef3' into eclair-mr2-plus-aosp

* commit 'c13a9d0515f1a6e9dbe64f00e711eef4776aaef3':
  Fix notification bar performance.
2009-11-02 13:43:30 -08:00
Joe Onorato
c13a9d0515 am cce9f0fa: Merge change I0d7dc3b8 into eclair
Merge commit 'cce9f0fa862b6fa9de8dbf5a7a7b63167770a9b3' into eclair-mr2

* commit 'cce9f0fa862b6fa9de8dbf5a7a7b63167770a9b3':
  Fix notification bar performance.
2009-11-02 13:38:13 -08:00
Joe Onorato
ac8d865866 am cce9f0fa: Merge change I0d7dc3b8 into eclair
Merge commit 'cce9f0fa862b6fa9de8dbf5a7a7b63167770a9b3' into eclair-plus-aosp

* commit 'cce9f0fa862b6fa9de8dbf5a7a7b63167770a9b3':
  Fix notification bar performance.
2009-11-02 13:37:41 -08:00
Android (Google) Code Review
cce9f0fa86 Merge change I0d7dc3b8 into eclair
* changes:
  Fix notification bar performance.
2009-11-02 16:29:31 -05:00
Joe Onorato
0d7dc3b800 Fix notification bar performance.
Bug 2195678

We had all this stuff there to keep the notification view
around so it doesn't need to be reconstructed each time,
and we weren't using it.  This fixes that, and it looks
much better now.
2009-11-02 16:20:44 -05:00
Mike Lockwood
a94da0e7d9 am e94261b8: am 989b76aa: Merge change Ieca126e6 into eclair
Merge commit 'e94261b874b7d0704dade14540dbb9477a828163' into eclair-mr2-plus-aosp

* commit 'e94261b874b7d0704dade14540dbb9477a828163':
  Fix problem with proximity sensor not reawaking screen if the values change too quickly.
2009-11-02 12:01:32 -08:00
Mike Lockwood
b98837dc2d am 989b76aa: Merge change Ieca126e6 into eclair
Merge commit '989b76aadd92538c7ab4ca00c34508b42fda8cef' into eclair-plus-aosp

* commit '989b76aadd92538c7ab4ca00c34508b42fda8cef':
  Fix problem with proximity sensor not reawaking screen if the values change too quickly.
2009-11-02 11:49:00 -08:00
Mike Lockwood
e94261b874 am 989b76aa: Merge change Ieca126e6 into eclair
Merge commit '989b76aadd92538c7ab4ca00c34508b42fda8cef' into eclair-mr2

* commit '989b76aadd92538c7ab4ca00c34508b42fda8cef':
  Fix problem with proximity sensor not reawaking screen if the values change too quickly.
2009-11-02 11:48:54 -08:00
Mike Lockwood
952211b4ae Fix problem with proximity sensor not reawaking screen if the values change too quickly.
The logic that disables user activity while turning off the screen should not affect proximity sensor.

Fixes bug b/2228734 (in-call, prox sensor gets confused)

Change-Id: Ieca126e6f79bf7baa5741981aea72d306ba03edc
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-02 14:17:57 -05:00
Mike Lockwood
db61b03c23 am b2346324: am f1d14f6a: Do not advance mLastEventTime when enabling or disabling user activity.
Merge commit 'b2346324e5f6062fed7bdeaedb9cf968b05050ec' into eclair-mr2-plus-aosp

* commit 'b2346324e5f6062fed7bdeaedb9cf968b05050ec':
  Do not advance mLastEventTime when enabling or disabling user activity.
2009-11-02 11:04:41 -08:00
Mike Lockwood
b2346324e5 am f1d14f6a: Do not advance mLastEventTime when enabling or disabling user activity.
Merge commit 'f1d14f6a33bc6086db52a77b6a1217452b7eac90' into eclair-mr2

* commit 'f1d14f6a33bc6086db52a77b6a1217452b7eac90':
  Do not advance mLastEventTime when enabling or disabling user activity.
2009-11-02 10:11:17 -08:00
Mike Lockwood
29d03dd25d am f1d14f6a: Do not advance mLastEventTime when enabling or disabling user activity.
Merge commit 'f1d14f6a33bc6086db52a77b6a1217452b7eac90' into eclair-plus-aosp

* commit 'f1d14f6a33bc6086db52a77b6a1217452b7eac90':
  Do not advance mLastEventTime when enabling or disabling user activity.
2009-11-02 10:10:41 -08:00
Mike Lockwood
f1d14f6a33 Do not advance mLastEventTime when enabling or disabling user activity.
Fixes a race condition between the keyguard and power key that sometimes resulted
in the power key failing to turn off the screen.

Fixes bug b/2212852 (Power button does not put phone to sleep)

Change-Id: I92498c5fddf2bfc32b105ea1a7ea14a06d83888e
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-02 11:56:59 -05:00
Mike Lockwood
69cbd29682 am f2055570: am 9efd523c: Add warning that hardware auto-brightness is deprecated and will be removed in the next release.
Merge commit 'f20555706c81dcb9fcb1fee9ce263072cd77ea3c' into eclair-mr2-plus-aosp

* commit 'f20555706c81dcb9fcb1fee9ce263072cd77ea3c':
  Add warning that hardware auto-brightness is deprecated and will be removed in the next release.
2009-11-01 22:35:55 -08:00
Mike Lockwood
0fe19fb891 am f6fc4131: am 4984e73d: Manage button and keyboard backlights with light sensor in both manual and automatic mode.
Merge commit 'f6fc41314d253962720b2c75f3a64025037acf0e' into eclair-mr2-plus-aosp

* commit 'f6fc41314d253962720b2c75f3a64025037acf0e':
  Manage button and keyboard backlights with light sensor in both manual and automatic mode.
2009-11-01 22:35:47 -08:00
Mike Lockwood
f20555706c am 9efd523c: Add warning that hardware auto-brightness is deprecated and will be removed in the next release.
Merge commit '9efd523c4611c0cf10e712453a699c083a01064c' into eclair-mr2

* commit '9efd523c4611c0cf10e712453a699c083a01064c':
  Add warning that hardware auto-brightness is deprecated and will be removed in the next release.
2009-11-01 07:15:27 -08:00
Mike Lockwood
f6fc41314d am 4984e73d: Manage button and keyboard backlights with light sensor in both manual and automatic mode.
Merge commit '4984e73dc5fc3df757e4ac8dd333b88151deb3ea' into eclair-mr2

* commit '4984e73dc5fc3df757e4ac8dd333b88151deb3ea':
  Manage button and keyboard backlights with light sensor in both manual and automatic mode.
2009-11-01 07:15:20 -08:00
Mike Lockwood
a0b0e720a1 am 9efd523c: Add warning that hardware auto-brightness is deprecated and will be removed in the next release.
Merge commit '9efd523c4611c0cf10e712453a699c083a01064c' into eclair-plus-aosp

* commit '9efd523c4611c0cf10e712453a699c083a01064c':
  Add warning that hardware auto-brightness is deprecated and will be removed in the next release.
2009-11-01 07:14:35 -08:00
Mike Lockwood
1cd948b427 am 4984e73d: Manage button and keyboard backlights with light sensor in both manual and automatic mode.
Merge commit '4984e73dc5fc3df757e4ac8dd333b88151deb3ea' into eclair-plus-aosp

* commit '4984e73dc5fc3df757e4ac8dd333b88151deb3ea':
  Manage button and keyboard backlights with light sensor in both manual and automatic mode.
2009-11-01 07:14:29 -08:00
Mike Lockwood
9efd523c46 Add warning that hardware auto-brightness is deprecated and will be removed in the next release.
Change-Id: I90eae78f71f377f6479d0aaf7ced38a7b988a7ee
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-01 10:05:50 -05:00
Mike Lockwood
47fd5cd1fa am 7dc642d0: am df024920: Don\'t turn on keyboard backlights when keyboard is closed in auto brightness mode.
Merge commit '7dc642d0b9f9395221818978d2cd9143cd3cad36' into eclair-mr2-plus-aosp

* commit '7dc642d0b9f9395221818978d2cd9143cd3cad36':
  Don't turn on keyboard backlights when keyboard is closed in auto brightness mode.
2009-11-01 05:41:20 -08:00
Mike Lockwood
301eff069c am 148f666b: am aa66ea88: Use separate flags for enabling hardware and software auto-brightness.
Merge commit '148f666b0a10183afc987809482f18d8199d747c' into eclair-mr2-plus-aosp

* commit '148f666b0a10183afc987809482f18d8199d747c':
  Use separate flags for enabling hardware and software auto-brightness.
2009-11-01 05:41:12 -08:00
Mike Lockwood
23fc31c793 am df024920: Don\'t turn on keyboard backlights when keyboard is closed in auto brightness mode.
Merge commit 'df024920ebc63a82f570105c7a26e339ff244afd' into eclair-plus-aosp

* commit 'df024920ebc63a82f570105c7a26e339ff244afd':
  Don't turn on keyboard backlights when keyboard is closed in auto brightness mode.
2009-11-01 05:31:58 -08:00
Mike Lockwood
794b882e9b am aa66ea88: Use separate flags for enabling hardware and software auto-brightness.
Merge commit 'aa66ea880f58c9caa49e31c166bb3bd6bbf14e21' into eclair-plus-aosp

* commit 'aa66ea880f58c9caa49e31c166bb3bd6bbf14e21':
  Use separate flags for enabling hardware and software auto-brightness.
2009-11-01 05:31:51 -08:00
Mike Lockwood
7dc642d0b9 am df024920: Don\'t turn on keyboard backlights when keyboard is closed in auto brightness mode.
Merge commit 'df024920ebc63a82f570105c7a26e339ff244afd' into eclair-mr2

* commit 'df024920ebc63a82f570105c7a26e339ff244afd':
  Don't turn on keyboard backlights when keyboard is closed in auto brightness mode.
2009-11-01 05:31:44 -08:00
Mike Lockwood
148f666b0a am aa66ea88: Use separate flags for enabling hardware and software auto-brightness.
Merge commit 'aa66ea880f58c9caa49e31c166bb3bd6bbf14e21' into eclair-mr2

* commit 'aa66ea880f58c9caa49e31c166bb3bd6bbf14e21':
  Use separate flags for enabling hardware and software auto-brightness.
2009-11-01 05:31:36 -08:00
Mike Lockwood
4984e73dc5 Manage button and keyboard backlights with light sensor in both manual and automatic mode.
Now the manual brightness mode only applies to the LCD backlight and
button and keyboard backlights are always managed automatically.

Fixes bug b/2195798 (Passion capacitive key backlights don't always come on)

This change only affects the framework based auto-brightness implementation.
Hardware auto-brightness is not affected.

Change-Id: Ib88310d642d498591e8879c8269d630ff3f7c8af
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-01 08:20:42 -05:00
Mike Lockwood
df024920eb Don't turn on keyboard backlights when keyboard is closed in auto brightness mode.
For framework light sensor support (does not affect hardware based approach).

Change-Id: I6896a7c5b3fd3ed136c4f25c63a0e5813c349f68
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-31 17:05:00 -04:00
Mike Lockwood
aa66ea880f Use separate flags for enabling hardware and software auto-brightness.
This cleans up the code in preparation for some other auto-brightness changes
and fixes support for devices without light sensors.

Change-Id: I3d4802cf860a865ffd86a8bb57cd57b46359433d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-31 16:31:27 -04:00
Dan Egnor
c1c49c024f Use setRepeating() rather than setInexactRepeating() for backup scheduling,
and add some random fuzz to the scheduling times, to make sure we aren't
creating hour-aligned server load spikes.

See bug 2226553 for details & Dr. No information.
2009-10-30 18:12:29 -07:00
Suchi Amalapurapu
df4bc1d1d5 am a7bbedca: am 22dad592: Merge change I6cae32c7 into eclair
Merge commit 'a7bbedca97498e75b32c6f6ca4afe56d4cf481f7' into eclair-mr2-plus-aosp

* commit 'a7bbedca97498e75b32c6f6ca4afe56d4cf481f7':
  When upgrading packages with shared user ids make sure we are eliminating
2009-10-29 19:56:20 -07:00
Suchi Amalapurapu
a7bbedca97 am 22dad592: Merge change I6cae32c7 into eclair
Merge commit '22dad5928d1d1f2c791616d9d6ab3a3172cec62e' into eclair-mr2

* commit '22dad5928d1d1f2c791616d9d6ab3a3172cec62e':
  When upgrading packages with shared user ids make sure we are eliminating
2009-10-29 19:26:46 -07:00
Suchi Amalapurapu
f545e798eb am 18eedbac: am a47a1e77: Merge change Ic03d28b9 into eclair
Merge commit '18eedbacac964f200309f99fdfca06a0a01e5bf5' into eclair-mr2-plus-aosp

* commit '18eedbacac964f200309f99fdfca06a0a01e5bf5':
  Check that the window which wants to force hide is visible before setting the flag forceHiding to true. If we do layout the surfaces
2009-10-29 14:02:18 -07:00
Suchi Amalapurapu
18eedbacac am a47a1e77: Merge change Ic03d28b9 into eclair
Merge commit 'a47a1e77a4dc9510187f57d5cdf12f5ecf6b3ab0' into eclair-mr2

* commit 'a47a1e77a4dc9510187f57d5cdf12f5ecf6b3ab0':
  Check that the window which wants to force hide is visible before setting the flag forceHiding to true. If we do layout the surfaces
2009-10-29 13:45:05 -07:00
Eric Fischer
25510e0777 am 8071b146: am fb872d1a: Merge change Id4d04def into eclair
Merge commit '8071b14680f8081019ac1b995d7c7f09a8aeeba7' into eclair-mr2-plus-aosp

* commit '8071b14680f8081019ac1b995d7c7f09a8aeeba7':
  Fix a race that kept the locale picker from working under heavy CPU load.
2009-10-29 01:47:34 -07:00
Mike Lockwood
a41ff4b7c2 am c867958e: am d376d240: Merge change I081f08c1 into eclair
Merge commit 'c867958eb6fb50210a767fa24757bfa19228c22e' into eclair-mr2-plus-aosp

* commit 'c867958eb6fb50210a767fa24757bfa19228c22e':
  A better solution for ignoring user activity while the screen is animating off.
2009-10-29 01:46:47 -07:00
Mike Lockwood
4f049475c7 am f634f492: am 5ef89808: Merge change I9c242127 into eclair
Merge commit 'f634f4922894cc23a9b2298a0c971ffac763c132' into eclair-mr2-plus-aosp

* commit 'f634f4922894cc23a9b2298a0c971ffac763c132':
  PowerManagerService: Animate LCD backlight changes due to autobrightness support.
2009-10-29 01:44:29 -07:00
Eric Fischer
8071b14680 am fb872d1a: Merge change Id4d04def into eclair
Merge commit 'fb872d1af3c775114ac7d241eb1924a9aafbb9df' into eclair-mr2

* commit 'fb872d1af3c775114ac7d241eb1924a9aafbb9df':
  Fix a race that kept the locale picker from working under heavy CPU load.
2009-10-29 01:28:53 -07:00
Mike Lockwood
c867958eb6 am d376d240: Merge change I081f08c1 into eclair
Merge commit 'd376d2407bbc14a2d221dfef9955d0feeab0d550' into eclair-mr2

* commit 'd376d2407bbc14a2d221dfef9955d0feeab0d550':
  A better solution for ignoring user activity while the screen is animating off.
2009-10-29 01:27:40 -07:00
Mike Lockwood
f634f49228 am 5ef89808: Merge change I9c242127 into eclair
Merge commit '5ef898080c1b8b596531c938eae87b3c35331ac2' into eclair-mr2

* commit '5ef898080c1b8b596531c938eae87b3c35331ac2':
  PowerManagerService: Animate LCD backlight changes due to autobrightness support.
2009-10-29 01:21:46 -07:00
Suchi Amalapurapu
ebacbff0f4 am 22dad592: Merge change I6cae32c7 into eclair
Merge commit '22dad5928d1d1f2c791616d9d6ab3a3172cec62e' into eclair-plus-aosp

* commit '22dad5928d1d1f2c791616d9d6ab3a3172cec62e':
  When upgrading packages with shared user ids make sure we are eliminating
2009-10-29 01:03:12 -07:00
Suchi Amalapurapu
d83006cbe8 When upgrading packages with shared user ids make sure we are eliminating
the package about to be deleted or upgraded when updating permissions associated
with the shared user. Include a simple null check when retrieving the permission.

Fix PackageParser to avoid ArrayIndexOutOfBounds exceptions in several places
2009-10-29 00:46:55 -07:00
Dan Egnor
473bbd2140 am 95240270: Instead of a raw AIDL interface, give DropBox a Java interface (android.os.DropBox); move the Binder interface behind the scenes. Make DropBoxEntry into DropBox.Entry. Make it possible to get a dropbox from an (Application)Context with the usual getSyste
Merge commit '952402704a175ba27f6c89dff1ada634c5ce5626' into eclair-mr2-plus-aosp

* commit '952402704a175ba27f6c89dff1ada634c5ce5626':
  Instead of a raw AIDL interface, give DropBox a Java
2009-10-28 23:32:21 -07:00
Dan Egnor
952402704a Instead of a raw AIDL interface, give DropBox a Java
interface (android.os.DropBox); move the Binder interface
behind the scenes.  Make DropBoxEntry into DropBox.Entry.
Make it possible to get a dropbox from an (Application)Context
with the usual getSystemService(DROPBOX_SERVICE) type thing.
Update the tests accordingly.
2009-10-28 15:49:11 -07:00
Suchi Amalapurapu
cdf899435f am a47a1e77: Merge change Ic03d28b9 into eclair
Merge commit 'a47a1e77a4dc9510187f57d5cdf12f5ecf6b3ab0' into eclair-plus-aosp

* commit 'a47a1e77a4dc9510187f57d5cdf12f5ecf6b3ab0':
  Check that the window which wants to force hide is visible before setting the flag forceHiding to true. If we do layout the surfaces
2009-10-28 15:37:27 -07:00
Suchi Amalapurapu
c03d28b9e9 Check that the window which wants to force hide is visible before setting the flag forceHiding to true. If we do layout the surfaces
again this flag gets set no matter what since the keyguard window is always present in the list of tokens and this hides the window which would
have become visible since the keyguard just got dismissed.
This causes unnecessary focus changes due to changes in visibility of current window.

This will resolve issues related to current focus and time outs when dispatching key events.
2009-10-28 14:47:45 -07:00
Mike Lockwood
80b6367dc6 am 8d1eeb21: am 2d155d26: PowerManagerService: Fix bug resulting in backlights turning on while screen is off.
Merge commit '8d1eeb2144945365cae281552bd7bc5eb14f7688' into eclair-mr2-plus-aosp

* commit '8d1eeb2144945365cae281552bd7bc5eb14f7688':
  PowerManagerService: Fix bug resulting in backlights turning on while screen is off.
2009-10-28 12:45:54 -07:00