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:
förälder
e72ccd3012
incheckning
74c93907c5
@ -904,12 +904,6 @@ public class AppDetails extends AppCompatActivity implements ProgressListener, A
|
||||
@Override
|
||||
public void onError(int operation, final int errorCode) {
|
||||
if (errorCode == InstallerCallback.ERROR_CODE_CANCELED) {
|
||||
runOnUiThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
onAppChanged();
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
final int title, body;
|
||||
|
||||
Laddar…
x
Referens i nytt ärende
Block a user