Merge commit 'e32e8baa44f10749518cffdc6a9a47130fb3e19d' into eclair-plus-aosp
* commit 'e32e8baa44f10749518cffdc6a9a47130fb3e19d':
Fix the typo in phase2 options.
Merge commit '35b21807e81fada6df6d1ab898ed189ec1994d4e'
* commit '35b21807e81fada6df6d1ab898ed189ec1994d4e':
Use the ratio of different CPU speeds to compute CPU power consumption per app.
Merge commit 'd459bebd89756a8b735feb6f27bd864b0427feb7' into eclair-plus-aosp
* commit 'd459bebd89756a8b735feb6f27bd864b0427feb7':
Use the ratio of different CPU speeds to compute CPU power consumption per app.
Merge commit '6c1ac291d9f8adacc5dd3b8b5f08a11dced53ecb'
* commit '6c1ac291d9f8adacc5dd3b8b5f08a11dced53ecb':
Fix the issue WiFi UI IP settings lost when change slider state before save IP settings
Merge commit 'dc543d289884386faa1361d8fca5536a59c72c1a' into eclair-plus-aosp
* commit 'dc543d289884386faa1361d8fca5536a59c72c1a':
Fix the issue WiFi UI IP settings lost when change slider state before save IP settings
Merge commit 'f66beeaea7d3654bee280644f4edc6d7215b0ee5' into eclair-plus-aosp
* commit 'f66beeaea7d3654bee280644f4edc6d7215b0ee5':
Follow along with startActivityPendingIntent() change.
Merge commit '909a945031ec5ec372991de1d2ea1718f494ab9c' into eclair-plus-aosp
* commit '909a945031ec5ec372991de1d2ea1718f494ab9c':
Import revised translations. DO NOT MERGE
Merge commit '87f0c26b31f14860f4db564362087d7bc91f27cb'
* commit '87f0c26b31f14860f4db564362087d7bc91f27cb':
Use new memory API; show memory used by bg and fg processes.
Merge commit '3faa23a2b0dcd0a19acf7b24e7eea36d67b4eda1' into eclair-plus-aosp
* commit '3faa23a2b0dcd0a19acf7b24e7eea36d67b4eda1':
Use new memory API; show memory used by bg and fg processes.
Merge commit '04f3b82137ae952f0e0653b9fdd1cf8d8d08afd7'
* commit '04f3b82137ae952f0e0653b9fdd1cf8d8d08afd7':
Fix issues with updating list when applications get installed while ManageApps is paused or stopped.
Merge commit 'e60a8ebd0e2a1911c0c5ac5f5b1d3e8f1c212cb1'
* commit 'e60a8ebd0e2a1911c0c5ac5f5b1d3e8f1c212cb1':
Fix string name for bluetooth pairing and fix NPE
Merge commit '5bfc786ebe258a349aba57aedbb38717ae696c13'
* commit '5bfc786ebe258a349aba57aedbb38717ae696c13':
make power settings widget toggle sync, not background data
Merge commit '985f5efc8278e1a5c2170c3aba354a4c9367b741' into eclair-plus-aosp
* commit '985f5efc8278e1a5c2170c3aba354a4c9367b741':
Add "settings" to a bunch of screens. Fix 2110077, 2115734, 2101651
Move Factory data reset to About phone.
Show input method when dialog to enter/edit new dictionary word is displayed.
Add title to Accessibility settings.
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.