File tree 2 files changed +8
-0
lines changed
src/com/android/settings/users
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ private void populateApps() {
196
196
}
197
197
mHelper .resetSelectedPackages ();
198
198
mAppList .removeAll ();
199
+ AppCopyFragmentExtUtils .maybeModifyAppListGroupPref (this , mAppList );
199
200
for (AppCopyHelper .SelectableAppInfo app : mHelper .getVisibleApps ()) {
200
201
if (app .packageName == null ) continue ;
201
202
Original file line number Diff line number Diff line change 4
4
import android .os .UserHandle ;
5
5
import android .os .UserManager ;
6
6
7
+ import androidx .preference .PreferenceGroup ;
8
+
7
9
import com .android .settings .R ;
8
10
import com .android .settingslib .users .AppCopyHelper ;
9
11
import com .android .settingslib .widget .AppSwitchPreference ;
10
12
11
13
final class AppCopyFragmentExtUtils {
12
14
15
+ static void maybeModifyAppListGroupPref (
16
+ AppCopyFragment appCopyFragment , PreferenceGroup appListGroupPref ) {
17
+ appListGroupPref .setOrderingAsAdded (true );
18
+ }
19
+
13
20
static void maybeModifySelectableAppInfoPref (
14
21
AppCopyFragment appCopyFragment ,
15
22
AppSwitchPreference appSwitchPref ,
You can’t perform that action at this time.
0 commit comments