diff options
Diffstat (limited to 'packages/Shell')
20 files changed, 477 insertions, 1 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index 6a20733..61504b3 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -48,6 +48,8 @@ <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" /> <uses-permission android:name="android.permission.WRITE_SETTINGS" /> <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> + <uses-permission android:name="cyanogenmod.permission.WRITE_SETTINGS" /> + <uses-permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS" /> <uses-permission android:name="android.permission.BROADCAST_STICKY" /> <!-- Development tool permissions granted to the shell. --> <uses-permission android:name="android.permission.SET_DEBUG_APP" /> @@ -98,7 +100,6 @@ <uses-permission android:name="android.permission.BIND_APPWIDGET" /> <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> <uses-permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/> - <uses-permission android:name="android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS" /> <uses-permission android:name="android.permission.CHANGE_APP_IDLE_STATE" /> <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> <uses-permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS" /> @@ -107,6 +108,7 @@ <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" /> <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" /> <uses-permission android:name="android.permission.GET_APP_OPS_STATS" /> + <uses-permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER" /> <application android:label="@string/app_label"> <provider @@ -142,6 +144,7 @@ android:name=".BugreportReceiver" android:permission="android.permission.DUMP"> <intent-filter> + <action android:name="android.intent.action.BUGREPORT_STARTED" /> <action android:name="android.intent.action.BUGREPORT_FINISHED" /> </intent-filter> </receiver> diff --git a/packages/Shell/res/values-as-rIN/strings.xml b/packages/Shell/res/values-as-rIN/strings.xml new file mode 100644 index 0000000..a4de2af --- /dev/null +++ b/packages/Shell/res/values-as-rIN/strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-ast-rES/strings.xml b/packages/Shell/res/values-ast-rES/strings.xml new file mode 100644 index 0000000..829ce93 --- /dev/null +++ b/packages/Shell/res/values-ast-rES/strings.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <string name="app_label">Shell</string> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <string name="bugreport_finished_title">Informe de fallu capturáu</string> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <string name="bugreport_finished_text" product="watch">Esliza a esquierda pa compartir l\'informe de fallu</string> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <string name="bugreport_finished_text" product="default">Toca pa compartir l\'informe de fallu</string> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <string name="bugreport_confirm">Los informes de fallos contienen datos de los distintos ficheros de rexistru del sistema, incluyida información personal y privada. Comparte los informes de fallos namái con aplicaciones y usuarios nos que confíes.</string> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <string name="bugreport_confirm_repeat">Amosar esti mensaxe la próxima vegada</string> + <!-- Title for documents backend that offers bugreports. --> + <string name="bugreport_storage_title">Informes de fallu</string> +</resources> diff --git a/packages/Shell/res/values-be/strings.xml b/packages/Shell/res/values-be/strings.xml new file mode 100644 index 0000000..aa0b3d8 --- /dev/null +++ b/packages/Shell/res/values-be/strings.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <string name="app_label">Абалонка</string> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <string name="bugreport_finished_title">Справаздача пра збой захавана</string> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <string name="bugreport_finished_text" product="watch">Правядзіце пальцам налева, каб падзяліцца сваёй справаздачай пра збой</string> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <string name="bugreport_finished_text" product="default">Націсніце, каб падзяліцца сваёй справаздачай пра збой</string> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <string name="bugreport_confirm">Справаздача пра памылку ўтрымлівае дадзеныя з файлаў сістэмнай гiсторыi, у тым ліку персанальную і прыватную інфармацыю. Дзялiцеся справаздачамi пра памылкі толькi з праверанымi карыстальнiкамi i праграмамі.</string> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <string name="bugreport_confirm_repeat"> Паказваць гэта паведамленне у наступны раз</string> + <!-- Title for documents backend that offers bugreports. --> + <string name="bugreport_storage_title">Справаздача пра памылкі</string> +</resources> diff --git a/packages/Shell/res/values-br-rFR/strings.xml b/packages/Shell/res/values-br-rFR/strings.xml new file mode 100644 index 0000000..a4de2af --- /dev/null +++ b/packages/Shell/res/values-br-rFR/strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-csb-rPL/strings.xml b/packages/Shell/res/values-csb-rPL/strings.xml new file mode 100644 index 0000000..a4de2af --- /dev/null +++ b/packages/Shell/res/values-csb-rPL/strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-cy/strings.xml b/packages/Shell/res/values-cy/strings.xml new file mode 100644 index 0000000..a4de2af --- /dev/null +++ b/packages/Shell/res/values-cy/strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-en-rPT/strings.xml b/packages/Shell/res/values-en-rPT/strings.xml new file mode 100644 index 0000000..a4de2af --- /dev/null +++ b/packages/Shell/res/values-en-rPT/strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-eo/strings.xml b/packages/Shell/res/values-eo/strings.xml new file mode 100644 index 0000000..a4de2af --- /dev/null +++ b/packages/Shell/res/values-eo/strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-es-rMX/strings.xml b/packages/Shell/res/values-es-rMX/strings.xml new file mode 100644 index 0000000..a4de2af --- /dev/null +++ b/packages/Shell/res/values-es-rMX/strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-frp-rIT/strings.xml b/packages/Shell/res/values-frp-rIT/strings.xml new file mode 100644 index 0000000..a4de2af --- /dev/null +++ b/packages/Shell/res/values-frp-rIT/strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-fy-rNL/strings.xml b/packages/Shell/res/values-fy-rNL/strings.xml new file mode 100644 index 0000000..a4de2af --- /dev/null +++ b/packages/Shell/res/values-fy-rNL/strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-gd-rGB/strings.xml b/packages/Shell/res/values-gd-rGB/strings.xml new file mode 100644 index 0000000..a4de2af --- /dev/null +++ b/packages/Shell/res/values-gd-rGB/strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-ku/strings.xml b/packages/Shell/res/values-ku/strings.xml new file mode 100644 index 0000000..455fbb2 --- /dev/null +++ b/packages/Shell/res/values-ku/strings.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <string name="app_label">توێکڵ</string> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <string name="bugreport_finished_title">ڕاپۆرتی کەموکورتیەکان وێنەگیرا</string> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <string name="bugreport_finished_text" product="default">دهستی لێده بۆ پهرشکردنی ڕاپۆرتی کهموکوڕییهکانت</string> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <string name="bugreport_confirm">ڕاپۆرتى کهموکوڕییهکان داتا له خۆ دهگرێت لە تۆمارى سيستم فايلی جۆراوجۆرهوه، هەروەك زانياريى تايبەت و كەسى. تۆماری کهموکوڕییهکان تهنها لهگهڵ ئهو کهس و بهرنامانهدا پهرش بکه که متمانهت پێیانه.</string> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <string name="bugreport_confirm_repeat">جاری داهاتوو ئهم پهیامه پیشان بده</string> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-lb/strings.xml b/packages/Shell/res/values-lb/strings.xml new file mode 100644 index 0000000..04e5358 --- /dev/null +++ b/packages/Shell/res/values-lb/strings.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <string name="app_label">Shell</string> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <string name="bugreport_finished_title">Feelerbericht opgefaangen</string> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <string name="bugreport_finished_text" product="watch">No lénks wësche fir de Feelerbericht ze deelen</string> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <string name="bugreport_finished_text" product="default">Drécken, fir de Feelerbericht ze deelen</string> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <string name="bugreport_confirm">Feelerberichter hunn Daten aus de verschiddene Protokollfichiere vum System, dorënner perséinlech a privat Informatiounen. Deel just Feelerberichter mat Appen a Leit deenen s du traus.</string> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <string name="bugreport_confirm_repeat">Weis dëse Message déi nächst Kéier un</string> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-oc-rFR/strings.xml b/packages/Shell/res/values-oc-rFR/strings.xml new file mode 100644 index 0000000..a4de2af --- /dev/null +++ b/packages/Shell/res/values-oc-rFR/strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-or-rIN/strings.xml b/packages/Shell/res/values-or-rIN/strings.xml new file mode 100644 index 0000000..a4de2af --- /dev/null +++ b/packages/Shell/res/values-or-rIN/strings.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values-ug/strings.xml b/packages/Shell/res/values-ug/strings.xml new file mode 100644 index 0000000..0ba9b31 --- /dev/null +++ b/packages/Shell/res/values-ug/strings.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- 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. +--> +<resources> + <string name="app_label">Shell</string> + <!-- Title of notification indicating a bugreport has been successfully captured. [CHAR LIMIT=50] --> + <string name="bugreport_finished_title">خاتالىق دوكلاتى تۇتۇلدى</string> + <!-- Text of notification indicating that swipe left will share the captured bugreport. [CHAR LIMIT=100] --> + <!-- Text of notification indicating that touching will share the captured bugreport. [CHAR LIMIT=100] --> + <string name="bugreport_finished_text" product="default">چېكىپلا خاتالىق دوكلاتىنى ھەمبەھىرلىيەلەيسىز</string> + <!-- Body of dialog informing user about contents of a bugreport. [CHAR LIMIT=NONE] --> + <string name="bugreport_confirm">خاتالىق دوكلاتىدىكى سانلىق مەلۇماتلار سىستېمىنىڭ ھەر قايسى خاتىرە ھۆججەتلىرىدىن كەلگەن بولۇپ، ئۇنىڭدا شەخسىي ئۇچۇر ۋە شەخسىيەت ئۇچۇرلىرى بار. پەقەت سىز ئىشىنىدىغان ئەپ ۋە ئىشلەتكۈچى بىلەنلا خاتالىق دوكلاتىنى ھەمبەھىرلىنىڭ.</string> + <!-- Checkbox that indicates this dialog should be shown again when the next bugreport is taken. [CHAR LIMIT=50] --> + <string name="bugreport_confirm_repeat">بۇ ئۇچۇرنى كېيىنكى قېتىم كۆرسەت</string> + <!-- Title for documents backend that offers bugreports. --> +</resources> diff --git a/packages/Shell/res/values/cm_strings.xml b/packages/Shell/res/values/cm_strings.xml new file mode 100644 index 0000000..0d81dd6 --- /dev/null +++ b/packages/Shell/res/values/cm_strings.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 The CyanogenMod 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. +--> +<resources> + <!-- Text to let user know a bug report is currently being collected --> + <string name="notification_bug_report_active_title">Collecting bug report\u2026</string> + <string name="notification_bug_report_active_text">Please wait a few minutes</string> +</resources> diff --git a/packages/Shell/src/com/android/shell/BugreportReceiver.java b/packages/Shell/src/com/android/shell/BugreportReceiver.java index d83b516..6e39111 100644 --- a/packages/Shell/src/com/android/shell/BugreportReceiver.java +++ b/packages/Shell/src/com/android/shell/BugreportReceiver.java @@ -65,6 +65,8 @@ public class BugreportReceiver extends BroadcastReceiver { private static final String EXTRA_BUGREPORT = "android.intent.extra.BUGREPORT"; private static final String EXTRA_SCREENSHOT = "android.intent.extra.SCREENSHOT"; + public static final String ACTION_BUGREPORT_STARTED = "android.intent.action.BUGREPORT_STARTED"; + /** * Always keep the newest 8 bugreport files; 4 reports and 4 screenshots are * roughly 17MB of disk space. @@ -79,6 +81,19 @@ public class BugreportReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { final Configuration conf = context.getResources().getConfiguration(); + if (ACTION_BUGREPORT_STARTED.equals(intent.getAction())) { + Notification.Builder builder = new Notification.Builder(context) + .setSmallIcon(com.android.internal.R.drawable.stat_sys_adb) + .setOngoing(true) + .setProgress(0, 0, true) + .setContentTitle(context + .getString(R.string.notification_bug_report_active_title)) + .setContentText(context + .getString(R.string.notification_bug_report_active_text)); + NotificationManager.from(context).notify(TAG, 0, builder.build()); + return; + } + final File bugreportFile = getFileExtra(intent, EXTRA_BUGREPORT); final File screenshotFile = getFileExtra(intent, EXTRA_SCREENSHOT); |