| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I0abe45677d9a5f43aa1db754102701093ff19204
|
|
|
|
| |
Change-Id: I52bf2f42c9a6040ac345248473d7184b7266f511
|
|
|
|
| |
Change-Id: Ic55343957cd35dc41d2dcf9f436d1940cd454084
|
|
|
|
| |
Change-Id: Ia8d35bc1ee44c6aaffe6fa10c6339edfa053aba4
|
|
|
|
| |
Change-Id: I58e8919dab1b82696d11e5e578419f30b47b0737
|
|
|
|
| |
Bug: #2361749.
|
|
|
|
|
|
| |
Just undoing some white space changes that my previous CL introduced, in
order to keep the formatting the same between the tutorial documentation
and the actual code.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the missing makefiles for the non-solution versions of the tutorial
code. Required providing missing imports in Notepadv2. Also standardized
white spaces using Source > Correct Indentation in Eclipse and a few
manual changes. This was done to minimize differences such as:
diff -r Notepadv1 Notepadv1Solution
diff -r Notepadv1Solution/src/com/android/demo/notepad1/ Notepadv2/src/com/android/demo/notepad2/
Change-Id: Ie8b10efd61f2200b3c741ea500a6924710ab54ed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current NoteEdit.java in Notepadv3Solution crashes on NPE when the
screen orientation changes. This happens because a null Long is
auto-unboxed to a long when used as an input to
Bundle.putLong(String, long). The easiest solution is to use
Bundle.putSerializable() instead.
In addition duplicate notepad entries could result because mRowId was not
necessarily defined when onSaveInstanceState(Bundle) was called. The
solution to that is to call saveState() in that method.
Fixes these buganizer bugs:
Change-Id: Ice325f3b089867e4716deb48aefe8ec03f30ad55
http://b/issue?id=2266994
http://b/issue?id=2266962
|
|
|
|
|
|
|
|
|
| |
Now the tutorial is built as part of the standard build, but not installed
as part of the system image. Required localizing an android:text field
that was already localized in Notepadv1 but for some odd reason was no
longer localized in v2 and v3.
Change-Id: I0e1b41a4efa454a503b788b0698593136662a014
|
|
The 3-part Notepad tutorial is currently only available in the zip archive
frameworks/base/docs/html/guide/tutorials/notepad/codelab/NotepadCodeLab.zip.
This CL adds the uncompressed code to the repository so that there is a
paper trail of future changes to the code.
|