Don't call onAppChanged() if install was cancelled
It should have not changed anything about the app. It should make AppDetails update anything as needed just like returning from any other activity.
This commit is contained in:
parent
e72ccd3012
commit
74c93907c5
@ -904,12 +904,6 @@ public class AppDetails extends AppCompatActivity implements ProgressListener, A
|
|||||||
@Override
|
@Override
|
||||||
public void onError(int operation, final int errorCode) {
|
public void onError(int operation, final int errorCode) {
|
||||||
if (errorCode == InstallerCallback.ERROR_CODE_CANCELED) {
|
if (errorCode == InstallerCallback.ERROR_CODE_CANCELED) {
|
||||||
runOnUiThread(new Runnable() {
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
onAppChanged();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final int title, body;
|
final int title, body;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user