Fix no action in Settings storage
- Pass wrong user id in view holder Fixes: 149028747 Test: 1. Add new user, and change th new user 2. Take a camera shot under the new user 3. go to Settings -> Storage -> photo & video -> Image 4. Should open file brower Change-Id: I0af532748ec19f62897911b1bb6ece9b21b844c3
This commit is contained in:
@@ -410,7 +410,7 @@ public class ManageApplications extends InstrumentedFragment
|
||||
mApplications.mHasReceivedBridgeCallback =
|
||||
savedInstanceState.getBoolean(EXTRA_HAS_BRIDGE, false);
|
||||
}
|
||||
int userId = mIsWorkOnly ? mWorkUserId : UserHandle.getUserId(mCurrentUid);
|
||||
int userId = mIsWorkOnly ? mWorkUserId : UserHandle.myUserId();
|
||||
if (mStorageType == STORAGE_TYPE_MUSIC) {
|
||||
Context context = getContext();
|
||||
mApplications.setExtraViewController(
|
||||
|
Reference in New Issue
Block a user