Merge commit 'c26442e923d9deb5bea3fa78da661b1eb24bd965'
* commit 'c26442e923d9deb5bea3fa78da661b1eb24bd965':
Restore backlight brightness after restoring auto ALS mode.
Merge commit '5d9ee1490258d56e0e1074b5e9b9a4bff39dd602' into eclair-plus-aosp
* commit '5d9ee1490258d56e0e1074b5e9b9a4bff39dd602':
Fix issues with updating list when applications get installed while ManageApps is paused or stopped.
Merge commit 'bb3343923c640461eecc4fac25f911224a16d056' into eclair-plus-aosp
* commit 'bb3343923c640461eecc4fac25f911224a16d056':
Fix string name for bluetooth pairing and fix NPE
Merge commit 'ae57dbd618decb8cdc942756e283fadef659b2b6' into eclair-plus-aosp
* commit 'ae57dbd618decb8cdc942756e283fadef659b2b6':
make power settings widget toggle sync, not background data
* changes:
Fix issues with updating list when applications get installed while ManageApps is paused or stopped. When ManageApps gets started, the list of installed apps is retrieved from PackageManager and compared against the old list to figure out newly installed apps(since the app has been stopped) and also to weedout stale entries of packages which might have been deleted. Since the application objects themselves might have changed the list is usually refreshed with new objects. Deleted applications are taken care of right away by just removing from the List adapter. For newly added apps however, the size and label/resource info has to be loaded before being inserted in to the list since the list is already sorted. So just remove these entries from the list for now and let ADD_PKG message handle adding the new elements. Make AppInfo a nested class so that it doesn't hold a reference to its enclosing class and we have too many such entries one for each package.
When ManageApps gets started, the list of installed apps is retrieved from PackageManager and
compared against the old list to figure out newly installed apps(since the app has been stopped) and
also to weedout stale entries of packages which might have been deleted.
Since the application objects themselves might have changed the list is usually refreshed with new objects.
Deleted applications are taken care of right away by just removing from the List adapter.
For newly added apps however, the size and label/resource info has to be loaded before being inserted in to
the list since the list is already sorted. So just remove these entries from the list for now and let
ADD_PKG message handle adding the new elements.
Make AppInfo a nested class so that it doesn't hold a reference to its enclosing class and
we have too many such entries one for each package.
Merge commit '65f49474d69ab867d048fc2d6c53d456e585101f' into eclair-plus-aosp
* commit '65f49474d69ab867d048fc2d6c53d456e585101f':
Restore backlight brightness after restoring auto ALS mode.
Merge commit '10d3cf5082edb42f196ce0d5ac77c7a12b959599' into eclair-plus-aosp
* commit '10d3cf5082edb42f196ce0d5ac77c7a12b959599':
Enable cert install from sdcard in Settings...
Merge commit 'dd498f901efd7984c38e18b548927c19c2b607f0' into eclair-plus-aosp
* commit 'dd498f901efd7984c38e18b548927c19c2b607f0':
Transient patch for the WifiConfiguration change.
Merge commit 'a383452afd6576da5a56c8b1ef73750892e43636' into eclair-plus-aosp
* commit 'a383452afd6576da5a56c8b1ef73750892e43636':
Show name for incoming pairing requests.
Settings apps invalidates its cache whenever a new scan is started.
When there is a new incoming pairing request, we will not get a DeviceFound
signal, because its not due to a inquiry scan. Thus when the pairing request
is displayed, the settings app doesn't have it in cache and hence will
just display the address. Make it query the framework when it doesn't have the name.
Merge commit 'cd03f5320d42290b1619933954a344b59dc55f4f' into eclair-plus-aosp
* commit 'cd03f5320d42290b1619933954a344b59dc55f4f':
Move backlight brightness from HardwareService to PowerManager
to prevent apps from changing the hardware behind its back.
Fixes b/2041941 Lock screen flashes the screen very bright before dimming
Change-Id: Ic4faa008357fd3d74225ba90f05801c5127fd8c0
Signed-off-by: Mike Lockwood <lockwood@android.com>
Add changes to have the ability to turn on and off the
automatic light sensing for the device. This is fully configurable
and is by default not present. Vendors should override the ALS setting
to enable the automatic lighting controls.
These changes will add a check box to the Brightness settings menu to give control
to the user to allow the device's display lighting to be controlled via the slide bar
or the auto lighting system.
If the user selects auto then the slide bar will become invisible. Manual mode
will present the slide bar to the user.
Change-Id: I512c9d5dd72ddd831b33eb8fcd4680e2fc7f786e
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
Comment out the access to the enterprise fields of
WifiConfiguration class in AccessPointState class.
And will have a new patch for accessing the new WifiConfiguration.
Merge commit 'd6375e975e74924082cbf3f9b4c6f2a67b1ee08d' into eclair-plus-aosp
* commit 'd6375e975e74924082cbf3f9b4c6f2a67b1ee08d':
Update AndroidManifest.xml for new Intent locations.
Add incoming pairing dialog
Add DisplayPasskey handling of pairing keyboards with 2.1 devices.
Modify code path to show errors when bonding request fails.
Misc fixes like string changes.
This will fix a regression since the recent BT API changes. The settings app
would have missed some Bluetooth events, especially pairing.
Change-Id: Ia5e6371279feb389578e798fe11f1c239a4aa17b
Merge commit '88651a0b2a7a7038c8befb321100a64aec9933b8' into eclair-plus-aosp
* commit '88651a0b2a7a7038c8befb321100a64aec9933b8':
Regenerate timezones.xml after adding Asia/Shanghai timezone for
mainland China, using cldr 1.7.1 and merging translations for "Beijing".
Remove unused localized timezone "xml-no/timezones.xml".
"nb" is now used instead of the deprecated "no".