1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926
|
/*
* Copyright (C) 2022 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 android.app.admin;
import android.annotation.SystemApi;
import android.os.UserHandle;
/**
* Class containing the required identifiers to update device management resources.
*
* <p>See {@link DevicePolicyResourcesManager#getDrawable} and
* {@link DevicePolicyResourcesManager#getString}.
*/
public final class DevicePolicyResources {
private DevicePolicyResources() {}
/**
* An identifier used for:
* <ul>
* <li>un-updatable resource IDs</li>
* <li>undefined sources</li>
* </ul>
*/
public static final String UNDEFINED = "UNDEFINED";
/**
* Class containing the identifiers used to update device management-related system drawable.
*
* @hide
*/
public static final class Drawables {
private Drawables() {
}
/**
* Specifically used to badge work profile app icons.
*/
public static final String WORK_PROFILE_ICON_BADGE = "WORK_PROFILE_ICON_BADGE";
/**
* General purpose work profile icon (i.e. generic icon badging). For badging app icons
* specifically, see {@link #WORK_PROFILE_ICON_BADGE}.
*/
public static final String WORK_PROFILE_ICON = "WORK_PROFILE_ICON";
/**
* General purpose icon representing the work profile off state.
*/
public static final String WORK_PROFILE_OFF_ICON = "WORK_PROFILE_OFF_ICON";
/**
* General purpose icon for the work profile user avatar.
*/
public static final String WORK_PROFILE_USER_ICON = "WORK_PROFILE_USER_ICON";
/**
* Class containing the source identifiers used to update device management-related system
* drawable.
*/
public static final class Source {
private Source() {
}
/**
* A source identifier indicating that the updatable drawable is used in notifications.
*/
public static final String NOTIFICATION = "NOTIFICATION";
/**
* A source identifier indicating that the updatable drawable is used in a cross
* profile switching animation.
*/
public static final String PROFILE_SWITCH_ANIMATION = "PROFILE_SWITCH_ANIMATION";
/**
* A source identifier indicating that the updatable drawable is used in a work
* profile home screen widget.
*/
public static final String HOME_WIDGET = "HOME_WIDGET";
/**
* A source identifier indicating that the updatable drawable is used in the launcher
* turn off work button.
*/
public static final String LAUNCHER_OFF_BUTTON = "LAUNCHER_OFF_BUTTON";
/**
* A source identifier indicating that the updatable drawable is used in quick settings.
*/
public static final String QUICK_SETTINGS = "QUICK_SETTINGS";
/**
* A source identifier indicating that the updatable drawable is used in the status bar.
*/
public static final String STATUS_BAR = "STATUS_BAR";
}
/**
* Class containing the style identifiers used to update device management-related system
* drawable.
*/
public static final class Style {
private Style() {
}
/**
* A style identifier indicating that the updatable drawable has a solid color fill.
*/
public static final String SOLID_COLORED = "SOLID_COLORED";
/**
* A style identifier indicating that the updatable drawable has a solid non-colored
* fill.
*/
public static final String SOLID_NOT_COLORED = "SOLID_NOT_COLORED";
/**
* A style identifier indicating that the updatable drawable is an outline.
*/
public static final String OUTLINE = "OUTLINE";
}
}
/**
* Class containing the identifiers used to update device management-related system strings.
*
* @hide
*/
@SystemApi
public static final class Strings {
private Strings() {
}
/**
* Class containing the identifiers used to update device management-related system strings
* in the Settings package
*
* @hide
*/
public static final class Settings {
private Settings() {
}
private static final String PREFIX = "Settings.";
/**
* Title shown for menu item that launches face settings or enrollment, for work profile
*/
public static final String FACE_SETTINGS_FOR_WORK_TITLE =
PREFIX + "FACE_SETTINGS_FOR_WORK_TITLE";
/**
* Warning when removing the last fingerprint on a work profile
*/
public static final String WORK_PROFILE_FINGERPRINT_LAST_DELETE_MESSAGE =
PREFIX + "WORK_PROFILE_FINGERPRINT_LAST_DELETE_MESSAGE";
/**
* Text letting the user know that their IT admin can't reset their screen lock if they
* forget it, and they can choose to set another lock that would be specifically for
* their work apps
*/
public static final String WORK_PROFILE_IT_ADMIN_CANT_RESET_SCREEN_LOCK =
PREFIX + "WORK_PROFILE_IT_ADMIN_CANT_RESET_SCREEN_LOCK";
/**
* Text shown on the CTA link shown to user to set a separate lock for work apps
*/
public static final String WORK_PROFILE_IT_ADMIN_CANT_RESET_SCREEN_LOCK_ACTION =
PREFIX + "WORK_PROFILE_IT_ADMIN_CANT_RESET_SCREEN_LOCK_ACTION";
/**
* Message shown in screen lock picker for setting up a work profile screen lock
*/
public static final String WORK_PROFILE_SCREEN_LOCK_SETUP_MESSAGE =
PREFIX + "WORK_PROFILE_SCREEN_LOCK_SETUP_MESSAGE";
/**
* Title for PreferenceScreen to launch picker for security method for the managed
* profile when there is none
*/
public static final String WORK_PROFILE_SET_UNLOCK_LAUNCH_PICKER_TITLE =
PREFIX + "WORK_PROFILE_SET_UNLOCK_LAUNCH_PICKER_TITLE";
/**
* Content of the dialog shown when the user only has one attempt left to provide the
* work lock pattern before the work profile is removed
*/
public static final String WORK_PROFILE_LAST_PATTERN_ATTEMPT_BEFORE_WIPE =
PREFIX + "WORK_PROFILE_LAST_PATTERN_ATTEMPT_BEFORE_WIPE";
/**
* Content of the dialog shown when the user only has one attempt left to provide the
* work lock pattern before the work profile is removed
*/
public static final String WORK_PROFILE_LAST_PIN_ATTEMPT_BEFORE_WIPE =
PREFIX + "WORK_PROFILE_LAST_PIN_ATTEMPT_BEFORE_WIPE";
/**
* Content of the dialog shown when the user only has one attempt left to provide the
* work lock pattern before the work profile is removed
*/
public static final String WORK_PROFILE_LAST_PASSWORD_ATTEMPT_BEFORE_WIPE =
PREFIX + "WORK_PROFILE_LAST_PASSWORD_ATTEMPT_BEFORE_WIPE";
/**
* Content of the dialog shown when the user has failed to provide the device lock too
* many times and the device is wiped
*/
public static final String WORK_PROFILE_LOCK_ATTEMPTS_FAILED =
PREFIX + "WORK_PROFILE_LOCK_ATTEMPTS_FAILED";
/**
* Content description for work profile accounts group
*/
public static final String ACCESSIBILITY_CATEGORY_WORK =
PREFIX + "ACCESSIBILITY_CATEGORY_WORK";
/**
* Content description for personal profile accounts group
*/
public static final String ACCESSIBILITY_CATEGORY_PERSONAL =
PREFIX + "ACCESSIBILITY_CATEGORY_PERSONAL";
/**
* Content description for work profile details page title
*/
public static final String ACCESSIBILITY_WORK_ACCOUNT_TITLE =
PREFIX + "ACCESSIBILITY_WORK_ACCOUNT_TITLE";
/**
* Content description for personal profile details page title
*/
public static final String ACCESSIBILITY_PERSONAL_ACCOUNT_TITLE =
PREFIX + "ACCESSIBILITY_PERSONAL_ACCOUNT_TITLE";
/**
* Title for work profile location switch
*/
public static final String WORK_PROFILE_LOCATION_SWITCH_TITLE =
PREFIX + "WORK_PROFILE_LOCATION_SWITCH_TITLE";
/**
* Header when setting work profile password
*/
public static final String SET_WORK_PROFILE_PASSWORD_HEADER =
PREFIX + "SET_WORK_PROFILE_PASSWORD_HEADER";
/**
* Header when setting work profile PIN
*/
public static final String SET_WORK_PROFILE_PIN_HEADER =
PREFIX + "SET_WORK_PROFILE_PIN_HEADER";
/**
* Header when setting work profile pattern
*/
public static final String SET_WORK_PROFILE_PATTERN_HEADER =
PREFIX + "SET_WORK_PROFILE_PATTERN_HEADER";
/**
* Header when confirming work profile password
*/
public static final String CONFIRM_WORK_PROFILE_PASSWORD_HEADER =
PREFIX + "CONFIRM_WORK_PROFILE_PASSWORD_HEADER";
/**
* Header when confirming work profile pin
*/
public static final String CONFIRM_WORK_PROFILE_PIN_HEADER =
PREFIX + "CONFIRM_WORK_PROFILE_PIN_HEADER";
/**
* Header when confirming work profile pattern
*/
public static final String CONFIRM_WORK_PROFILE_PATTERN_HEADER =
PREFIX + "CONFIRM_WORK_PROFILE_PATTERN_HEADER";
/**
* Header when re-entering work profile password
*/
public static final String REENTER_WORK_PROFILE_PASSWORD_HEADER =
PREFIX + "REENTER_WORK_PROFILE_PASSWORD_HEADER";
/**
* Header when re-entering work profile pin
*/
public static final String REENTER_WORK_PROFILE_PIN_HEADER =
PREFIX + "REENTER_WORK_PROFILE_PIN_HEADER";
/**
* Message to be used to explain the users that they need to enter their work pattern to
* continue a particular operation
*/
public static final String WORK_PROFILE_CONFIRM_PATTERN =
PREFIX + "WORK_PROFILE_CONFIRM_PATTERN";
/**
* Message to be used to explain the users that they need to enter their work pin to
* continue a particular operation
*/
public static final String WORK_PROFILE_CONFIRM_PIN =
PREFIX + "WORK_PROFILE_CONFIRM_PIN";
/**
* Message to be used to explain the users that they need to enter their work password
* to
* continue a particular operation
*/
public static final String WORK_PROFILE_CONFIRM_PASSWORD =
PREFIX + "WORK_PROFILE_CONFIRM_PASSWORD";
/**
* This string shows = PREFIX + "shows"; up on a screen where a user can enter a pattern
* that lets them access
* their work profile. This is an extra security measure that's required for them to
* continue
*/
public static final String WORK_PROFILE_PATTERN_REQUIRED =
PREFIX + "WORK_PROFILE_PATTERN_REQUIRED";
/**
* This string shows = PREFIX + "shows"; up on a screen where a user can enter a pin
* that lets them access
* their work profile. This is an extra security measure that's required for them to
* continue
*/
public static final String WORK_PROFILE_PIN_REQUIRED =
PREFIX + "WORK_PROFILE_PIN_REQUIRED";
/**
* This string shows = PREFIX + "shows"; up on a screen where a user can enter a
* password that lets them access
* their work profile. This is an extra security measure that's required for them to
* continue
*/
public static final String WORK_PROFILE_PASSWORD_REQUIRED =
PREFIX + "WORK_PROFILE_PASSWORD_REQUIRED";
/**
* Header for Work Profile security settings
*/
public static final String WORK_PROFILE_SECURITY_TITLE =
PREFIX + "WORK_PROFILE_SECURITY_TITLE";
/**
* Header for Work Profile unify locks settings
*/
public static final String WORK_PROFILE_UNIFY_LOCKS_TITLE =
PREFIX + "WORK_PROFILE_UNIFY_LOCKS_TITLE";
/**
* Setting option explanation to unify work and personal locks
*/
public static final String WORK_PROFILE_UNIFY_LOCKS_SUMMARY =
PREFIX + "WORK_PROFILE_UNIFY_LOCKS_SUMMARY";
/**
* Further explanation when the user wants to unify work and personal locks
*/
public static final String WORK_PROFILE_UNIFY_LOCKS_DETAIL =
PREFIX + "WORK_PROFILE_UNIFY_LOCKS_DETAIL";
/**
* Ask if the user wants to create a new lock for personal and work as the current work
* lock is not enough for the device
*/
public static final String WORK_PROFILE_UNIFY_LOCKS_NONCOMPLIANT =
PREFIX + "WORK_PROFILE_UNIFY_LOCKS_NONCOMPLIANT";
/**
* Title of 'Work profile keyboards & tools' preference category
*/
public static final String WORK_PROFILE_KEYBOARDS_AND_TOOLS =
PREFIX + "WORK_PROFILE_KEYBOARDS_AND_TOOLS";
/**
* Label for state when work profile is not available
*/
public static final String WORK_PROFILE_NOT_AVAILABLE =
PREFIX + "WORK_PROFILE_NOT_AVAILABLE";
/**
* Label for work profile setting (to allow turning work profile on and off)
*/
public static final String WORK_PROFILE_SETTING = PREFIX + "WORK_PROFILE_SETTING";
/**
* Description of the work profile setting when the work profile is on
*/
public static final String WORK_PROFILE_SETTING_ON_SUMMARY =
PREFIX + "WORK_PROFILE_SETTING_ON_SUMMARY";
/**
* Description of the work profile setting when the work profile is off
*/
public static final String WORK_PROFILE_SETTING_OFF_SUMMARY =
PREFIX + "WORK_PROFILE_SETTING_OFF_SUMMARY";
/**
* Button text to remove work profile
*/
public static final String REMOVE_WORK_PROFILE = PREFIX + "REMOVE_WORK_PROFILE";
/**
* Text of message to show to device owner user whose administrator has installed a SSL
* CA Cert
*/
public static final String DEVICE_OWNER_INSTALLED_CERTIFICATE_AUTHORITY_WARNING =
PREFIX + "DEVICE_OWNER_INSTALLED_CERTIFICATE_AUTHORITY_WARNING";
/**
* Text of message to show to work profile users whose administrator has installed a SSL
* CA Cert
*/
public static final String WORK_PROFILE_INSTALLED_CERTIFICATE_AUTHORITY_WARNING =
PREFIX + "WORK_PROFILE_INSTALLED_CERTIFICATE_AUTHORITY_WARNING";
/**
* Work profile removal confirmation title
*/
public static final String WORK_PROFILE_CONFIRM_REMOVE_TITLE =
PREFIX + "WORK_PROFILE_CONFIRM_REMOVE_TITLE";
/**
* Work profile removal confirmation message
*/
public static final String WORK_PROFILE_CONFIRM_REMOVE_MESSAGE =
PREFIX + "WORK_PROFILE_CONFIRM_REMOVE_MESSAGE";
/**
* Toast shown when an app in the work profile attempts to open notification settings
* and apps in the work profile cannot access notification settings
*/
public static final String WORK_APPS_CANNOT_ACCESS_NOTIFICATION_SETTINGS =
PREFIX + "WORK_APPS_CANNOT_ACCESS_NOTIFICATION_SETTINGS";
/**
* Work sound settings section header
*/
public static final String WORK_PROFILE_SOUND_SETTINGS_SECTION_HEADER =
PREFIX + "WORK_PROFILE_SOUND_SETTINGS_SECTION_HEADER";
/**
* Title for the switch that enables syncing of personal ringtones to work profile
*/
public static final String WORK_PROFILE_USE_PERSONAL_SOUNDS_TITLE =
PREFIX + "WORK_PROFILE_USE_PERSONAL_SOUNDS_TITLE";
/**
* Summary for the switch that enables syncing of personal ringtones to work profile
*/
public static final String WORK_PROFILE_USE_PERSONAL_SOUNDS_SUMMARY =
PREFIX + "WORK_PROFILE_USE_PERSONAL_SOUNDS_SUMMARY";
/**
* Title for the option defining the work profile phone ringtone
*/
public static final String WORK_PROFILE_RINGTONE_TITLE =
PREFIX + "WORK_PROFILE_RINGTONE_TITLE";
/**
* Title for the option defining the default work profile notification ringtone
*/
public static final String WORK_PROFILE_NOTIFICATION_RINGTONE_TITLE =
PREFIX + "WORK_PROFILE_NOTIFICATION_RINGTONE_TITLE";
/**
* Title for the option defining the default work alarm ringtone
*/
public static final String WORK_PROFILE_ALARM_RINGTONE_TITLE =
PREFIX + "WORK_PROFILE_ALARM_RINGTONE_TITLE";
/**
* Summary for sounds when sync with personal sounds is active
*/
public static final String WORK_PROFILE_SYNC_WITH_PERSONAL_SOUNDS_ACTIVE_SUMMARY =
PREFIX + "WORK_PROFILE_SYNC_WITH_PERSONAL_SOUNDS_ACTIVE_SUMMARY";
/**
* Title for dialog shown when enabling sync with personal sounds
*/
public static final String
ENABLE_WORK_PROFILE_SYNC_WITH_PERSONAL_SOUNDS_DIALOG_TITLE =
PREFIX + "ENABLE_WORK_PROFILE_SYNC_WITH_PERSONAL_SOUNDS_DIALOG_TITLE";
/**
* Message for dialog shown when using the same sounds for work events as for personal
* events
*/
public static final String
ENABLE_WORK_PROFILE_SYNC_WITH_PERSONAL_SOUNDS_DIALOG_MESSAGE =
PREFIX + "ENABLE_WORK_PROFILE_SYNC_WITH_PERSONAL_SOUNDS_DIALOG_MESSAGE";
/**
* Work profile notifications section header
*/
public static final String WORK_PROFILE_NOTIFICATIONS_SECTION_HEADER =
PREFIX + "WORK_PROFILE_NOTIFICATIONS_SECTION_HEADER";
/**
* Title for the option controlling notifications for work profile
*/
public static final String WORK_PROFILE_LOCKED_NOTIFICATION_TITLE =
PREFIX + "WORK_PROFILE_LOCKED_NOTIFICATION_TITLE";
/**
* Title for redacting sensitive content on lockscreen for work profiles
*/
public static final String WORK_PROFILE_LOCK_SCREEN_REDACT_NOTIFICATION_TITLE =
PREFIX + "WORK_PROFILE_LOCK_SCREEN_REDACT_NOTIFICATION_TITLE";
/**
* Summary for redacting sensitive content on lockscreen for work profiles
*/
public static final String WORK_PROFILE_LOCK_SCREEN_REDACT_NOTIFICATION_SUMMARY =
PREFIX + "WORK_PROFILE_LOCK_SCREEN_REDACT_NOTIFICATION_SUMMARY";
/**
* Indicates that the work profile admin doesn't allow this notification listener to
* access
* work profile notifications
*/
public static final String WORK_PROFILE_NOTIFICATION_LISTENER_BLOCKED =
PREFIX + "WORK_PROFILE_NOTIFICATION_LISTENER_BLOCKED";
/**
* This setting shows a user's connected work and personal apps.
*/
public static final String CONNECTED_WORK_AND_PERSONAL_APPS_TITLE =
PREFIX + "CONNECTED_WORK_AND_PERSONAL_APPS_TITLE";
/**
* This text lets a user know that if they connect work and personal apps,
* they will share permissions and can access each other's data
*/
public static final String CONNECTED_APPS_SHARE_PERMISSIONS_AND_DATA =
PREFIX + "CONNECTED_APPS_SHARE_PERMISSIONS_AND_DATA";
/**
* This text lets a user know that they should only connect work and personal apps if
* they
* trust the work app with their personal data
*/
public static final String ONLY_CONNECT_TRUSTED_APPS =
PREFIX + "ONLY_CONNECT_TRUSTED_APPS";
/**
* This text lets a user know how to disconnect work and personal apps
*/
public static final String HOW_TO_DISCONNECT_APPS = PREFIX + "HOW_TO_DISCONNECT_APPS";
/**
* Title of confirmation dialog when connecting work and personal apps
*/
public static final String CONNECT_APPS_DIALOG_TITLE =
PREFIX + "CONNECT_APPS_DIALOG_TITLE";
/**
* This dialog is shown when a user tries to connect a work app to a personal
* app
*/
public static final String CONNECT_APPS_DIALOG_SUMMARY =
PREFIX + "CONNECT_APPS_DIALOG_SUMMARY";
/**
* This text lets the user know that their work app will be able to access data in their
* personal app
*/
public static final String APP_CAN_ACCESS_PERSONAL_DATA =
PREFIX + "APP_CAN_ACCESS_PERSONAL_DATA";
/**
* This text lets the user know that their work app will be able to use permissions in
* their personal app
*/
public static final String APP_CAN_ACCESS_PERSONAL_PERMISSIONS =
PREFIX + "APP_CAN_ACCESS_PERSONAL_PERMISSIONS";
/**
* lets a user know that they need to install an app in their work profile in order to
* connect it to the corresponding personal app
*/
public static final String INSTALL_IN_WORK_PROFILE_TO_CONNECT_PROMPT =
PREFIX + "INSTALL_IN_WORK_PROFILE_TO_CONNECT_PROMPT";
/**
* lets a user know that they need to install an app in their personal profile in order
* to
* connect it to the corresponding work app
*/
public static final String INSTALL_IN_PERSONAL_PROFILE_TO_CONNECT_PROMPT =
PREFIX + "INSTALL_IN_PERSONAL_PROFILE_TO_CONNECT_PROMPT";
/**
* Header for showing the organisation managing the work profile
*/
public static final String WORK_PROFILE_MANAGED_BY = PREFIX + "WORK_PROFILE_MANAGED_BY";
/**
* Summary showing the enterprise who manages the device or profile.
*/
public static final String MANAGED_BY = PREFIX + "MANAGED_BY";
/**
* Warning message about disabling usage access on profile owner
*/
public static final String WORK_PROFILE_DISABLE_USAGE_ACCESS_WARNING =
PREFIX + "WORK_PROFILE_DISABLE_USAGE_ACCESS_WARNING";
/**
* Title for dialog displayed when user taps a setting on their phone that's blocked by
* their IT admin
*/
public static final String DISABLED_BY_IT_ADMIN_TITLE =
PREFIX + "DISABLED_BY_IT_ADMIN_TITLE";
/**
* Shown when the user tries to change phone settings that are blocked by their IT admin
*/
public static final String CONTACT_YOUR_IT_ADMIN = PREFIX + "CONTACT_YOUR_IT_ADMIN";
/**
* warn user about policies the admin can set in a work profile
*/
public static final String WORK_PROFILE_ADMIN_POLICIES_WARNING =
PREFIX + "WORK_PROFILE_ADMIN_POLICIES_WARNING";
/**
* warn user about policies the admin can set on a user
*/
public static final String USER_ADMIN_POLICIES_WARNING =
PREFIX + "USER_ADMIN_POLICIES_WARNING";
/**
* warn user about policies the admin can set on a device
*/
public static final String DEVICE_ADMIN_POLICIES_WARNING =
PREFIX + "DEVICE_ADMIN_POLICIES_WARNING";
/**
* Condition that work profile is off
*/
public static final String WORK_PROFILE_OFF_CONDITION_TITLE =
PREFIX + "WORK_PROFILE_OFF_CONDITION_TITLE";
/**
* Title of work profile setting page
*/
public static final String MANAGED_PROFILE_SETTINGS_TITLE =
PREFIX + "MANAGED_PROFILE_SETTINGS_TITLE";
/**
* Setting that lets a user's personal apps identify contacts using the user's work
* directory
*/
public static final String WORK_PROFILE_CONTACT_SEARCH_TITLE =
PREFIX + "WORK_PROFILE_CONTACT_SEARCH_TITLE";
/**
* This setting lets a user's personal apps identify contacts using the user's work
* directory
*/
public static final String WORK_PROFILE_CONTACT_SEARCH_SUMMARY =
PREFIX + "WORK_PROFILE_CONTACT_SEARCH_SUMMARY";
/**
* This setting lets the user show their work events on their personal calendar
*/
public static final String CROSS_PROFILE_CALENDAR_TITLE =
PREFIX + "CROSS_PROFILE_CALENDAR_TITLE";
/**
* Setting description. If the user turns on this setting, they can see their work
* events on their personal calendar
*/
public static final String CROSS_PROFILE_CALENDAR_SUMMARY =
PREFIX + "CROSS_PROFILE_CALENDAR_SUMMARY";
/**
* Label explaining that an always-on VPN was set by the admin in the personal profile
*/
public static final String ALWAYS_ON_VPN_PERSONAL_PROFILE =
PREFIX + "ALWAYS_ON_VPN_PERSONAL_PROFILE";
/**
* Label explaining that an always-on VPN was set by the admin for the entire device
*/
public static final String ALWAYS_ON_VPN_DEVICE = PREFIX + "ALWAYS_ON_VPN_DEVICE";
/**
* Label explaining that an always-on VPN was set by the admin in the work profile
*/
public static final String ALWAYS_ON_VPN_WORK_PROFILE =
PREFIX + "ALWAYS_ON_VPN_WORK_PROFILE";
/**
* Label explaining that the admin installed trusted CA certificates in personal profile
*/
public static final String CA_CERTS_PERSONAL_PROFILE =
PREFIX + "CA_CERTS_PERSONAL_PROFILE";
/**
* Label explaining that the admin installed trusted CA certificates in work profile
*/
public static final String CA_CERTS_WORK_PROFILE = PREFIX + "CA_CERTS_WORK_PROFILE";
/**
* Label explaining that the admin installed trusted CA certificates for the entire
* device
*/
public static final String CA_CERTS_DEVICE = PREFIX + "CA_CERTS_DEVICE";
/**
* Label explaining that the admin can lock the device and change the user's password
*/
public static final String ADMIN_CAN_LOCK_DEVICE = PREFIX + "ADMIN_CAN_LOCK_DEVICE";
/**
* Label explaining that the admin can wipe the device remotely
*/
public static final String ADMIN_CAN_WIPE_DEVICE = PREFIX + "ADMIN_CAN_WIPE_DEVICE";
/**
* Label explaining that the admin configured the device to wipe itself when the
* password is mistyped too many times
*/
public static final String ADMIN_CONFIGURED_FAILED_PASSWORD_WIPE_DEVICE =
PREFIX + "ADMIN_CONFIGURED_FAILED_PASSWORD_WIPE_DEVICE";
/**
* Label explaining that the admin configured the work profile to wipe itself when the
* password is mistyped too many times
*/
public static final String ADMIN_CONFIGURED_FAILED_PASSWORD_WIPE_WORK_PROFILE =
PREFIX + "ADMIN_CONFIGURED_FAILED_PASSWORD_WIPE_WORK_PROFILE";
/**
* Message indicating that the device is enterprise-managed by a Device Owner
*/
public static final String DEVICE_MANAGED_WITHOUT_NAME =
PREFIX + "DEVICE_MANAGED_WITHOUT_NAME";
/**
* Message indicating that the device is enterprise-managed by a Device Owner
*/
public static final String DEVICE_MANAGED_WITH_NAME =
PREFIX + "DEVICE_MANAGED_WITH_NAME";
/**
* Subtext of work profile app for current setting
*/
public static final String WORK_PROFILE_APP_SUBTEXT =
PREFIX + "WORK_PROFILE_APP_SUBTEXT";
/**
* Subtext of personal profile app for current setting
*/
public static final String PERSONAL_PROFILE_APP_SUBTEXT =
PREFIX + "PERSONAL_PROFILE_APP_SUBTEXT";
/**
* Title shown for work menu item that launches fingerprint settings or enrollment
*/
public static final String FINGERPRINT_FOR_WORK = PREFIX + "FINGERPRINT_FOR_WORK";
/**
* Message shown in face enrollment dialog, when face unlock is disabled by device admin
*/
public static final String FACE_UNLOCK_DISABLED = PREFIX + "FACE_UNLOCK_DISABLED";
/**
* message shown in fingerprint enrollment dialog, when fingerprint unlock is disabled
* by device admin
*/
public static final String FINGERPRINT_UNLOCK_DISABLED =
PREFIX + "FINGERPRINT_UNLOCK_DISABLED";
/**
* Text shown in fingerprint settings explaining what the fingerprint can be used for in
* the case unlocking is disabled
*/
public static final String FINGERPRINT_UNLOCK_DISABLED_EXPLANATION =
PREFIX + "FINGERPRINT_UNLOCK_DISABLED_EXPLANATION";
/**
* Error shown when in PIN mode and PIN has been used recently
*/
public static final String PIN_RECENTLY_USED = PREFIX + "PIN_RECENTLY_USED";
/**
* Error shown when in PASSWORD mode and password has been used recently
*/
public static final String PASSWORD_RECENTLY_USED = PREFIX + "PASSWORD_RECENTLY_USED";
/**
* Title of preference to manage device admin apps
*/
public static final String MANAGE_DEVICE_ADMIN_APPS =
PREFIX + "MANAGE_DEVICE_ADMIN_APPS";
/**
* Inform the user that currently no device admin apps are installed and active
*/
public static final String NUMBER_OF_DEVICE_ADMINS_NONE =
PREFIX + "NUMBER_OF_DEVICE_ADMINS_NONE";
/**
* Inform the user how many device admin apps are installed and active
*/
public static final String NUMBER_OF_DEVICE_ADMINS = PREFIX + "NUMBER_OF_DEVICE_ADMINS";
/**
* Title that asks the user to contact the IT admin to reset password
*/
public static final String FORGOT_PASSWORD_TITLE = PREFIX + "FORGOT_PASSWORD_TITLE";
/**
* Content that asks the user to contact the IT admin to reset password
*/
public static final String FORGOT_PASSWORD_TEXT = PREFIX + "FORGOT_PASSWORD_TEXT";
/**
* Error message shown when trying to move device administrators to external disks, such
* as SD card
*/
public static final String ERROR_MOVE_DEVICE_ADMIN = PREFIX + "ERROR_MOVE_DEVICE_ADMIN";
/**
* Device admin app settings title
*/
public static final String DEVICE_ADMIN_SETTINGS_TITLE =
PREFIX + "DEVICE_ADMIN_SETTINGS_TITLE";
/**
* Button to remove the active device admin app
*/
public static final String REMOVE_DEVICE_ADMIN = PREFIX + "REMOVE_DEVICE_ADMIN";
/**
* Button to uninstall the device admin app
*/
public static final String UNINSTALL_DEVICE_ADMIN = PREFIX + "UNINSTALL_DEVICE_ADMIN";
/**
* Button to deactivate and uninstall the device admin app
*/
public static final String REMOVE_AND_UNINSTALL_DEVICE_ADMIN =
PREFIX + "REMOVE_AND_UNINSTALL_DEVICE_ADMIN";
/**
* Message when there are no available device admin apps to display
*/
public static final String NO_DEVICE_ADMINS = PREFIX + "NO_DEVICE_ADMINS";
/**
* Title for screen to add a device admin app
*/
public static final String ACTIVATE_DEVICE_ADMIN_APP =
PREFIX + "ACTIVATE_DEVICE_ADMIN_APP";
/**
* Label for button to set the active device admin
*/
public static final String ACTIVATE_THIS_DEVICE_ADMIN_APP =
PREFIX + "ACTIVATE_THIS_DEVICE_ADMIN_APP";
/**
* Activate a specific device admin app title
*/
public static final String ACTIVATE_DEVICE_ADMIN_APP_TITLE =
PREFIX + "ACTIVATE_DEVICE_ADMIN_APP_TITLE";
/**
* Device admin warning message about policies a not active admin can use
*/
public static final String NEW_DEVICE_ADMIN_WARNING =
PREFIX + "NEW_DEVICE_ADMIN_WARNING";
/**
* Simplified device admin warning message
*/
public static final String NEW_DEVICE_ADMIN_WARNING_SIMPLIFIED =
PREFIX + "NEW_DEVICE_ADMIN_WARNING_SIMPLIFIED";
/**
* Device admin warning message about policies the active admin can use
*/
public static final String ACTIVE_DEVICE_ADMIN_WARNING =
PREFIX + "ACTIVE_DEVICE_ADMIN_WARNING";
/**
* Simplified title for dialog to set a profile owner
*/
public static final String SET_PROFILE_OWNER_DIALOG_TITLE =
PREFIX + "SET_PROFILE_OWNER_DIALOG_TITLE";
/**
* Warning when trying to add a profile owner admin after setup has completed
*/
public static final String SET_PROFILE_OWNER_POSTSETUP_WARNING =
PREFIX + "SET_PROFILE_OWNER_POSTSETUP_WARNING";
/**
* Message displayed to let the user know that some of the options are disabled by admin
*/
public static final String OTHER_OPTIONS_DISABLED_BY_ADMIN =
PREFIX + "OTHER_OPTIONS_DISABLED_BY_ADMIN";
/**
* This is shown if the authenticator for a given account fails to remove it due to
* admin restrictions
*/
public static final String REMOVE_ACCOUNT_FAILED_ADMIN_RESTRICTION =
PREFIX + "REMOVE_ACCOUNT_FAILED_ADMIN_RESTRICTION";
/**
* Url for learning more about IT admin policy disabling
*/
public static final String IT_ADMIN_POLICY_DISABLING_INFO_URL =
PREFIX + "IT_ADMIN_POLICY_DISABLING_INFO_URL";
/**
* Title of dialog shown to ask for user consent for sharing a bugreport that was
* requested
* remotely by the IT administrator
*/
public static final String SHARE_REMOTE_BUGREPORT_DIALOG_TITLE =
PREFIX + "SHARE_REMOTE_BUGREPORT_DIALOG_TITLE";
/**
* Message of a dialog shown to ask for user consent for sharing a bugreport that was
* requested remotely by the IT administrator
*/
public static final String SHARE_REMOTE_BUGREPORT_FINISHED_REQUEST_CONSENT =
PREFIX + "SHARE_REMOTE_BUGREPORT_FINISHED_REQUEST_CONSENT";
/**
* Message of a dialog shown to ask for user consent for sharing a bugreport that was
* requested remotely by the IT administrator and it's still being taken
*/
public static final String SHARE_REMOTE_BUGREPORT_NOT_FINISHED_REQUEST_CONSENT =
PREFIX + "SHARE_REMOTE_BUGREPORT_NOT_FINISHED_REQUEST_CONSENT";
/**
* Message of a dialog shown to inform that the remote bugreport that was requested
* remotely by the IT administrator is still being taken and will be shared when
* finished
*/
public static final String SHARING_REMOTE_BUGREPORT_MESSAGE =
PREFIX + "SHARING_REMOTE_BUGREPORT_MESSAGE";
/**
* Managed device information screen title
*/
public static final String MANAGED_DEVICE_INFO = PREFIX + "MANAGED_DEVICE_INFO";
/**
* Summary for managed device info section
*/
public static final String MANAGED_DEVICE_INFO_SUMMARY =
PREFIX + "MANAGED_DEVICE_INFO_SUMMARY";
/**
* Summary for managed device info section including organization name
*/
public static final String MANAGED_DEVICE_INFO_SUMMARY_WITH_NAME =
PREFIX + "MANAGED_DEVICE_INFO_SUMMARY_WITH_NAME";
/**
* Enterprise Privacy settings header, summarizing the powers that the admin has
*/
public static final String ENTERPRISE_PRIVACY_HEADER =
PREFIX + "ENTERPRISE_PRIVACY_HEADER";
/**
* Types of information your organization can see section title
*/
public static final String INFORMATION_YOUR_ORGANIZATION_CAN_SEE_TITLE =
PREFIX + "INFORMATION_YOUR_ORGANIZATION_CAN_SEE_TITLE";
/**
* Changes made by your organization's admin section title
*/
public static final String CHANGES_MADE_BY_YOUR_ORGANIZATION_ADMIN_TITLE =
PREFIX + "CHANGES_MADE_BY_YOUR_ORGANIZATION_ADMIN_TITLE";
/**
* Your access to this device section title
*/
public static final String YOUR_ACCESS_TO_THIS_DEVICE_TITLE =
PREFIX + "YOUR_ACCESS_TO_THIS_DEVICE_TITLE";
/**
* Things the admin can see: data associated with the work account
*/
public static final String ADMIN_CAN_SEE_WORK_DATA_WARNING =
PREFIX + "ADMIN_CAN_SEE_WORK_DATA_WARNING";
/**
* Things the admin can see: Apps installed on the device
*/
public static final String ADMIN_CAN_SEE_APPS_WARNING =
PREFIX + "ADMIN_CAN_SEE_APPS_WARNING";
/**
* Things the admin can see: Amount of time and data spent in each app
*/
public static final String ADMIN_CAN_SEE_USAGE_WARNING =
PREFIX + "ADMIN_CAN_SEE_USAGE_WARNING";
/**
* Things the admin can see: Most recent network traffic log
*/
public static final String ADMIN_CAN_SEE_NETWORK_LOGS_WARNING =
PREFIX + "ADMIN_CAN_SEE_NETWORK_LOGS_WARNING";
/**
* Things the admin can see: Most recent bug report
*/
public static final String ADMIN_CAN_SEE_BUG_REPORT_WARNING =
PREFIX + "ADMIN_CAN_SEE_BUG_REPORT_WARNING";
/**
* Things the admin can see: Security logs
*/
public static final String ADMIN_CAN_SEE_SECURITY_LOGS_WARNING =
PREFIX + "ADMIN_CAN_SEE_SECURITY_LOGS_WARNING";
/**
* Indicate that the admin never took a given action so far (e.g. did not retrieve
* security logs or request bug reports).
*/
public static final String ADMIN_ACTION_NONE = PREFIX + "ADMIN_ACTION_NONE";
/**
* Indicate that the admin installed one or more apps on the device
*/
public static final String ADMIN_ACTION_APPS_INSTALLED =
PREFIX + "ADMIN_ACTION_APPS_INSTALLED";
/**
* Explaining that the number of apps is an estimation
*/
public static final String ADMIN_ACTION_APPS_COUNT_ESTIMATED =
PREFIX + "ADMIN_ACTION_APPS_COUNT_ESTIMATED";
/**
* Indicating the minimum number of apps that a label refers to
*/
public static final String ADMIN_ACTIONS_APPS_COUNT_MINIMUM =
PREFIX + "ADMIN_ACTIONS_APPS_COUNT_MINIMUM";
/**
* Indicate that the admin granted one or more apps access to the device's location
*/
public static final String ADMIN_ACTION_ACCESS_LOCATION =
PREFIX + "ADMIN_ACTION_ACCESS_LOCATION";
/**
* Indicate that the admin granted one or more apps access to the microphone
*/
public static final String ADMIN_ACTION_ACCESS_MICROPHONE =
PREFIX + "ADMIN_ACTION_ACCESS_MICROPHONE";
/**
* Indicate that the admin granted one or more apps access to the camera
*/
public static final String ADMIN_ACTION_ACCESS_CAMERA =
PREFIX + "ADMIN_ACTION_ACCESS_CAMERA";
/**
* Indicate that the admin set one or more apps as defaults for common actions
*/
public static final String ADMIN_ACTION_SET_DEFAULT_APPS =
PREFIX + "ADMIN_ACTION_SET_DEFAULT_APPS";
/**
* Indicate the number of apps that a label refers to
*/
public static final String ADMIN_ACTIONS_APPS_COUNT =
PREFIX + "ADMIN_ACTIONS_APPS_COUNT";
/**
* Indicate that the current input method was set by the admin
*/
public static final String ADMIN_ACTION_SET_CURRENT_INPUT_METHOD =
PREFIX + "ADMIN_ACTION_SET_CURRENT_INPUT_METHOD";
/**
* The input method set by the admin
*/
public static final String ADMIN_ACTION_SET_INPUT_METHOD_NAME =
PREFIX + "ADMIN_ACTION_SET_INPUT_METHOD_NAME";
/**
* Indicate that a global HTTP proxy was set by the admin
*/
public static final String ADMIN_ACTION_SET_HTTP_PROXY =
PREFIX + "ADMIN_ACTION_SET_HTTP_PROXY";
/**
* Summary for Enterprise Privacy settings, explaining what the user can expect to find
* under it
*/
public static final String WORK_PROFILE_PRIVACY_POLICY_INFO_SUMMARY =
PREFIX + "WORK_PROFILE_PRIVACY_POLICY_INFO_SUMMARY";
/**
* Setting on privacy settings screen that will show work policy info
*/
public static final String WORK_PROFILE_PRIVACY_POLICY_INFO =
PREFIX + "WORK_PROFILE_PRIVACY_POLICY_INFO";
/**
* Search keywords for connected work and personal apps
*/
public static final String CONNECTED_APPS_SEARCH_KEYWORDS =
PREFIX + "CONNECTED_APPS_SEARCH_KEYWORDS";
/**
* Work profile unification keywords
*/
public static final String WORK_PROFILE_UNIFICATION_SEARCH_KEYWORDS =
PREFIX + "WORK_PROFILE_UNIFICATION_SEARCH_KEYWORDS";
/**
* Accounts keywords
*/
public static final String ACCOUNTS_SEARCH_KEYWORDS =
PREFIX + "ACCOUNTS_SEARCH_KEYWORDS";
/**
* Summary for settings preference disabled by administrator
*/
public static final String CONTROLLED_BY_ADMIN_SUMMARY =
PREFIX + "CONTROLLED_BY_ADMIN_SUMMARY";
/**
* User label for a work profile
*/
public static final String WORK_PROFILE_USER_LABEL = PREFIX + "WORK_PROFILE_USER_LABEL";
/**
* Header for items under the work user
*/
public static final String WORK_CATEGORY_HEADER = PREFIX + "WORK_CATEGORY_HEADER";
/**
* Header for items under the personal user
*/
public static final String PERSONAL_CATEGORY_HEADER =
PREFIX + "PERSONAL_CATEGORY_HEADER";
/**
* Text to indicate work notification content will be shown on the lockscreen.
*/
public static final String LOCK_SCREEN_SHOW_WORK_NOTIFICATION_CONTENT =
PREFIX + "LOCK_SCREEN_SHOW_WORK_NOTIFICATION_CONTENT";
/**
* Text to indicate work notification content will be shown on the lockscreen.
*/
public static final String LOCK_SCREEN_HIDE_WORK_NOTIFICATION_CONTENT =
PREFIX + "LOCK_SCREEN_HIDE_WORK_NOTIFICATION_CONTENT";
/**
* Text for toggle to enable auto-sycing personal data
*/
public static final String AUTO_SYNC_PERSONAL_DATA = PREFIX
+ "AUTO_SYNC_PERSONAL_DATA";
/**
* Text for toggle to enable auto-sycing work data
*/
public static final String AUTO_SYNC_WORK_DATA = PREFIX + "AUTO_SYNC_WORK_DATA";
/**
* Summary for "More security settings" section when a work profile is on the device.
*/
public static final String MORE_SECURITY_SETTINGS_WORK_PROFILE_SUMMARY = PREFIX
+ "MORE_SECURITY_SETTINGS_WORK_PROFILE_SUMMARY";
/**
* Title for screen asking the user to choose a type of screen lock (such as a pattern,
* PIN, or password) that they need to enter to use their work apps
*/
public static final String LOCK_SETTINGS_NEW_PROFILE_LOCK_TITLE = PREFIX
+ "LOCK_SETTINGS_NEW_PROFILE_LOCK_TITLE";
/**
* Title for screen asking the user to update the type of screen lock (such as a
* pattern, PIN, or password) that they need to enter to use their work apps
*/
public static final String LOCK_SETTINGS_UPDATE_PROFILE_LOCK_TITLE = PREFIX
+ "LOCK_SETTINGS_UPDATE_PROFILE_LOCK_TITLE";
/**
* Title for section listing information that can be seen by organization
*/
public static final String INFORMATION_SEEN_BY_ORGANIZATION_TITLE = PREFIX
+ "INFORMATION_SEEN_BY_ORGANIZATION_TITLE";
/**
* Title for section listing changes made by the organization.
*/
public static final String CHANGES_BY_ORGANIZATION_TITLE =
PREFIX + "CHANGES_BY_ORGANIZATION_TITLE";
/**
* Footer for enterprise privacy screen.
*/
public static final String ENTERPRISE_PRIVACY_FOOTER =
PREFIX + "ENTERPRISE_PRIVACY_FOOTER";
/**
* Title for spell checker settings for work.
*/
public static final String SPELL_CHECKER_FOR_WORK =
PREFIX + "SPELL_CHECKER_FOR_WORK";
/**
* Title for personal dictionary for work settings.
*/
public static final String PERSONAL_DICTIONARY_FOR_WORK =
PREFIX + "PERSONAL_DICTIONARY_FOR_WORK";
/**
* Summary for switch preference to indicate it is disabled by the admin
*/
public static final String DISABLED_BY_ADMIN_SWITCH_SUMMARY =
PREFIX + "DISABLED_BY_ADMIN_SWITCH_SUMMARY";
/**
* Summary for switch preference to indicate it is enabled by the admin
*/
public static final String ENABLED_BY_ADMIN_SWITCH_SUMMARY =
PREFIX + "ENABLED_BY_ADMIN_SWITCH_SUMMARY";
}
/**
* Class containing the identifiers used to update device management-related system strings
* in the SystemUi package.
*
* @hide
*/
public static final class SystemUi {
private SystemUi() {
}
private static final String PREFIX = "SystemUi.";
/**
* Label in quick settings for toggling work profile on/off.
*/
public static final String QS_WORK_PROFILE_LABEL = PREFIX + "QS_WORK_PROFILE_LABEL";
/**
* Disclosure at the bottom of Quick Settings to indicate device management.
*/
public static final String QS_MSG_MANAGEMENT = PREFIX + "QS_MSG_MANAGEMENT";
/**
* Similar to {@link #QS_MSG_MANAGEMENT} but accepts the organization name as a
* param.
*/
public static final String QS_MSG_NAMED_MANAGEMENT = PREFIX + "QS_MSG_NAMED_MANAGEMENT";
/**
* Disclosure at the bottom of Quick Settings to indicate device management monitoring.
*/
public static final String QS_MSG_MANAGEMENT_MONITORING =
PREFIX + "QS_MSG_MANAGEMENT_MONITORING";
/**
* Similar to {@link #QS_MSG_MANAGEMENT_MONITORING} but accepts the
* organization name as a param.
*/
public static final String QS_MSG_NAMED_MANAGEMENT_MONITORING =
PREFIX + "QS_MSG_NAMED_MANAGEMENT_MONITORING";
/**
* Disclosure at the bottom of Quick Settings to indicate device management and the
* device is connected to a VPN, accepts VPN name as a param.
*/
public static final String QS_MSG_MANAGEMENT_NAMED_VPN =
PREFIX + "QS_MSG_MANAGEMENT_NAMED_VPN";
/**
* Similar to {@link #QS_MSG_MANAGEMENT_NAMED_VPN} but also accepts the
* organization name as a param.
*/
public static final String QS_MSG_NAMED_MANAGEMENT_NAMED_VPN =
PREFIX + "QS_MSG_NAMED_MANAGEMENT_NAMED_VPN";
/**
* Disclosure at the bottom of Quick Settings to indicate device management and the
* device is connected to multiple VPNs.
*/
public static final String QS_MSG_MANAGEMENT_MULTIPLE_VPNS =
PREFIX + "QS_MSG_MANAGEMENT_MULTIPLE_VPNS";
/**
* Similar to {@link #QS_MSG_MANAGEMENT_MULTIPLE_VPNS} but also accepts the
* organization name as a param.
*/
public static final String QS_MSG_NAMED_MANAGEMENT_MULTIPLE_VPNS =
PREFIX + "QS_MSG_NAMED_MANAGEMENT_MULTIPLE_VPNS";
/**
* Disclosure at the bottom of Quick Settings to indicate work profile monitoring.
*/
public static final String QS_MSG_WORK_PROFILE_MONITORING =
PREFIX + "QS_MSG_WORK_PROFILE_MONITORING";
/**
* Similar to {@link #QS_MSG_WORK_PROFILE_MONITORING} but accepts the
* organization name as a param.
*/
public static final String QS_MSG_NAMED_WORK_PROFILE_MONITORING =
PREFIX + "QS_MSG_NAMED_WORK_PROFILE_MONITORING";
/**
* Disclosure at the bottom of Quick Settings to indicate network activity is visible to
* admin.
*/
public static final String QS_MSG_WORK_PROFILE_NETWORK =
PREFIX + "QS_MSG_WORK_PROFILE_NETWORK";
/**
* Disclosure at the bottom of Quick Settings to indicate work profile is connected to a
* VPN, accepts VPN name as a param.
*/
public static final String QS_MSG_WORK_PROFILE_NAMED_VPN =
PREFIX + "QS_MSG_WORK_PROFILE_NAMED_VPN";
/**
* Disclosure at the bottom of Quick Settings to indicate personal profile is connected
* to a VPN, accepts VPN name as a param.
*/
public static final String QS_MSG_PERSONAL_PROFILE_NAMED_VPN =
PREFIX + "QS_MSG_PERSONAL_PROFILE_NAMED_VPN";
/**
* Title for dialog to indicate device management.
*/
public static final String QS_DIALOG_MANAGEMENT_TITLE =
PREFIX + "QS_DIALOG_MANAGEMENT_TITLE";
/**
* Label for button in the device management dialog to open a page with more information
* on the admin's abilities.
*/
public static final String QS_DIALOG_VIEW_POLICIES =
PREFIX + "QS_DIALOG_VIEW_POLICIES";
/**
* Description for device management dialog to indicate admin abilities.
*/
public static final String QS_DIALOG_MANAGEMENT = PREFIX + "QS_DIALOG_MANAGEMENT";
/**
* Similar to {@link #QS_DIALOG_MANAGEMENT} but accepts the organization name as a
* param.
*/
public static final String QS_DIALOG_NAMED_MANAGEMENT =
PREFIX + "QS_DIALOG_NAMED_MANAGEMENT";
/**
* Description for the managed device certificate authorities in the device management
* dialog.
*/
public static final String QS_DIALOG_MANAGEMENT_CA_CERT =
PREFIX + "QS_DIALOG_MANAGEMENT_CA_CERT";
/**
* Description for the work profile certificate authorities in the device management
* dialog.
*/
public static final String QS_DIALOG_WORK_PROFILE_CA_CERT =
PREFIX + "QS_DIALOG_WORK_PROFILE_CA_CERT";
/**
* Description for the managed device network logging in the device management dialog.
*/
public static final String QS_DIALOG_MANAGEMENT_NETWORK =
PREFIX + "QS_DIALOG_MANAGEMENT_NETWORK";
/**
* Description for the work profile network logging in the device management dialog.
*/
public static final String QS_DIALOG_WORK_PROFILE_NETWORK =
PREFIX + "QS_DIALOG_WORK_PROFILE_NETWORK";
/**
* Description for an active VPN in the device management dialog, accepts VPN name as a
* param.
*/
public static final String QS_DIALOG_MANAGEMENT_NAMED_VPN =
PREFIX + "QS_DIALOG_MANAGEMENT_NAMED_VPN";
/**
* Description for two active VPN in the device management dialog, accepts two VPN names
* as params.
*/
public static final String QS_DIALOG_MANAGEMENT_TWO_NAMED_VPN =
PREFIX + "QS_DIALOG_MANAGEMENT_TWO_NAMED_VPN";
/**
* Description for an active work profile VPN in the device management dialog, accepts
* VPN name as a param.
*/
public static final String QS_DIALOG_WORK_PROFILE_NAMED_VPN =
PREFIX + "QS_DIALOG_WORK_PROFILE_NAMED_VPN";
/**
* Description for an active personal profile VPN in the device management dialog,
* accepts VPN name as a param.
*/
public static final String QS_DIALOG_PERSONAL_PROFILE_NAMED_VPN =
PREFIX + "QS_DIALOG_PERSONAL_PROFILE_NAMED_VPN";
/**
* Content of a dialog shown when the user only has one attempt left to provide the
* correct pin before the work profile is removed.
*/
public static final String BIOMETRIC_DIALOG_WORK_PIN_LAST_ATTEMPT =
PREFIX + "BIOMETRIC_DIALOG_WORK_PIN_LAST_ATTEMPT";
/**
* Content of a dialog shown when the user only has one attempt left to provide the
* correct pattern before the work profile is removed.
*/
public static final String BIOMETRIC_DIALOG_WORK_PATTERN_LAST_ATTEMPT =
PREFIX + "BIOMETRIC_DIALOG_WORK_PATTERN_LAST_ATTEMPT";
/**
* Content of a dialog shown when the user only has one attempt left to provide the
* correct password before the work profile is removed.
*/
public static final String BIOMETRIC_DIALOG_WORK_PASSWORD_LAST_ATTEMPT =
PREFIX + "BIOMETRIC_DIALOG_WORK_PASSWORD_LAST_ATTEMPT";
/**
* Content of a dialog shown when the user has failed to provide the work lock too many
* times and the work profile is removed.
*/
public static final String BIOMETRIC_DIALOG_WORK_LOCK_FAILED_ATTEMPTS =
PREFIX + "BIOMETRIC_DIALOG_WORK_LOCK_FAILED_ATTEMPTS";
/**
* Accessibility label for managed profile icon in the status bar
*/
public static final String STATUS_BAR_WORK_ICON_ACCESSIBILITY =
PREFIX + "STATUS_BAR_WORK_ICON_ACCESSIBILITY";
/**
* Text appended to privacy dialog, indicating that the application is in the work
* profile.
*/
public static final String ONGOING_PRIVACY_DIALOG_WORK =
PREFIX + "ONGOING_PRIVACY_DIALOG_WORK";
/**
* Text on keyguard screen indicating device management.
*/
public static final String KEYGUARD_MANAGEMENT_DISCLOSURE =
PREFIX + "KEYGUARD_MANAGEMENT_DISCLOSURE";
/**
* Similar to {@link #KEYGUARD_MANAGEMENT_DISCLOSURE} but also accepts organization name
* as a param.
*/
public static final String KEYGUARD_NAMED_MANAGEMENT_DISCLOSURE =
PREFIX + "KEYGUARD_NAMED_MANAGEMENT_DISCLOSURE";
/**
* Content description for the work profile lock screen.
*/
public static final String WORK_LOCK_ACCESSIBILITY = PREFIX + "WORK_LOCK_ACCESSIBILITY";
/**
* Notification text displayed when screenshots are blocked by an IT admin.
*/
public static final String SCREENSHOT_BLOCKED_BY_ADMIN =
PREFIX + "SCREENSHOT_BLOCKED_BY_ADMIN";
/**
* Message shown when user is almost at the limit of password attempts where the
* profile will be removed. Accepts number of failed attempts and remaining failed
* attempts as params.
*/
public static final String KEYGUARD_DIALOG_FAILED_ATTEMPTS_ALMOST_ERASING_PROFILE =
PREFIX + "KEYGUARD_DIALOG_FAILED_ATTEMPTS_ALMOST_ERASING_PROFILE";
/**
* Message shown in dialog when user has exceeded the maximum attempts and the profile
* will be removed. Accepts number of failed attempts as a param.
*/
public static final String KEYGUARD_DIALOG_FAILED_ATTEMPTS_ERASING_PROFILE =
PREFIX + "KEYGUARD_DIALOG_FAILED_ATTEMPTS_ERASING_PROFILE";
/**
* Monitoring dialog subtitle for the section describing VPN.
*/
public static final String QS_DIALOG_MONITORING_VPN_SUBTITLE =
PREFIX + "QS_DIALOG_MONITORING_VPN_SUBTITLE";
/**
* Monitoring dialog subtitle for the section describing network logging.
*/
public static final String QS_DIALOG_MONITORING_NETWORK_SUBTITLE =
PREFIX + "QS_DIALOG_MONITORING_NETWORK_SUBTITLE";
/**
* Monitoring dialog subtitle for the section describing certificate authorities.
*/
public static final String QS_DIALOG_MONITORING_CA_CERT_SUBTITLE =
PREFIX + "QS_DIALOG_MONITORING_CA_CERT_SUBTITLE";
}
/**
* Class containing the identifiers used to update device management-related system strings
* in the android core package.
*
* @hide
*/
public static final class Core {
private Core() {
}
private static final String PREFIX = "Core.";
/**
* Notification title when the system deletes the work profile.
*/
public static final String WORK_PROFILE_DELETED_TITLE =
PREFIX + "WORK_PROFILE_DELETED_TITLE";
/**
* Content text for the "Work profile deleted" notification to indicates that a work
* profile has been deleted because the maximum failed password attempts as been
* reached.
*/
public static final String WORK_PROFILE_DELETED_FAILED_PASSWORD_ATTEMPTS_MESSAGE =
PREFIX + "WORK_PROFILE_DELETED_FAILED_PASSWORD_ATTEMPTS_MESSAGE";
/**
* Content text for the "Work profile deleted" notification to indicate that a work
* profile has been deleted.
*/
public static final String WORK_PROFILE_DELETED_GENERIC_MESSAGE =
PREFIX + "WORK_PROFILE_DELETED_GENERIC_MESSAGE";
/**
* Content text for the "Work profile deleted" notification to indicates that a work
* profile has been deleted because the admin of an organization-owned device has
* relinquishes it.
*/
public static final String WORK_PROFILE_DELETED_ORG_OWNED_MESSAGE =
PREFIX + "WORK_PROFILE_DELETED_ORG_OWNED_MESSAGE";
/**
* Notification title for when personal apps are either blocked or will be blocked
* soon due to a work policy from their admin.
*/
public static final String PERSONAL_APP_SUSPENSION_TITLE =
PREFIX + "PERSONAL_APP_SUSPENSION_TITLE";
/**
* Content text for the personal app suspension notification to indicate that personal
* apps are blocked due to a work policy from the admin.
*/
public static final String PERSONAL_APP_SUSPENSION_MESSAGE =
PREFIX + "PERSONAL_APP_SUSPENSION_MESSAGE";
/**
* Content text for the personal app suspension notification to indicate that personal
* apps will be blocked at a particular time due to a work policy from their admin.
* It also explains for how many days the profile is allowed to be off.
* <ul>Takes in the following as params:
* <li> The date that the personal apps will get suspended at</li>
* <li> The time that the personal apps will get suspended at</li>
* <li> The max allowed days for the work profile stay switched off</li>
* </ul>
*/
public static final String PERSONAL_APP_SUSPENSION_SOON_MESSAGE =
PREFIX + "PERSONAL_APP_SUSPENSION_SOON_MESSAGE";
/**
* Title for the button that turns work profile in the personal app suspension
* notification.
*/
public static final String PERSONAL_APP_SUSPENSION_TURN_ON_PROFILE =
PREFIX + "PERSONAL_APP_SUSPENSION_TURN_ON_PROFILE";
/**
* A toast message displayed when printing is attempted but disabled by policy, accepts
* admin name as a param.
*/
public static final String PRINTING_DISABLED_NAMED_ADMIN =
PREFIX + "PRINTING_DISABLED_NAMED_ADMIN";
/**
* Notification title to indicate that the device owner has changed the location
* settings.
*/
public static final String LOCATION_CHANGED_TITLE = PREFIX + "LOCATION_CHANGED_TITLE";
/**
* Content text for the location changed notification to indicate that the device owner
* has changed the location settings.
*/
public static final String LOCATION_CHANGED_MESSAGE =
PREFIX + "LOCATION_CHANGED_MESSAGE";
/**
* Notification title to indicate that the device is managed and network logging was
* activated by a device owner.
*/
public static final String NETWORK_LOGGING_TITLE = PREFIX + "NETWORK_LOGGING_TITLE";
/**
* Content text for the network logging notification to indicate that the device is
* managed and network logging was activated by a device owner.
*/
public static final String NETWORK_LOGGING_MESSAGE = PREFIX + "NETWORK_LOGGING_MESSAGE";
/**
* Content description of the work profile icon in the notifications.
*/
public static final String NOTIFICATION_WORK_PROFILE_CONTENT_DESCRIPTION =
PREFIX + "NOTIFICATION_WORK_PROFILE_CONTENT_DESCRIPTION";
/**
* Notification channel name for high-priority alerts from the user's IT admin for key
* updates about the device.
*/
public static final String NOTIFICATION_CHANNEL_DEVICE_ADMIN =
PREFIX + "NOTIFICATION_CHANNEL_DEVICE_ADMIN";
/**
* Label returned from
* {@link android.content.pm.CrossProfileApps#getProfileSwitchingLabel(UserHandle)}
* that calling app can show to user for the semantic of switching to work profile.
*/
public static final String SWITCH_TO_WORK_LABEL = PREFIX + "SWITCH_TO_WORK_LABEL";
/**
* Label returned from
* {@link android.content.pm.CrossProfileApps#getProfileSwitchingLabel(UserHandle)}
* that calling app can show to user for the semantic of switching to personal profile.
*/
public static final String SWITCH_TO_PERSONAL_LABEL =
PREFIX + "SWITCH_TO_PERSONAL_LABEL";
/**
* Message to show when an intent automatically switches users into the work profile.
*/
public static final String FORWARD_INTENT_TO_WORK = PREFIX + "FORWARD_INTENT_TO_WORK";
/**
* Message to show when an intent automatically switches users into the personal
* profile.
*/
public static final String FORWARD_INTENT_TO_PERSONAL =
PREFIX + "FORWARD_INTENT_TO_PERSONAL";
/**
* Text for the toast that is shown when the user clicks on a launcher that doesn't
* support the work profile, takes in the launcher name as a param.
*/
public static final String RESOLVER_WORK_PROFILE_NOT_SUPPORTED =
PREFIX + "RESOLVER_WORK_PROFILE_NOT_SUPPORTED";
/**
* Label for the personal tab in the {@link com.android.internal.app.ResolverActivity).
*/
public static final String RESOLVER_PERSONAL_TAB = PREFIX + "RESOLVER_PERSONAL_TAB";
/**
* Label for the work tab in the {@link com.android.internal.app.ResolverActivity).
*/
public static final String RESOLVER_WORK_TAB = PREFIX + "RESOLVER_WORK_TAB";
/**
* Accessibility Label for the personal tab in the
* {@link com.android.internal.app.ResolverActivity).
*/
public static final String RESOLVER_PERSONAL_TAB_ACCESSIBILITY =
PREFIX + "RESOLVER_PERSONAL_TAB_ACCESSIBILITY";
/**
* Accessibility Label for the work tab in the
* {@link com.android.internal.app.ResolverActivity).
*/
public static final String RESOLVER_WORK_TAB_ACCESSIBILITY =
PREFIX + "RESOLVER_WORK_TAB_ACCESSIBILITY";
/**
* Title for resolver screen to let the user know that their IT admin doesn't allow
* them to share this content across profiles.
*/
public static final String RESOLVER_CROSS_PROFILE_BLOCKED_TITLE =
PREFIX + "RESOLVER_CROSS_PROFILE_BLOCKED_TITLE";
/**
* Description for resolver screen to let the user know that their IT admin doesn't
* allow them to share this content with apps in their personal profile.
*/
public static final String RESOLVER_CANT_SHARE_WITH_PERSONAL =
PREFIX + "RESOLVER_CANT_SHARE_WITH_PERSONAL";
/**
* Description for resolver screen to let the user know that their IT admin doesn't
* allow them to share this content with apps in their work profile.
*/
public static final String RESOLVER_CANT_SHARE_WITH_WORK =
PREFIX + "RESOLVER_CANT_SHARE_WITH_WORK";
/**
* Description for resolver screen to let the user know that their IT admin doesn't
* allow them to open this specific content with an app in their personal profile.
*/
public static final String RESOLVER_CANT_ACCESS_PERSONAL =
PREFIX + "RESOLVER_CANT_ACCESS_PERSONAL";
/**
* Description for resolver screen to let the user know that their IT admin doesn't
* allow them to open this specific content with an app in their work profile.
*/
public static final String RESOLVER_CANT_ACCESS_WORK =
PREFIX + "RESOLVER_CANT_ACCESS_WORK";
/**
* Title for resolver screen to let the user know that they need to turn on work apps
* in order to share or open content
*/
public static final String RESOLVER_WORK_PAUSED_TITLE =
PREFIX + "RESOLVER_WORK_PAUSED_TITLE";
/**
* Text on resolver screen to let the user know that their current work apps don't
* support the specific content.
*/
public static final String RESOLVER_NO_WORK_APPS = PREFIX + "RESOLVER_NO_WORK_APPS";
/**
* Text on resolver screen to let the user know that their current personal apps don't
* support the specific content.
*/
public static final String RESOLVER_NO_PERSONAL_APPS =
PREFIX + "RESOLVER_NO_PERSONAL_APPS";
/**
* Message informing user that the adding the account is disallowed by an administrator.
*/
public static final String CANT_ADD_ACCOUNT_MESSAGE =
PREFIX + "CANT_ADD_ACCOUNT_MESSAGE";
/**
* Notification shown when device owner silently installs a package.
*/
public static final String PACKAGE_INSTALLED_BY_DO = PREFIX + "PACKAGE_INSTALLED_BY_DO";
/**
* Notification shown when device owner silently updates a package.
*/
public static final String PACKAGE_UPDATED_BY_DO = PREFIX + "PACKAGE_UPDATED_BY_DO";
/**
* Notification shown when device owner silently deleted a package.
*/
public static final String PACKAGE_DELETED_BY_DO = PREFIX + "PACKAGE_DELETED_BY_DO";
/**
* Title for dialog shown when user tries to open a work app when the work profile is
* turned off, confirming that the user wants to turn on access to their
* work apps.
*/
public static final String UNLAUNCHABLE_APP_WORK_PAUSED_TITLE =
PREFIX + "UNLAUNCHABLE_APP_WORK_PAUSED_TITLE";
/**
* Text for dialog shown when user tries to open a work app when the work profile is
* turned off, confirming that the user wants to turn on access to their
* work apps.
*/
public static final String UNLAUNCHABLE_APP_WORK_PAUSED_MESSAGE =
PREFIX + "UNLAUNCHABLE_APP_WORK_PAUSED_MESSAGE";
/**
* Notification title shown when work profile is credential encrypted and requires
* the user to unlock before it's usable.
*/
public static final String PROFILE_ENCRYPTED_TITLE = PREFIX + "PROFILE_ENCRYPTED_TITLE";
/**
* Notification detail shown when work profile is credential encrypted and requires
* the user to unlock before it's usable.
*/
public static final String PROFILE_ENCRYPTED_DETAIL =
PREFIX + "PROFILE_ENCRYPTED_DETAIL";
/**
* Notification message shown when work profile is credential encrypted and requires
* the user to unlock before it's usable.
*/
public static final String PROFILE_ENCRYPTED_MESSAGE =
PREFIX + "PROFILE_ENCRYPTED_MESSAGE";
/**
* Used to badge a string with "Work" for work profile content, e.g. "Work Email".
* Accepts the string to badge as an argument.
* <p>See {@link android.content.pm.PackageManager#getUserBadgedLabel}</p>
*/
public static final String WORK_PROFILE_BADGED_LABEL =
PREFIX + "WORK_PROFILE_BADGED_LABEL";
}
/**
* Class containing the identifiers used to update device management-related system strings
* in the Dialer app.
*
* @hide
*/
public static final class Telecomm {
private Telecomm() {
}
private static final String PREFIX = "Telecomm.";
/**
* Missed call notification label, used when there's exactly one missed call from work
* contact.
*/
public static final String NOTIFICATION_MISSED_WORK_CALL_TITLE =
PREFIX + "NOTIFICATION_MISSED_WORK_CALL_TITLE";
}
/**
* Class containing the identifiers used to update device management-related system strings
* for the permission settings.
*/
public static final class PermissionSettings {
private PermissionSettings() {
}
private static final String PREFIX = "PermissionSettings.";
/**
* Summary of a permission switch in Settings when the background access is denied by an
* admin.
*/
public static final String BACKGROUND_ACCESS_DISABLED_BY_ADMIN_MESSAGE =
PREFIX + "BACKGROUND_ACCESS_DISABLED_BY_ADMIN_MESSAGE";
/**
* Summary of a permission switch in Settings when the background access is enabled by
* an admin.
*/
public static final String BACKGROUND_ACCESS_ENABLED_BY_ADMIN_MESSAGE =
PREFIX + "BACKGROUND_ACCESS_ENABLED_BY_ADMIN_MESSAGE";
/**
* Summary of a permission switch in Settings when the foreground access is enabled by
* an admin.
*/
public static final String FOREGROUND_ACCESS_ENABLED_BY_ADMIN_MESSAGE =
PREFIX + "FOREGROUND_ACCESS_ENABLED_BY_ADMIN_MESSAGE";
/**
* Body of the notification shown to notify the user that the location permission has
* been granted to an app, accepts app name as a param.
*/
public static final String LOCATION_AUTO_GRANTED_MESSAGE =
PREFIX + "LOCATION_AUTO_GRANTED_MESSAGE";
}
/**
* Class containing the identifiers used to update device management-related system strings
* for the default app settings.
*/
public static final class DefaultAppSettings {
private DefaultAppSettings() {
}
private static final String PREFIX = "DefaultAppSettings.";
/**
* Title for settings page to show default apps for work.
*/
public static final String WORK_PROFILE_DEFAULT_APPS_TITLE =
PREFIX + "WORK_PROFILE_DEFAULT_APPS_TITLE";
/**
* Summary indicating that a home role holder app is missing work profile support.
*/
public static final String HOME_MISSING_WORK_PROFILE_SUPPORT_MESSAGE =
PREFIX + "HOME_MISSING_WORK_PROFILE_SUPPORT_MESSAGE";
}
}
}
|