18868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li/*
28868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li * Copyright (C) 2012 The Android Open Source Project
38868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li *
48868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li * Licensed under the Apache License, Version 2.0 (the "License");
58868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li * you may not use this file except in compliance with the License.
68868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li * You may obtain a copy of the License at
78868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li *
88868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li *      http://www.apache.org/licenses/LICENSE-2.0
98868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li *
108868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li * Unless required by applicable law or agreed to in writing, software
118868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li * distributed under the License is distributed on an "AS IS" BASIS,
128868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
138868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li * See the License for the specific language governing permissions and
148868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li * limitations under the License.
158868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li */
168868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li
178868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Lipackage com.android.gallery3d.data;
188868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li
198868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Liimport com.android.gallery3d.R;
20c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescuimport com.android.gallery3d.app.GalleryApp;
218868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li
22c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescupublic class UnlockImage extends ActionImage {
238868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li    @SuppressWarnings("unused")
248868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li    private static final String TAG = "UnlockImage";
258868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li
268868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li    public UnlockImage(Path path, GalleryApp application) {
27445605fe37d3678c0297d99ae6ec036574d19633Wu-cheng Li        super(path, application, R.drawable.placeholder_locked);
288868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li    }
298868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li
308868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li    @Override
318868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li    public int getSupportedOperations() {
32c7e3c76d6965f520a9651d309052c5f01726cd58Bobby Georgescu        return super.getSupportedOperations() | SUPPORT_UNLOCK;
338868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li    }
348868aa1b2d199e7fa869c9c5fad3079175621002Wu-cheng Li}
35