In code listing 24.3, I’m curious as to why the call to
List activities = pm.queryIntentActivities(startupIntent, 0);
uses the value
0 as the argument to the
flags parameter instead of one of the constants that are defined in the
PackageManager class. None of the constants mentioned in the documentation for that function
has a value of 0. Since
queryIntentActivities has been around since API level 1, is it a legacy argument value?