diff options
author | Svetoslav <svetoslavganov@google.com> | 2013-09-30 15:59:43 -0700 |
---|---|---|
committer | Svetoslav <svetoslavganov@google.com> | 2013-09-30 15:59:46 -0700 |
commit | 5c3052936883038d25b2afe52c2dd023e9aa6812 (patch) | |
tree | 793cea3f7d4333983f1db89c61a04e83fd65f487 /res/menu | |
parent | 768dc8f7293356cdada32a13a476c7477f0bb126 (diff) | |
download | packages_apps_Settings-5c3052936883038d25b2afe52c2dd023e9aa6812.zip packages_apps_Settings-5c3052936883038d25b2afe52c2dd023e9aa6812.tar.gz packages_apps_Settings-5c3052936883038d25b2afe52c2dd023e9aa6812.tar.bz2 |
Remove Google Play specific search URIs from Settings.
1. If there are no installed print services or NFC payment services,
we would like to allow the user to search for one in Play. However,
Play is Google specific and we should not have hard coded URI that
rely on it in settings. Declare secure settings for each of these
URI and check at runtime if the URI is non-empty, then show the
add menu item.
bug:11011519
Change-Id: I2c5cb172015bbecd7d2f8ffd3cb7fd790b01dab8
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/nfc_payment_settings.xml | 23 | ||||
-rw-r--r-- | res/menu/print_settings.xml | 23 |
2 files changed, 0 insertions, 46 deletions
diff --git a/res/menu/nfc_payment_settings.xml b/res/menu/nfc_payment_settings.xml deleted file mode 100644 index f35374e..0000000 --- a/res/menu/nfc_payment_settings.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- 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. ---> - -<menu xmlns:android="http://schemas.android.com/apk/res/android"> - <item - android:id="@+id/nfc_payment_menu_item_add_service" - android:title="@string/nfc_payment_menu_item_add_service" - android:showAsAction="ifRoom"> - </item> -</menu> diff --git a/res/menu/print_settings.xml b/res/menu/print_settings.xml deleted file mode 100644 index 9df1181..0000000 --- a/res/menu/print_settings.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- 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. ---> - -<menu xmlns:android="http://schemas.android.com/apk/res/android"> - <item - android:id="@+id/print_menu_item_add_service" - android:title="@string/print_menu_item_add_service" - android:showAsAction="ifRoom"> - </item> -</menu> |