Commit Graph

49503 Commits

Author SHA1 Message Date
TreeHugger Robot
a2a1bb0e51 Merge "Show Default app shortcut preference only when app is qualified." 2019-01-25 05:55:41 +00:00
Cn Chen
bdcebeebb8 Merge "[Migration] pass suw extra intent to wallpaper page" 2019-01-25 04:01:30 +00:00
Pasty Chang
0c6e676708 Merge "Rename ButtonFooterMixin to FooterBarMixin" 2019-01-25 03:58:56 +00:00
TreeHugger Robot
a4118f8e27 Merge "Clean up switchToFragment call." 2019-01-25 03:31:24 +00:00
TreeHugger Robot
403efc9c1b Merge "Implement WifiNetworkListFragment - Part 3" 2019-01-25 02:46:39 +00:00
Cosmo Hsieh
846cacbd0b Merge "[Network Connection] Implement dialog title for new design" 2019-01-25 01:44:28 +00:00
TreeHugger Robot
7e19cfbbe1 Merge "Query correct subscription id for mobile data." 2019-01-25 01:43:06 +00:00
Hai Zhang
3850908671 Show Default app shortcut preference only when app is qualified.
This change uses the new isApplicationQualifiedForRole() API on
PermissionControllerManager to correctly report availability of
default app shortcut preference.

Bug: 110557011
Bug: 123238935
Test: atest DefaultAppShortcutPreferenceControllerBaseTest DefaultSmsShortcutPreferenceControllerTest
Change-Id: Ib86ab0fd84334a149f7c6c3556297745f2990f47
2019-01-24 17:38:47 -08:00
Eran Messeri
dda0c63d5b Merge "Add Enterprise owners for Enterprise settings" am: 35416e7529 am: 74bd41f305
am: a357cc9737

Change-Id: I9879602947c1060daf319253c2f5422d48d57fbe
2019-01-24 15:46:53 -08:00
Dan Albert
5d381ac653 Merge "Revert "Update to use new ConnectivityManager API."" am: 9c7ddce334 am: 2105dc52dd
am: 11247ebb53

Change-Id: Id9a817cb440ce1ae538b7f6fd3f5c81a95efb346
2019-01-24 15:16:38 -08:00
Eran Messeri
a357cc9737 Merge "Add Enterprise owners for Enterprise settings" am: 35416e7529
am: 74bd41f305

Change-Id: I64d13eaab1b8e1a26ef9cadcf6e34c9b65f78076
2019-01-24 15:11:42 -08:00
Eran Messeri
74bd41f305 Merge "Add Enterprise owners for Enterprise settings"
am: 35416e7529

Change-Id: I2823cff17e5b77b3cd449d739c908b0b8c0c9c58
2019-01-24 15:03:28 -08:00
Treehugger Robot
35416e7529 Merge "Add Enterprise owners for Enterprise settings" 2019-01-24 22:56:27 +00:00
Christine Franks
24ec60a92f Merge "Move color modes to ColorDisplayManager" 2019-01-24 22:54:09 +00:00
Doris Ling
9c2556da09 Query correct subscription id for mobile data.
- On the Data usage settings page, we check for valid subscription id to
determine if we should show the mobile section. However, we are querying
the default subscription id, which will return the 1st id for any
subscription if there's no data subscription. Since this is for mobile
section, we should query the default data subscription id explicitly.

Change-Id: I08c80639d07477e486a2d9a10761e11df4c73b28
Fixes: 119881046
Test: make RunSettingsRoboTests
2019-01-24 14:21:18 -08:00
Dan Albert
11247ebb53 Merge "Revert "Update to use new ConnectivityManager API."" am: 9c7ddce334
am: 2105dc52dd

Change-Id: I15aa3b38af77c6e222db38b89e3f29562437f4dd
2019-01-24 13:49:58 -08:00
Dan Albert
2105dc52dd Merge "Revert "Update to use new ConnectivityManager API.""
am: 9c7ddce334

Change-Id: Icd2bf95c10716d324b47151fddc34a31f5736355
2019-01-24 13:39:06 -08:00
TreeHugger Robot
4918eedefb Merge "Add Subscription ID to extra when start carrier settings activity." 2019-01-24 21:11:07 +00:00
Dan Albert
9c7ddce334 Merge "Revert "Update to use new ConnectivityManager API."" 2019-01-24 21:08:46 +00:00
Dan Albert
6e91f68ae4 Revert "Update to use new ConnectivityManager API."
This reverts commit 9a9f6f313b.

Reason for revert: broke pi-dev-plus-aosp

Change-Id: Ia0ff7cdf77b4edf3bdf5e4c54376b730df48373e
2019-01-24 21:06:02 +00:00
Philip P. Moltmann
2cf07aa270 Merge "Assistant is now set as role." 2019-01-24 20:51:41 +00:00
Doris Ling
c79e4a5903 Merge "Hide mainline module apps in settings." 2019-01-24 20:50:03 +00:00
Doris Ling
397f6b4c86 Merge "Add module version in About settings." 2019-01-24 20:20:54 +00:00
Fan Zhang
34adf73893 Merge "Remove a window flag." 2019-01-24 19:07:45 +00:00
Pavel Grafov
40b82cd6e4 [automerger skipped] Merge "Update to use new ConnectivityManager API." am: 161f5ec3e9 am: 525b0dbc17
am: a9ed0226f5 -s ours
am skip reason: change_id I614c20b9a1c6748614163766866bb59b15d794f1 with SHA1 ab871a00c7 is in history

Change-Id: I820acb6e661e0cc834b7a6ba42936e1c0e41a009
2019-01-24 11:02:21 -08:00
Christine Franks
ade7d943c3 Move color modes to ColorDisplayManager
Bug: 123352608
Test: make RunSettingsRoboTests

Change-Id: I3c054fa0cca4bbd1c955ef03d1733320ffe9e0f0
2019-01-24 10:57:30 -08:00
TreeHugger Robot
f700e10016 Merge "Add default calls/SMS subscription prefs to mobile details page" 2019-01-24 18:36:33 +00:00
Pavel Grafov
a9ed0226f5 Merge "Update to use new ConnectivityManager API." am: 161f5ec3e9
am: 525b0dbc17

Change-Id: Id798a6b94be2c699c4de1c294e418a621b0adea2
2019-01-24 10:07:47 -08:00
Pavel Grafov
525b0dbc17 Merge "Update to use new ConnectivityManager API."
am: 161f5ec3e9

Change-Id: I14a198bf8c95501473ac963ee6e00331e09daa76
2019-01-24 09:50:37 -08:00
Pavel Grafov
161f5ec3e9 Merge "Update to use new ConnectivityManager API." 2019-01-24 17:34:55 +00:00
Christine Franks
17e1190606 Merge "Use ColorDisplayManager for night display" 2019-01-24 17:05:39 +00:00
TreeHugger Robot
6bccb4fb14 Merge "Ignore the storage group in the Privacy bar chart." 2019-01-24 16:42:30 +00:00
Pavel Grafov
a2f6de4b3c Merge "Update to use new ConnectivityManager API." 2019-01-24 16:15:07 +00:00
TreeHugger Robot
62fce79a47 Merge "Make links to Permissions Hub only show last day." 2019-01-24 14:57:35 +00:00
TreeHugger Robot
40e9c22fc5 Merge "Change cross profile calendar API used in robolectric test." 2019-01-24 14:25:45 +00:00
TreeHugger Robot
a3750617db Merge "New extra for ACTION_SET_NEW_PASSWORD to specify the min complexity" 2019-01-24 13:56:20 +00:00
TreeHugger Robot
8ea498cdac Merge "Fix the consistency of connection status displayed on Wi-Fi card" 2019-01-24 12:38:32 +00:00
Eran Messeri
3cb95abd04 Add Enterprise owners for Enterprise settings
Add owners from the Android Enterprise team to source files that are
either owned or are mostly modified by the Android Enterprise team.

Test: gerrit uploader
Bug: 33166666
Change-Id: I8b4ec7c8895b02c45a6a14d52a3742334234904a
2019-01-24 12:29:56 +00:00
Eran Messeri
bcb649287c Merge "KeyChain: Remove Screenlock dependency" 2019-01-24 11:28:36 +00:00
TreeHugger Robot
72d67e6929 Merge "Ignore test case" 2019-01-24 10:40:58 +00:00
Kevin Chyn
9e07ad08e2 Merge "Plumb setRequireConfirmation to CC" 2019-01-24 10:30:36 +00:00
Kevin Chyn
8565334148 Merge "Streamline accessibility flow" 2019-01-24 09:04:25 +00:00
pastychang
9bdb59a764 Rename ButtonFooterMixin to FooterBarMixin
1. Change to FooterBarMixin
2. Move FooterButton to the same package with FooterBarMixin

Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: Ic6937e3cbc515dd7bf877c9193932cd5800ac801
2019-01-24 16:18:28 +08:00
Bernard Chau
92db5bf4f7 New extra for ACTION_SET_NEW_PASSWORD to specify the min complexity
When an app that has the permission GET_AND_REQUEST_PASSWORD_COMPLEXITY
launches ACTION_SET_NEW_PASSWORD, it can use the DPM PASSWORD_COMPLEXITY_*
constants to specify the complexity it wants in a new extra
EXTRA_PASSWORD_COMPLEXITY.
The screen lock type picker would then filter out the options which
cannot fulfil the min complexity (and DPM restrictions) and will show a
footer with a brief description of the calling app and the requested type.
The same password requirements UI is used in ChooseLockPassword screen
to display the minimum requirements that can fulfil both DPM
restrictions and the min complexity.

The app must have permission GET_AND_REQUEST_PASSWORD_COMPLEXITY
otherwise the extra would be ignored.

ACTION_SET_NEW_PASSWORD is also updated to always display the calling app
name in the screen lock type picker if it is not launched by Settings,
with or without the new extra.

Bug: 111173457
Test: atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/ChooseLockGenericControllerTest.java
      atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/ChooseLockGenericTest.java
      atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/ChooseLockPasswordTest.java
      atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/PasswordUtilsTest.java
      atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/SetNewPasswordActivityTest.java
      atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/SetupChooseLockGenericTest.java
      manual test with TestDpc (ag/5901733)

Change-Id: I21a25d28669bf1223c3b02ba85c0755e59feee2e
2019-01-24 08:02:33 +00:00
tmfang
da70607f41 Ignore test case
Since it breaks the test, we ignore test case temporarily.
Owner will fix it as soon as possible.

Test: robotest
Bug: 120910747
Change-Id: I2f31d2efe629080bb1c805e2d43a92f2873a3e5b
2019-01-24 08:02:33 +00:00
mavishsu
04bcb42d9c Add Subscription ID to extra when start carrier settings activity.
Bug: 123325237
Test: Manual test
Change-Id: I48cda996bca699e97866ae0d1b7221266cf38df2
2019-01-24 15:20:55 +08:00
Jason Chiu
36b37de9d6 Fix the consistency of connection status displayed on Wi-Fi card
- Refresh slice in WifiTracker.onConnectedChanged
- Only expose notifySliceChange to child in SliceBackgroundWorker

Fixes: 123270015
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi.slice
Change-Id: Id5540ebae2746e58e14924665c5e62bf437ebcf0
2019-01-24 14:56:04 +08:00
Kevin Chyn
56c745c38e Plumb setRequireConfirmation to CC
Bug: 111461540

Test: Tested with modified demo app with
      original and new KeyguardManager APIs

Change-Id: I56585fbfd704195586f2f516b35e9338e91b0346
2019-01-23 18:42:47 -08:00
Badhri Jagan Sridharan
875178bbfa Merge "Fix UsbPortStatus constructor arguments" 2019-01-24 02:03:19 +00:00
cosmohsieh
6897c55396 [Network Connection] Implement dialog title for new design
Change title to contain app name from intent.

Bug: 123158944
Test: atest NetworkRequestDialogFragmentTest
Change-Id: If3acea5adec8a5e2bbf712735fda9e6975e71984
2019-01-24 09:35:38 +08:00