diff options
author | Suchi Amalapurapu <asuchitra@google.com> | 2009-09-01 14:35:25 -0700 |
---|---|---|
committer | Suchi Amalapurapu <asuchitra@google.com> | 2009-09-08 14:53:10 -0700 |
commit | d9b773b7041894e37c1b6f62d6b221dd3c8e4c43 (patch) | |
tree | c82c8491f9f1435c0125a1958b474608acabeef2 /res/layout/install_start.xml | |
parent | 0d2388f6983b79a8e46e1d2aee2f1ccefbe900ab (diff) | |
download | android_packages_apps_PackageInstaller-d9b773b7041894e37c1b6f62d6b221dd3c8e4c43.tar.gz android_packages_apps_PackageInstaller-d9b773b7041894e37c1b6f62d6b221dd3c8e4c43.tar.bz2 android_packages_apps_PackageInstaller-d9b773b7041894e37c1b6f62d6b221dd3c8e4c43.zip |
Fix screen flow issues in pacakge installer/uninstaller.
The main activity was managing the state transitions during
installation/uninstallation which was actually not needed.
Just make the activities independent and start sub activities
without waiting for activity result codes in the main activity.
If the user enables development setting to immediately destroy activities,
and sideloads an app, the ActivityManager tries to destroy the
main activity while it starts sub activities to finish installation
and this results in UI bizarreness based on the current state of
the installer.
Also move InstallConfirmation to the main activity.
Converge InstallDone and InstallProgress into one screen. Just enable
or disable launch/close buttons. This is how it should have been in the
first place..
Same set of issues with uninstall code path as well.
Diffstat (limited to 'res/layout/install_start.xml')
-rwxr-xr-x | res/layout/install_start.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/res/layout/install_start.xml b/res/layout/install_start.xml index 1ef0ab5d..d95daa64 100755 --- a/res/layout/install_start.xml +++ b/res/layout/install_start.xml @@ -14,14 +14,18 @@ limitations under the License. --> -<RelativeLayout +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <include layout="@layout/app_details" android:id="@+id/app_snippet"/> -</RelativeLayout> + <include + layout="@layout/install_confirm" + android:id="@+id/install_confirm_panel"/> +</LinearLayout> |