Commit Graph

40221 Commits

Author SHA1 Message Date
Maurice Lam
2bc609a1bd Add fingerprint illustration image
Test: Manual
Bug: 38210310
Change-Id: I95b4940792c172cf866f71c0fef9859e69d60074
2017-08-16 11:44:19 -07:00
Nick Desaulniers
e625c2f64e Merge "DeviceInfoSettingsTest: test parsing llvm kernel" am: 33046b4ec2 -s ours
am: f25a418e24

Change-Id: I3e1b36b906f137b9960b25c8c6de61e31f751804
2017-08-16 18:37:21 +00:00
Nick Desaulniers
f25a418e24 Merge "DeviceInfoSettingsTest: test parsing llvm kernel"
am: 33046b4ec2  -s ours

Change-Id: I1f83d7375246e2b84bb3a0f911dfdc5980da76f9
2017-08-16 18:34:27 +00:00
Maurice Lam
4db65eab00 Merge "Use default primary color for choose lock screens" into oc-mr1-dev
am: 595627c630

Change-Id: I09fc05b21e993352b4e6402032ca636ae18535e4
2017-08-16 18:30:22 +00:00
Maurice Lam
595627c630 Merge "Use default primary color for choose lock screens" into oc-mr1-dev 2017-08-16 18:25:02 +00:00
Treehugger Robot
33046b4ec2 Merge "DeviceInfoSettingsTest: test parsing llvm kernel" 2017-08-16 18:00:44 +00:00
Maurice Lam
2c43d273b8 Merge "Update strings for screen lock setup" 2017-08-16 17:40:52 +00:00
Fan Zhang
ec96dc1542 Remove "saved networks" from search indexing
Change-Id: Ic8c1f8cee2c2a325ba3518d52d0c35b230a6abfd
Fixes: 64755091
Test: robotests
2017-08-16 10:31:16 -07:00
Nick Desaulniers
4021eb5229 DeviceInfoSettingsTest: test parsing llvm kernel
Adds unit test for DeviceInfoUtils.formatKernelVersion to see if it can
parse a /proc/version string from a kernel compiled with Clang/LLVM.

Bug: 32455817
Change-Id: I25123bf44f67e038e01d8c76d6eab18d5616c7c2
2017-08-16 09:51:41 -07:00
Maurice Lam
0c39aa781e Merge "Don't launch Choose Lock again if recreating" into oc-mr1-dev am: 0ece5f2a06
am: 2dad90da4b

Change-Id: Iadffbc4f2e84c9c36ed7d0470831aac6bb0656f4
2017-08-16 08:09:50 +00:00
Maurice Lam
2dad90da4b Merge "Don't launch Choose Lock again if recreating" into oc-mr1-dev
am: 0ece5f2a06

Change-Id: Ib00277edf9edc35fbb0c279f1e103c02c0e508fc
2017-08-16 08:04:41 +00:00
TreeHugger Robot
0ece5f2a06 Merge "Don't launch Choose Lock again if recreating" into oc-mr1-dev 2017-08-16 07:51:27 +00:00
Bill Yi
cf96c9b13f Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: If0ff6ff971291e101e464f028e79fc18afa5b6a7
2017-08-15 21:53:30 -07:00
Maurice Lam
e9a6e8f1e5 Use default primary color for choose lock screens
Make the settings screens that inherit from SuwThemeGlif use the
default blue primary color.

Test: Manual
Bug: 63143321
Change-Id: I07026139a5e0562c192ec1ca9304d5cd3647d5b0
2017-08-15 19:30:14 -07:00
Fan Zhang
75cd1d2010 Stub out feature flag UI
Bug: 36222960
Test: make -j40 RunSettingsRoboTests
Change-Id: Id2483d39018b2d93868f4ef7032124795ea91a53
2017-08-15 17:42:58 -07:00
TreeHugger Robot
0dfd1f7dc1 Merge "Remove references to NetworkBadging." 2017-08-16 00:11:56 +00:00
Fan Zhang
0764a663fc Merge "Compute aspect ratio properly" 2017-08-15 23:37:59 +00:00
Maurice Lam
2bb6238044 Don't launch Choose Lock again if recreating
When ChooseLockGeneric is recreated, don't automatically launch
ChooseLock[Password/Pattern] even if the corresponding intent extras
are specified, because one would have been launched in the previous
onCreate.

Test: Manual
Bug: 64605627
Change-Id: I227a14abb2f4dd6c4577186a3d8164df0bec7791
2017-08-15 16:26:05 -07:00
Daniel Nishi
1533c85ade Re-init storage size on resume.
In Storage settings, we used to cache the sizes of the volume that we
were observing. This meant that we cached the free and total sizes. If a
large amount of data is cleared in another app and we resume the
Settings app, however, it will result in a large change in free space.

Because we calculate the categorization breakdown again on resume, this
causes most of the categories to reflect the current size.
Unfortunately, the free size is stale. This means that the amount of
data deleted gets attributed to system, instead of to nothing at all.

By restarting the loader to fetch the free/total size of the volume, we
can avoid this issue.

Change-Id: I07b244f02230d28a58fcb70d8d9cd595f2a0f68f
Fixes: 64135242
Test: Manual
2017-08-15 15:32:09 -07:00
Fan Zhang
36717d4399 Compute aspect ratio properly
Change-Id: Ic4e1f20f7354b9ab5f4e9c7564d16d06324ec23d
Fixes: 64608152
Test: visual
2017-08-15 11:14:58 -07:00
Eric Schwarzenbach
27a1b76fdc Remove references to NetworkBadging.
Removes all references to the deprecated NetworkBadging class. Replaces
Badging enums with AccessPoint.Speed. Uses SettingsLib Utils class to
get the WifiIcons.

Note: This change depends on ag/2676505.

Bug: 62355275
Test: make -j40 RunSettingsRoboTests
Change-Id: If3301ce30e22a7b2cc4d534b0a89e6d7ddfef45b
2017-08-15 09:49:53 -07:00
Suprabh Shukla
9ffee0d534 Disabling the activate button when paused
This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.


Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
2017-08-15 03:43:10 +00:00
Suprabh Shukla
de5df8b090 Disabling the activate button when paused
This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.

Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
2017-08-15 03:40:37 +00:00
Suprabh Shukla
8e08a9bb71 Disabling the activate button when paused
This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.

Test: CtsVerifier -> Device Administration -> Device Admin Tapjacking Test

Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
2017-08-15 03:35:43 +00:00
Jesse Evans
51a13df33a Merge "Change strings from Instant app account to setting" into oc-mr1-dev am: 858ea46a3a
am: eee0e82fba

Change-Id: I996ed8caf0581cc3f273423b7d8d3989235e2f4e
2017-08-15 02:43:00 +00:00
Suprabh Shukla
af5d8b9b03 Disabling the activate button when paused
This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.

Test: CtsVerifier -> Device Administration -> Device Admin Tapjacking Test

Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
2017-08-15 02:37:37 +00:00
TreeHugger Robot
7d32761da4 Merge "Add userId to key when type is USER" 2017-08-15 01:47:05 +00:00
Jesse Evans
eee0e82fba Merge "Change strings from Instant app account to setting" into oc-mr1-dev
am: 858ea46a3a

Change-Id: I22fb4b6d3ee5456a591f8dfa8f78d9f6d6da82dd
2017-08-15 01:37:07 +00:00
TreeHugger Robot
858ea46a3a Merge "Change strings from Instant app account to setting" into oc-mr1-dev 2017-08-15 01:18:27 +00:00
Maurice Lam
841288144c Update strings for screen lock setup
Manual cherry pick of 3eb4c8333e

Test: Manual, existing tests pass
Bug: 64084524
Change-Id: Iff4b004aaf504ae3d574428e41bf91fd46a66f30
2017-08-14 22:45:30 +00:00
TreeHugger Robot
f621e94873 Merge "Use ThreadUtils instead of AsyncTask to get app title/icon" 2017-08-14 22:38:11 +00:00
Fan Zhang
97e535b603 Use ThreadUtils instead of AsyncTask to get app title/icon
Change-Id: I44459d9e4a11329a3bd3bfda5057e05eb7e04d6a
Fixes: 63620905
Test: robotest
2017-08-14 12:46:24 -07:00
jackqdyulei
44dc63ec7b Add userId to key when type is USER
Before this cl, the app list couldn't distinguish different users
because all of them have the same key: USER.

This cl adds userId into key, to make sure the preference key
is unique.

Bug: 64605854
Test: RunSettingsRoboTests
Change-Id: Ia4de2ff85b214465a35f1983ca69a9280d053154
2017-08-14 18:36:31 +00:00
Bill Yi
073c5cbe30 Revert "Import translations. DO NOT MERGE" am: d8d29f2964 -s ours am: fdbe5d9f82 -s ours
am: 52744ebaf1  -s ours

Change-Id: If66ec28de393372d32e7479d4de1517cea149b56
2017-08-14 14:02:17 +00:00
Bill Yi
52744ebaf1 Revert "Import translations. DO NOT MERGE" am: d8d29f2964 -s ours
am: fdbe5d9f82  -s ours

Change-Id: I3ba9ad28e11f9ef58d78b255434c3a8173829984
2017-08-14 13:49:45 +00:00
Bill Yi
0985ef1bae Revert "Import translations. DO NOT MERGE" am: d8d29f2964 -s ours am: 6ece6e96fb -s ours
am: ffded27909  -s ours

Change-Id: I6708e27a6f2ecb431c7cac77d12d6cab89b01bfa
2017-08-14 13:43:14 +00:00
Bill Yi
ffded27909 Revert "Import translations. DO NOT MERGE" am: d8d29f2964 -s ours
am: 6ece6e96fb  -s ours

Change-Id: I0b39167d3a80e650d55104a6f8b1d19a3c4a52f9
2017-08-14 13:39:44 +00:00
Bill Yi
6a2bef8d80 Merge "Revert "Import translations. DO NOT MERGE"" 2017-08-14 13:39:07 +00:00
Bill Yi
2b027338e3 Revert "Import translations. DO NOT MERGE"
This reverts commit 5530c73afa.

Change-Id: I7804b7e3e00574424a95788ece7a4d28bcd761a7
Exempt-From-Owner-Approval: translation import
2017-08-14 13:38:36 +00:00
Bill Yi
fdbe5d9f82 Revert "Import translations. DO NOT MERGE"
am: d8d29f2964  -s ours

Change-Id: Ia169054dc581d5633ceed24edf4892a10ca601ad
2017-08-14 13:35:42 +00:00
Bill Yi
6ece6e96fb Revert "Import translations. DO NOT MERGE"
am: d8d29f2964  -s ours

Change-Id: I6f29a8cc9f7667aa5209638e3caf1441216ea319
2017-08-14 13:35:42 +00:00
Bill Yi
d8d29f2964 Revert "Import translations. DO NOT MERGE"
This reverts commit a2a4037f59.

Change-Id: I2145ac4c4f1092799bbc547ef9ea7d19c101cd95
Exempt-From-Owner-Approval: translation import
2017-08-14 13:32:35 +00:00
Bill Yi
7a2b9bbee6 Import translations. DO NOT MERGE am: a2a4037f59 -s ours am: 8944eb96c8 -s ours
am: 6b925ea6c9  -s ours

Change-Id: Ib3855bf1ea880e55ebfea6908340176bca1f70e7
2017-08-12 18:46:06 +00:00
Bill Yi
7652ef64b9 Import translations. DO NOT MERGE am: a2a4037f59 -s ours am: d3f28537a4 -s ours
am: 65dd906932  -s ours

Change-Id: Ib48e8ea3b77bf7ebc6d579bf7ee34981cca4792c
2017-08-12 18:45:28 +00:00
Bill Yi
6b925ea6c9 Import translations. DO NOT MERGE am: a2a4037f59 -s ours
am: 8944eb96c8  -s ours

Change-Id: If0e4af025f0831b132cab08155731d40ac150bdd
2017-08-12 18:43:37 +00:00
Bill Yi
65dd906932 Import translations. DO NOT MERGE am: a2a4037f59 -s ours
am: d3f28537a4  -s ours

Change-Id: Ib8f0bd25e6c6a1b803b225da833393507c56003a
2017-08-12 18:42:28 +00:00
Bill Yi
8944eb96c8 Import translations. DO NOT MERGE
am: a2a4037f59  -s ours

Change-Id: I70d51d28867e44da0d95e14089584988ae3c98e9
2017-08-12 18:39:26 +00:00
Bill Yi
d3f28537a4 Import translations. DO NOT MERGE
am: a2a4037f59  -s ours

Change-Id: I5702da8e0a51efa1ab4ad1e262e53f720a36b96a
2017-08-12 18:39:26 +00:00
TreeHugger Robot
9d7cc33ef0 Merge "Import translations. DO NOT MERGE" 2017-08-12 17:57:59 +00:00
Bill Yi
a2a4037f59 Import translations. DO NOT MERGE
Change-Id: I8f1c2c8a6591596db2098eac88bbb99660cfbefa
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-12 08:56:25 -07:00