File tree Expand file tree Collapse file tree
common4j/src/main/com/microsoft/identity/common/java/flighting
common/src/main/java/com/microsoft/identity/common/internal/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public static boolean checkIfIsInPersonalProfileButClouddpcWorkProfileAvailable(
5050 if (!CommonFlightsManager .INSTANCE .getFlightsProvider ().isFlightEnabled (CommonFlight .ENABLE_AM_API_WORKPROFILE_EXTRA_QUERY_PARAMETERS )) {
5151 return false ;
5252 }
53-
53+
5454 try {
5555 final Intent intent = new Intent ("com.google.android.apps.work.clouddpc.ACTION_DETECT_WORK_PROFILE" );
5656 final List <ResolveInfo > activities = context .getPackageManager ().queryIntentActivities (intent , 0 );
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ public enum CommonFlight implements IFlightConfig {
104104 * Flight to enable adding x-client-MN and x-client-WPAvailable extra query parameters
105105 */
106106 ENABLE_AM_API_WORKPROFILE_EXTRA_QUERY_PARAMETERS ("EnableAmApiWorkProfileExtraQueryParameters" , true );
107+
107108 private String key ;
108109 private Object defaultValue ;
109110 CommonFlight (@ NonNull String key , @ NonNull Object defaultValue ) {
You can’t perform that action at this time.
0 commit comments