Toggle navigation
Toggle navigation
This project
Loading...
Sign in
cse437_e
/
smartdoorlock-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
오윤석
2020-11-09 23:35:22 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3f2f18731c2e57d385e9199e691f67bbcd3ab0e5
3f2f1873
1 parent
d6106c7d
access token 입력 당시에 바로 적용되지 않는 오류
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
app/src/main/java/com/sunnni/smartdoorlock/ui/SplashActivity.java
app/src/main/java/com/sunnni/smartdoorlock/ui/SplashActivity.java
View file @
3f2f187
...
...
@@ -85,6 +85,7 @@ public class SplashActivity extends AppCompatActivity {
SharedPreferences
pref
=
getSharedPreferences
(
"gateway"
,
MODE_PRIVATE
);
SharedPreferences
.
Editor
editor
=
pref
.
edit
();
editor
.
putString
(
"accessToken"
,
auth
.
getAccessToken
());
Api
.
setAccessToken
(
auth
.
getAccessToken
());
editor
.
commit
();
startActivity
(
new
Intent
(
SplashActivity
.
this
,
MainActivity
.
class
));
}
else
{
...
...
Please
register
or
login
to post a comment