Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
packages_apps_Calendar
Commits
b7c1fcc5
Commit
b7c1fcc5
authored
13 years ago
by
Michael Chan
Browse files
Options
Download
Email Patches
Plain Diff
b/5383209 Save cursor location on rotation in editview
Change-Id: I4014a222da0ae9ab02fdf63a4e394beaea54b302
parent
beff3d27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
src/com/android/calendar/event/EditEventView.java
src/com/android/calendar/event/EditEventView.java
+13
-3
No files found.
src/com/android/calendar/event/EditEventView.java
View file @
b7c1fcc5
...
...
@@ -1070,7 +1070,10 @@ public class EditEventView implements View.OnClickListener, DialogInterface.OnCa
});
}
mTitleTextView
.
setText
(
model
.
mTitle
);
if
(
model
.
mTitle
!=
null
)
{
mTitleTextView
.
setTextKeepState
(
model
.
mTitle
);
}
if
(
model
.
mIsOrganizer
||
TextUtils
.
isEmpty
(
model
.
mOrganizer
)
||
model
.
mOrganizer
.
endsWith
(
GOOGLE_SECONDARY_CALENDAR
))
{
mView
.
findViewById
(
R
.
id
.
organizer_label
).
setVisibility
(
View
.
GONE
);
...
...
@@ -1079,8 +1082,15 @@ public class EditEventView implements View.OnClickListener, DialogInterface.OnCa
}
else
{
((
TextView
)
mView
.
findViewById
(
R
.
id
.
organizer
)).
setText
(
model
.
mOrganizerDisplayName
);
}
mLocationTextView
.
setText
(
model
.
mLocation
);
mDescriptionTextView
.
setText
(
model
.
mDescription
);
if
(
model
.
mLocation
!=
null
)
{
mLocationTextView
.
setTextKeepState
(
model
.
mLocation
);
}
if
(
model
.
mDescription
!=
null
)
{
mDescriptionTextView
.
setTextKeepState
(
model
.
mDescription
);
}
mAvailabilitySpinner
.
setSelection
(
model
.
mAvailability
?
1
:
0
);
mAccessLevelSpinner
.
setSelection
(
model
.
mAccessLevel
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment