Tabnine Logo
ResolverActivity.finish
Code IndexAdd Tabnine to your IDE (free)

How to use
finish
method
in
com.lody.virtual.client.stub.ResolverActivity

Best Java code snippets using com.lody.virtual.client.stub.ResolverActivity.finish (Showing top 15 results out of 315)

origin: android-hacker/VirtualXposed

  @Override
  public void onCancel(DialogInterface dialog) {
    finish();
  }
});
origin: android-hacker/VirtualXposed

@Override
protected void onStop() {
  super.onStop();
  if (mRegistered) {
    mRegistered = false;
  }
  if ((getIntent().getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK) != 0) {
    // This resolver is in the unusual situation where it has been
    // launched at the top of a new task.  We don't let it be added
    // to the recent tasks shown to the user, and we need to make sure
    // that each time we are launched we get the correct launching
    // uid (not re-using the same resolver from an old launching uid),
    // so we will now finish ourself since being no longer visible,
    // the user probably can't get back to us.
    if (!isChangingConfigurations()) {
      finish();
    }
  }
}
origin: android-hacker/VirtualXposed

void startSelected(int which, boolean always) {
  if (isFinishing()) {
    return;
  }
  ResolveInfo ri = mAdapter.resolveInfoForPosition(which);
  Intent intent = mAdapter.intentForPosition(which);
  onIntentSelected(ri, intent, always);
  finish();
}
origin: android-hacker/VirtualXposed

public void handlePackagesChanged() {
  final int oldItemCount = getCount();
  rebuildList();
  notifyDataSetChanged();
  final int newItemCount = getCount();
  if (newItemCount == 0) {
    // We no longer have any items...  just finish the activity.
    finish();
  }
}
origin: android-hacker/VirtualXposed

if (mLaunchedFromUid < 0) {
  finish();
  return;
startSelected(0, false);
mRegistered = false;
finish();
return;
origin: bzsome/VirtualApp-x326

  @Override
  public void onCancel(DialogInterface dialog) {
    finish();
  }
});
origin: darkskygit/VirtualApp

  @Override
  public void onCancel(DialogInterface dialog) {
    finish();
  }
});
origin: darkskygit/VirtualApp

@Override
protected void onStop() {
  super.onStop();
  if (mRegistered) {
    mRegistered = false;
  }
  if ((getIntent().getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK) != 0) {
    // This resolver is in the unusual situation where it has been
    // launched at the top of a new task.  We don't let it be added
    // to the recent tasks shown to the user, and we need to make sure
    // that each time we are launched we get the correct launching
    // uid (not re-using the same resolver from an old launching uid),
    // so we will now finish ourself since being no longer visible,
    // the user probably can't get back to us.
    if (!isChangingConfigurations()) {
      finish();
    }
  }
}
origin: bzsome/VirtualApp-x326

@Override
protected void onStop() {
  super.onStop();
  if (mRegistered) {
    mRegistered = false;
  }
  if ((getIntent().getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK) != 0) {
    // This resolver is in the unusual situation where it has been
    // launched at the top of a new task.  We don't let it be added
    // to the recent tasks shown to the user, and we need to make sure
    // that each time we are launched we get the correct launching
    // uid (not re-using the same resolver from an old launching uid),
    // so we will now finish ourself since being no longer visible,
    // the user probably can't get back to us.
    if (!isChangingConfigurations()) {
      finish();
    }
  }
}
origin: bzsome/VirtualApp-x326

public void handlePackagesChanged() {
  final int oldItemCount = getCount();
  rebuildList();
  notifyDataSetChanged();
  final int newItemCount = getCount();
  if (newItemCount == 0) {
    // We no longer have any items...  just finish the activity.
    finish();
  }
}
origin: darkskygit/VirtualApp

void startSelected(int which, boolean always) {
  if (isFinishing()) {
    return;
  }
  ResolveInfo ri = mAdapter.resolveInfoForPosition(which);
  Intent intent = mAdapter.intentForPosition(which);
  onIntentSelected(ri, intent, always);
  finish();
}
origin: bzsome/VirtualApp-x326

void startSelected(int which, boolean always) {
  if (isFinishing()) {
    return;
  }
  ResolveInfo ri = mAdapter.resolveInfoForPosition(which);
  Intent intent = mAdapter.intentForPosition(which);
  onIntentSelected(ri, intent, always);
  finish();
}
origin: darkskygit/VirtualApp

public void handlePackagesChanged() {
  final int oldItemCount = getCount();
  rebuildList();
  notifyDataSetChanged();
  final int newItemCount = getCount();
  if (newItemCount == 0) {
    // We no longer have any items...  just finish the activity.
    finish();
  }
}
origin: darkskygit/VirtualApp

if (mLaunchedFromUid < 0) {
  finish();
  return;
startSelected(0, false);
mRegistered = false;
finish();
return;
origin: bzsome/VirtualApp-x326

if (mLaunchedFromUid < 0) {
  finish();
  return;
startSelected(0, false);
mRegistered = false;
finish();
return;
com.lody.virtual.client.stubResolverActivityfinish

Popular methods of ResolverActivity

  • getContentResolver
  • getIcon
  • getIntent
  • getPackageManager
  • getResources
  • getSystemService
  • isChangingConfigurations
  • isFinishing
  • loadIconForResolveInfo
  • makeMyIntent
  • onCreate
  • onIntentSelected
  • onCreate,
  • onIntentSelected,
  • showAppDetails,
  • startActivity,
  • startSelected

Popular in Java

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • setContentView (Activity)
  • putExtra (Intent)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now