Loading packages/PackageInstaller/AndroidManifest.xml +2 −6 Original line number Diff line number Diff line Loading @@ -75,10 +75,7 @@ </intent-filter> </activity> <!-- NOTE: the workaround to fix the screen flash problem. Remember to check the problem is resolved for new implementation --> <activity android:name=".InstallStaging" android:theme="@style/Theme.AlertDialogActivity.NoDim" android:exported="false" /> <activity android:name=".DeleteStagedFileOnResult" Loading @@ -86,7 +83,6 @@ android:exported="false" /> <activity android:name=".PackageInstallerActivity" android:theme="@style/Theme.AlertDialogActivity.NoAnimation" android:exported="false" /> <activity android:name=".InstallInstalling" Loading packages/PackageInstaller/res/values/themes.xml +0 −5 Original line number Diff line number Diff line Loading @@ -32,9 +32,4 @@ <item name="android:windowNoTitle">true</item> </style> <style name="Theme.AlertDialogActivity.NoDim" parent="@style/Theme.AlertDialogActivity.NoActionBar"> <item name="android:backgroundDimAmount">0</item> </style> </resources> packages/PackageInstaller/src/com/android/packageinstaller/PackageInstallerActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -308,7 +308,6 @@ public class PackageInstallerActivity extends Activity { } private void initiateInstall() { bindUi(); String pkgName = mPkgInfo.packageName; // Check if there is already a package on the device with this name // but it has been renamed to something else. Loading Loading @@ -448,6 +447,7 @@ public class PackageInstallerActivity extends Activity { if (mAppSnippet != null) { // load placeholder layout with OK button disabled until we override this layout in // startInstallConfirm bindUi(); checkIfAllowedAndInitiateInstall(); } Loading Loading
packages/PackageInstaller/AndroidManifest.xml +2 −6 Original line number Diff line number Diff line Loading @@ -75,10 +75,7 @@ </intent-filter> </activity> <!-- NOTE: the workaround to fix the screen flash problem. Remember to check the problem is resolved for new implementation --> <activity android:name=".InstallStaging" android:theme="@style/Theme.AlertDialogActivity.NoDim" android:exported="false" /> <activity android:name=".DeleteStagedFileOnResult" Loading @@ -86,7 +83,6 @@ android:exported="false" /> <activity android:name=".PackageInstallerActivity" android:theme="@style/Theme.AlertDialogActivity.NoAnimation" android:exported="false" /> <activity android:name=".InstallInstalling" Loading
packages/PackageInstaller/res/values/themes.xml +0 −5 Original line number Diff line number Diff line Loading @@ -32,9 +32,4 @@ <item name="android:windowNoTitle">true</item> </style> <style name="Theme.AlertDialogActivity.NoDim" parent="@style/Theme.AlertDialogActivity.NoActionBar"> <item name="android:backgroundDimAmount">0</item> </style> </resources>
packages/PackageInstaller/src/com/android/packageinstaller/PackageInstallerActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -308,7 +308,6 @@ public class PackageInstallerActivity extends Activity { } private void initiateInstall() { bindUi(); String pkgName = mPkgInfo.packageName; // Check if there is already a package on the device with this name // but it has been renamed to something else. Loading Loading @@ -448,6 +447,7 @@ public class PackageInstallerActivity extends Activity { if (mAppSnippet != null) { // load placeholder layout with OK button disabled until we override this layout in // startInstallConfirm bindUi(); checkIfAllowedAndInitiateInstall(); } Loading