Commit Graph

41712 Commits

Author SHA1 Message Date
Fan Zhang
b916456984 Move security settings to security package
Bug: 32953042
Test: robotests
Change-Id: Ibd5a12bdd22825dde723e107050826cce9839926
2017-11-03 11:05:21 -07:00
Fan Zhang
187ff21a7c Merge "Move trustagent to security package." 2017-11-03 17:39:21 +00:00
Fan Zhang
32d4467367 Merge "Convert the rest of encryption page into pref controller" 2017-11-03 16:45:38 +00:00
Fan Zhang
933188d6f9 Move trustagent to security package.
Bug: 32953042
Fixes: 34461256
Test: robotests
Change-Id: I341076ff320ad60081542a96eb588614230cb13e
2017-11-03 08:50:23 -07:00
TreeHugger Robot
3a12cae5f4 Merge "Convert encryption status to preference controller" 2017-11-03 01:52:03 +00:00
Doris Ling
024668a2c5 Remove duplicate preferences in Accessibility settings.
- addPreferencesFromResource() call has been added to
InstrumentedPreferenceFragment, and hence sub-class should not call it
again.

Change-Id: Ia016d9d407ac3f838c962d1ced585647382a051a
Fixes: 68820835
Test: make RunSettingsRoboTests
2017-11-02 18:12:27 -07:00
Fan Zhang
57177c3be1 Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours am: b17703e871 -s ours am: 1de093b1a1 -s ours am: 5f02135c42 -s ours am: 7690482014 -s ours am: dbbcf65c96 -s ours am: e6a8f354fc -s ours am: 3c19043e9c -s ours am: d15a81f882 -s ours am: e981e0b855 -s ours am: ef61a45cf6 -s ours am: 5af580a419 -s ours am: fbc2fd065c -s ours
am: eb7e3e0385  -s ours

Change-Id: Ib18d78964eb40d8a9bfa73d8cc62ca549f9e7212
2017-11-03 00:50:40 +00:00
Fan Zhang
eb7e3e0385 Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours am: b17703e871 -s ours am: 1de093b1a1 -s ours am: 5f02135c42 -s ours am: 7690482014 -s ours am: dbbcf65c96 -s ours am: e6a8f354fc -s ours am: 3c19043e9c -s ours am: d15a81f882 -s ours am: e981e0b855 -s ours am: ef61a45cf6 -s ours am: 5af580a419 -s ours
am: fbc2fd065c  -s ours

Change-Id: I37ea4fa3cc14ee73b5bb2bc34612b6f1501c8c20
2017-11-03 00:47:06 +00:00
Fan Zhang
fbc2fd065c Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours am: b17703e871 -s ours am: 1de093b1a1 -s ours am: 5f02135c42 -s ours am: 7690482014 -s ours am: dbbcf65c96 -s ours am: e6a8f354fc -s ours am: 3c19043e9c -s ours am: d15a81f882 -s ours am: e981e0b855 -s ours am: ef61a45cf6 -s ours
am: 5af580a419  -s ours

Change-Id: I83bbad093fdcf90649ce39efbd9783a584d2b7c1
2017-11-03 00:42:12 +00:00
Fan Zhang
5af580a419 Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours am: b17703e871 -s ours am: 1de093b1a1 -s ours am: 5f02135c42 -s ours am: 7690482014 -s ours am: dbbcf65c96 -s ours am: e6a8f354fc -s ours am: 3c19043e9c -s ours am: d15a81f882 -s ours am: e981e0b855 -s ours
am: ef61a45cf6  -s ours

Change-Id: If9d124cc6a362a152345a04e0748cd71c6fac42a
2017-11-03 00:40:07 +00:00
Fan Zhang
ef61a45cf6 Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours am: b17703e871 -s ours am: 1de093b1a1 -s ours am: 5f02135c42 -s ours am: 7690482014 -s ours am: dbbcf65c96 -s ours am: e6a8f354fc -s ours am: 3c19043e9c -s ours am: d15a81f882 -s ours
am: e981e0b855  -s ours

Change-Id: I32df0f311eca598b6b6969f288b258f65e43ae49
2017-11-03 00:38:04 +00:00
Fan Zhang
e981e0b855 Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours am: b17703e871 -s ours am: 1de093b1a1 -s ours am: 5f02135c42 -s ours am: 7690482014 -s ours am: dbbcf65c96 -s ours am: e6a8f354fc -s ours am: 3c19043e9c -s ours
am: d15a81f882  -s ours

Change-Id: I937296351e0da23f441dab7c0403b1d59d78a016
2017-11-03 00:34:29 +00:00
Fan Zhang
d15a81f882 Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours am: b17703e871 -s ours am: 1de093b1a1 -s ours am: 5f02135c42 -s ours am: 7690482014 -s ours am: dbbcf65c96 -s ours am: e6a8f354fc -s ours
am: 3c19043e9c  -s ours

Change-Id: I6e25fc7111d4ec534d0588100e1dd6ce2ced5ee1
2017-11-03 00:31:01 +00:00
Fan Zhang
3c19043e9c Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours am: b17703e871 -s ours am: 1de093b1a1 -s ours am: 5f02135c42 -s ours am: 7690482014 -s ours am: dbbcf65c96 -s ours
am: e6a8f354fc  -s ours

Change-Id: I4ea4b1a122429accdaede04201d88f16286fa4da
2017-11-03 00:28:34 +00:00
Fan Zhang
e6a8f354fc Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours am: b17703e871 -s ours am: 1de093b1a1 -s ours am: 5f02135c42 -s ours am: 7690482014 -s ours
am: dbbcf65c96  -s ours

Change-Id: Ia7d6e53337a1b0225e8917542fa5ae9d092b1ebf
2017-11-03 00:26:03 +00:00
Fan Zhang
dbbcf65c96 Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours am: b17703e871 -s ours am: 1de093b1a1 -s ours am: 5f02135c42 -s ours
am: 7690482014  -s ours

Change-Id: Ia8925895580e9e010bee69ae638272ec7a9bad1a
2017-11-03 00:22:09 +00:00
Fan Zhang
7690482014 Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours am: b17703e871 -s ours am: 1de093b1a1 -s ours
am: 5f02135c42  -s ours

Change-Id: I97a7ff922ca6aed7f99bce5f15f104b6b7ce8411
2017-11-03 00:19:51 +00:00
Fan Zhang
5f02135c42 Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours am: b17703e871 -s ours
am: 1de093b1a1  -s ours

Change-Id: Ia56b40b2d0de2d993a46970d5cf1e63c8e47cd81
2017-11-03 00:17:43 +00:00
Fan Zhang
1de093b1a1 Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414 -s ours
am: b17703e871  -s ours

Change-Id: I17c1cacc0a068c4d79e4cf568152607c3e13c4c4
2017-11-03 00:15:15 +00:00
Fan Zhang
b17703e871 Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev
am: 1c040c7414  -s ours

Change-Id: Ibcf00afea271d12b533042711317bb2e2356c0e9
2017-11-03 00:13:11 +00:00
Fan Zhang
1c040c7414 Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev 2017-11-03 00:07:32 +00:00
Fan Zhang
b2aae6cd57 Convert the rest of encryption page into pref controller
Bug: 32953042
Test: robotests
Change-Id: I6c1b28314a988e6499065ddaee2aeae0ac28c537
2017-11-02 16:05:58 -07:00
Fan Zhang
c58a88368f Convert encryption status to preference controller
- Move Crypt/Encryption setting into security package.
- Reformat crypt_keeper_settings.xml
- Add controller and test for encryption status

Bug: 32953042
Test: robotests
Change-Id: I1f4b2f97133435c70a49522a59886ac4da6759af
2017-11-02 16:05:58 -07:00
Fan Zhang
1aefa2529a Set device credential's Window flag to be SECURE.
This prevents showing any pattern/pin in recent list.

Change-Id: I445cbad99344a2fcc335a5aad4a4de026ae97441
Merged-In: Ie56f725bf245961d61a66eae8a82b728600cb650
Fixes: 64339515
Bug: 38258991
Test: manual
2017-11-02 16:04:58 -07:00
TreeHugger Robot
b1047d1753 Merge "Add flag to not connect in WifiDialogActivity" 2017-11-02 23:01:52 +00:00
Jeffrey Huang
0d4c90913d Merge "Popup a dialog to display user IMEI information" 2017-11-02 20:30:36 +00:00
TreeHugger Robot
5f167f8c9d Merge "Add screen resource for Colors setting." 2017-11-02 18:52:25 +00:00
jeffreyhuang
7d7e98a214 Popup a dialog to display sim status information
- Create layout files for the dialog
 - Create a new controller to launch the dialog activity
 - Create a new controller to update the contents of the dialog
 - Deprecate old files that are no longer used in about phone v2

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: Iaf4f5e53c83b27f148acb076f38bfeabff41087e
2017-11-02 10:55:18 -07:00
Maurice Lam
44ce407d00 Add flag to not connect in WifiDialogActivity
Add flag connect_for_caller, which if false will not connect to the
Wi-Fi network on behalf of the caller.

Test: cd tests/robotests && mma
Bug: 34951731
Change-Id: Ie24a8ed1891aea1caec75a2de9a3d2bdb3dad8a7
2017-11-02 10:50:38 -07:00
TreeHugger Robot
8277e3ceea Merge "Improve settings cold start latency." 2017-11-02 06:24:41 +00:00
Malcolm Chen
f21825721e Merge "Updates strings for "Emergency broadcast"." am: b13f2e0fb0 am: 32ced85d54
am: 47599f8685

Change-Id: I256a30e5267e618c00253151646823476fa6909f
2017-11-02 00:52:22 +00:00
Malcolm Chen
47599f8685 Merge "Updates strings for "Emergency broadcast"." am: b13f2e0fb0
am: 32ced85d54

Change-Id: I70e6fba701d4ddabfb93129f2b20cf1cc7f6c089
2017-11-02 00:50:20 +00:00
Doris Ling
5a66ddbd6f Add screen resource for Colors setting.
- each preference fragment should have its own preference screen layout
in order to show the title correctly. Adding the missing data for
ColorModePreferenceFragment.

Change-Id: I172429dc957f94351456d4bc829897a578d7dbf9
Fixes: 68763217
Test: make RunSettingsRoboTests
2017-11-01 17:49:35 -07:00
Courtney Goeltzenleuchter
1aae98fe08 Merge "Check system support of wide-color" into oc-mr1-dev am: e86bc950df
am: aba6fd61a2

Change-Id: Ic32bf5bd8c77f2ef3ec43e8e1f1b31faa73c0c07
2017-11-02 00:48:17 +00:00
Malcolm Chen
32ced85d54 Merge "Updates strings for "Emergency broadcast"."
am: b13f2e0fb0

Change-Id: I5b17156c3fd9fa680dc872ddbcab6dd8ac30a87e
2017-11-02 00:48:12 +00:00
Courtney Goeltzenleuchter
aba6fd61a2 Merge "Check system support of wide-color" into oc-mr1-dev
am: e86bc950df

Change-Id: I166488d015cc7f8518fd3e3d1cc819fe23cc4ba3
2017-11-02 00:44:46 +00:00
Treehugger Robot
b13f2e0fb0 Merge "Updates strings for "Emergency broadcast"." 2017-11-02 00:42:48 +00:00
TreeHugger Robot
e86bc950df Merge "Check system support of wide-color" into oc-mr1-dev 2017-11-02 00:40:07 +00:00
Fan Zhang
f0b027f4ce Improve settings cold start latency.
- Move view initialization from onViewCreated to onCreateView. This
  doesn't really improve anything, it simply aligns the code more
  with view's lifecycle management.
- Move dashboard category init into background. The init contains logic
  invoking packageManager, which can be very expensive.
  - Remove any call to DashboardFeatureProvider from SummaryLoader, and
    delay the getCategory call until someone calls setListener().
  - call updateCategory() from background thread.

Test: rerun app launch test. Avg latency drops back to pre-suggestion-v2
      level.
Test: robotest
Fixes: 68761512

Change-Id: I5ec85af08e7b610786e439bda93b3651f5975593
2017-11-01 17:24:53 -07:00
Malcolm Chen
bd124449c0 Updates strings for "Emergency broadcast".
Replace "Emergency broadcast" with "Emergency alerts" to be
consistent.

Test: manual
Bug: b/62291344
Change-Id: I79d6f1162d4c112dedf49a3b43ec26011adba9bf
2017-11-01 16:49:36 -07:00
jeffreyhuang
c2f8ab587e Popup a dialog to display user IMEI information
- Add new dialog fragment to show imei information
 - Create layout files for the dialog
 - Create a new controller to launch the dialog activity
 - Create a new controller to update the contents of the dialog
 - Deprecate old files that are no longer used in about phone v2

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: I6d4273726e2271049a0ab69c2375dac0ac393e04
2017-11-01 14:57:10 -07:00
TreeHugger Robot
910d452874 Merge "Do not start suggestion loader if host isn't attached." 2017-11-01 20:12:44 +00:00
TreeHugger Robot
cb7ca801dc Merge "Adjust preference alignment." 2017-11-01 18:49:14 +00:00
Fan Zhang
6d7aa4e951 Do not start suggestion loader if host isn't attached.
Change-Id: I1ab1de8f0bea6c66d8415e06aedcc7cbc6baf89c
Fixes: 68759380
Test: robotests
2017-11-01 10:34:33 -07:00
TreeHugger Robot
d9be860ffb Merge "Change the text "Network & Internet"" 2017-11-01 16:53:39 +00:00
Jeff Sharkey
d568fd924a Merge "Change storage migration to use quota APIs." am: a0afdb0c49 am: 46b8d7ac78 -s ours
am: 226f795066  -s ours

Change-Id: I581640e692dae781d2592fcab26839c251631df7
2017-11-01 01:36:50 +00:00
Fan Zhang
7b1ab13ddc Merge "Add a readme with instructions on running tests" am: 08217cbd4b am: 931504bb24
am: 45f3c5b261

Change-Id: Ia45d584ab37ae15b4620f00199a477d913040295
2017-11-01 01:29:35 +00:00
Fan Zhang
179fd476ed Merge "Set device credential's Window flag to be SECURE." into mnc-dev am: 8bffdc2613 am: cd66862b08 am: 769e1e31f5 am: b4db530aa5 -s ours am: 0c0728a947 -s ours am: 4d9e11990d -s ours am: 3d94477fb8 -s ours am: 9d865d0c3e -s ours am: 7da421a293 -s ours am: 76f30a360c -s ours am: 1b1204be64 -s ours am: ceeb88e6a4 -s ours
am: 97a271f6fb  -s ours

Change-Id: If3ae7993ac38d465c58d5f51072499d729a02620
2017-11-01 01:28:30 +00:00
TreeHugger Robot
baaea544a5 Merge "Convert EncryptionAndCredential into DashboardFragment" 2017-11-01 00:32:31 +00:00
Jeff Sharkey
226f795066 Merge "Change storage migration to use quota APIs." am: a0afdb0c49
am: 46b8d7ac78  -s ours

Change-Id: I80143a5cad80860f2af912adbdaad8690601a798
2017-10-31 23:50:30 +00:00