diff options
author | Sam Blitzstein <sblitz@google.com> | 2013-10-16 17:08:25 -0700 |
---|---|---|
committer | Sam Blitzstein <sblitz@google.com> | 2013-10-16 17:47:50 -0700 |
commit | 25ad6f98516a7af1ca71cfa07fb503d46dc8a7f1 (patch) | |
tree | efdefb7ddeb0204bd48e1e376e602b52b189e4b5 /sample/src | |
parent | d2e1718fa8e1199b03dc0d069711b24e946aa858 (diff) | |
download | bitmap-25ad6f98516a7af1ca71cfa07fb503d46dc8a7f1.tar.gz |
Add copyright notices, and clarify documentation.
Remove ineffectual interface methods from RequestKey and replace with a comment in the class's
documentation to the same meaning.
Change-Id: I4d27407d18a798b27dfe138b38a5ee3a2718e127
Diffstat (limited to 'sample/src')
-rw-r--r-- | sample/src/com/example/bitmapsample/BitmapView.java | 16 | ||||
-rw-r--r-- | sample/src/com/example/bitmapsample/MainActivity.java | 17 |
2 files changed, 32 insertions, 1 deletions
diff --git a/sample/src/com/example/bitmapsample/BitmapView.java b/sample/src/com/example/bitmapsample/BitmapView.java index 5ca7dcd..8b5bd69 100644 --- a/sample/src/com/example/bitmapsample/BitmapView.java +++ b/sample/src/com/example/bitmapsample/BitmapView.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2013 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.bitmapsample; import android.content.Context; diff --git a/sample/src/com/example/bitmapsample/MainActivity.java b/sample/src/com/example/bitmapsample/MainActivity.java index 6b612d4..78b2ec6 100644 --- a/sample/src/com/example/bitmapsample/MainActivity.java +++ b/sample/src/com/example/bitmapsample/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2013 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.example.bitmapsample; import android.app.Activity; @@ -10,7 +26,6 @@ import android.widget.ListView; import com.android.bitmap.BitmapCache; import com.android.bitmap.UnrefedBitmapCache; import com.android.bitmap.util.Trace; -import com.example.bitmapcachesample.R; public class MainActivity extends Activity { private ListView mListView; |