File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
sample_client/src/main/java/com/owncloud/android/lib/sampleclient Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,12 @@ public void onCreate(Bundle savedInstanceState) {
8181 Uri serverUri = Uri .parse (getString (R .string .server_base_url ));
8282 mClient = OwnCloudClientFactory .createOwnCloudClient (serverUri , this , true );
8383 mClient .setCredentials (
84- OwnCloudCredentialsFactory .newBasicCredentials (
85- getString (R .string .username ),
86- getString (R .string .password )
84+ OwnCloudCredentialsFactory .newBasicCredentials (
85+ getString (R .string .username ),
86+ getString (R .string .password )
8787 )
8888 );
89+ mClient .setUserId (getString (R .string .username ));
8990
9091 mFilesAdapter = new FilesArrayAdapter (this , R .layout .file_in_list );
9192 ((ListView )findViewById (R .id .list_view )).setAdapter (mFilesAdapter );
You can’t perform that action at this time.
0 commit comments