Commit Graph

35540 Commits

Author SHA1 Message Date
Adam Lesinski
da9c2d0dbf Merge "Update FakeUid to match ag/2099507" into oc-dev am: 8da75be811
am: 18fe8176f6

Change-Id: Iee532d4d17c75e71fcaa3850f5dbea090b68f99d
2017-04-14 16:04:51 +00:00
Matthew Fritze
3746d9e25f Build Intents at index time
In order to index Intents into Icing, they need to be
built at Index time rather than at Search time.

Test: make RunSettingsRoboTests
Bug: 36443380
Change-Id: Ia731b5038380bb658232e2e175f52a81d86d7e02
2017-04-14 09:04:28 -07:00
Jack He
11f360bc49 Merge "Add developer menu entry to enable Bluetooth inband ringing" into oc-dev am: ee720c000a
am: 0e91dba0cf

Change-Id: I84f5a9fc1c8705e52cc06dacfda81dd8a7050d5d
2017-04-14 15:56:29 +00:00
Jesse Evans
5d0c0fab8c Merge "Instant apps should not say App Installed by" into oc-dev am: 28371d9c9e
am: 774b759ef9

Change-Id: Id8e60764ee9e0dd20f73798b1cd8df706d1d70e9
2017-04-14 15:52:56 +00:00
Saige McVea
4d75b8812e Merge "Added generic icon and magnification icon to a11y Settings." into oc-dev am: ba7a4751a0
am: 8fb5b5fd0e

Change-Id: I1167930dd65752403876d462150a4c63dbb1dd84
2017-04-14 15:52:41 +00:00
Daniel Nishi
a13cd0f119 Merge "Add a movies & tv apps category to storage settings." into oc-dev am: c365a8735c
am: f6e6991965  -s ours

Change-Id: Ia45def2b1b04d7ac581b974763cc9ab3586335c0
2017-04-14 15:52:19 +00:00
Matthew Fritze
cd9f5e2751 Merge "Search Icon persists through screen rotation" into oc-dev
am: 190b560c9a

Change-Id: I0542aa05a20d637ced618e68a84e53e73b3f70a0
2017-04-14 05:36:27 +00:00
TreeHugger Robot
190b560c9a Merge "Search Icon persists through screen rotation" into oc-dev 2017-04-14 05:25:57 +00:00
TreeHugger Robot
4b1206b4b2 Merge "Add erase eSIMs choice into factory reset" 2017-04-14 02:03:57 +00:00
jackqdyulei
3fd3a348d3 Merge "Update summary when toggle background activity" into oc-dev
am: 8d519f8281

Change-Id: I5e135d0cb4d4d6457e05b8c91ef69323cab57a33
2017-04-14 01:25:47 +00:00
TreeHugger Robot
8d519f8281 Merge "Update summary when toggle background activity" into oc-dev 2017-04-14 01:13:57 +00:00
Fan Zhang
5ca9063bc2 Apply admin restriction when network reset is disallowed
- Refactored network restriction checking logic into a checker class to
share across different places
- Added test

Test: make RunSettingsRoboTests
Change-Id: I6b7ea78f28fd1b61aacb070c377821150e441a74
Fix: 37134598
2017-04-13 18:05:16 -07:00
jackqdyulei
7c7654b401 Update some battery string comments
1. battery_detail_foreground
2. battery_detail_background

Fix: 36874567
Test: Build
Change-Id: I955023ff8919b7019d459bd75a8baccf69a46355
2017-04-13 17:54:48 -07:00
Jesse Evans
ec9090782c Merge "Instant apps show supported links not open default" into oc-dev
am: 0f34680fe0

Change-Id: Ib3df529beea9d610bc79512f6f50df5a4c41a640
2017-04-14 00:48:56 +00:00
TreeHugger Robot
0f34680fe0 Merge "Instant apps show supported links not open default" into oc-dev 2017-04-14 00:41:01 +00:00
Ajay Nadathur
51ef801b32 Fingerprint suggestion should not be dismissed until fingerprint added
- Do not dismiss fingerprint suggestion until atleast one fingerprint is
added.

bug: 36578142
Test: robotest & manually verified.
Change-Id: I3151c9ae971666a0964be007103a9b7ad41de5ce
2017-04-13 16:58:15 -07:00
Daniel Nishi
5b627f9ae5 Update the old Storage view to look better.
This removes the Manage Storage button and moves the titles of
the preferences to match the new progress bar location.

Bug: 2108251
Test: Manual
Change-Id: I1dce610050e44abd4665537e42a752bf34e94384
2017-04-13 16:49:15 -07:00
jackqdyulei
60607da120 Update summary when toggle background activity
In previous code, it didn't update summary when preference is changed.
This cl adds it and also updates the title for Battery Optimization.

Bug: 37163617
Test: RunSettingsRoboTests
Change-Id: I276d9a267379104794998a605a8e258660dcf350
2017-04-13 16:23:45 -07:00
jackqdyulei
92fceaff22 Hide summary for Cell in PowerUsageAdvanced
1. Add method "shouldHideSummary" to check it
2. Also change method "shouldHide" to "shouldHideCategory",
to distinguish it from shouldHideSummary

Fix: 37293815
Test: RunSettingsRoboTests
Change-Id: I4364d0331f3aac143fad9ebdeab52207f5cb98bf
2017-04-13 16:00:04 -07:00
Casey Burkhardt
875d3b2471 Hide "Magnify with button" if no navbar is shown
Devices without a software-rendered navigation bar will be unable to
use "Magnify with button" as no accessibility button trigger for
magnification can be shown.

In this case, we hide the setting by preventing
MagnificationPreferenceFragment from showing the list of mag
modes, instead launching directly into the PreferenceFragment for
"Magnify with triple-tap"

Bug: 36862906
Test: Manual - Configured marlin to disable the navigation bar and
      verified behavior in SUW and Settings

Change-Id: Ie614ec292d7779044274b7c79eaed1df080c0fd1
2017-04-13 15:50:28 -07:00
qingxi
072f28661d Add erase eSIMs choice into factory reset
This CL add a check box for eSIM enabled devices to reset eSIM data
during factory reset of the phone.

Bug: 37255419
Test: Included
Change-Id: Ic98974726a515b0a350b73a33093460a63c1fb8a
2017-04-13 15:28:45 -07:00
Jesse Evans
edc5099e89 Instant apps show supported links not open default
On the app info page, instant apps show only the supported links
dialog rather than Open by default which opens in a secondary page
where the user can control things that aren't relevant to instant
apps.
Test: make RunSettingsRoboTests
Bug: 36497697
Change-Id: If4eba7c11c5490cbda1ef617002121fe108c4085
2017-04-13 15:17:41 -07:00
Lei Yu
aa03fd4c42 Merge "Revamp battery Ui in low battery mode" into oc-dev
am: c4f08120b1

Change-Id: I98dd93c678a3c71e0c19cb8a2f3979606d7075af
2017-04-13 21:52:49 +00:00
Fan Zhang
2bc3e47953 Get rid of the extra divider lines in memory usage UI
Change-Id: I991f74ed3139f6119188a446fbf12bef23189988
Fix: 37211922
Test: visual
2017-04-13 14:46:00 -07:00
Lei Yu
c4f08120b1 Merge "Revamp battery Ui in low battery mode" into oc-dev 2017-04-13 21:43:38 +00:00
Fan Zhang
1ed4d2fc6c Merge "Use android:resource instead of :value for static summary" into oc-dev
am: 812819d48c

Change-Id: I1e910affc1333fbd752d0b38e8668c4d87c02188
2017-04-13 21:15:44 +00:00
Daniel Nishi
0cce538bb0 Shrink the progress bar on storage items.
Change-Id: I4c9161de01236f7ac7ab633162a806888006fc1f
Fixes: 37283130
Test: Manual
2017-04-13 14:15:29 -07:00
TreeHugger Robot
812819d48c Merge "Use android:resource instead of :value for static summary" into oc-dev 2017-04-13 21:09:42 +00:00
Anna Galusza
cc7de0c36d Update Setup Wizard Vision Settings colors.
Bug: 34470898
Test: UI updates only.

Change-Id: I8693004637f31a433c6911a4c99d5dd1426d76f1
2017-04-13 20:29:45 +00:00
Daniel Nishi
95261b9239 Fix storage settings crash.
It may crash if opened during the uninstall of an app. By catching
the exception which may occur, we can just skip the uninstalled app
and avoid crashing.

Change-Id: I1b96b0697f4041be356260d6c675593affc1cb69
Merged-In: If556db7b5a299ba53a29baefbbe9709ba6d12190
Fixes: 36793223
Fixes: 36793372
Test: Settings unit test
2017-04-13 13:21:26 -07:00
Adam Lesinski
18fe8176f6 Merge "Update FakeUid to match ag/2099507" into oc-dev
am: 8da75be811

Change-Id: I26423036695c3162c86ed1a7bed1b82867aa0b71
2017-04-13 20:21:17 +00:00
Daniel Nishi
e7202b5c3d Jostle the elements around in app storage settings.
This much more closely resembles the later mocks for
this page. The spacing, fonts, and colors are still off
and will be corrected once the final mocks land.

Bug: 34766830
Test: Manual
Change-Id: Ifbb8511d624cd06422025beee943fdead3faf53b
Merged-In: Id131e3596a0d08cb43c924a9f5cd9eb25329d7de
2017-04-13 13:14:35 -07:00
Adam Lesinski
8da75be811 Merge "Update FakeUid to match ag/2099507" into oc-dev 2017-04-13 20:09:52 +00:00
Jack He
0e91dba0cf Merge "Add developer menu entry to enable Bluetooth inband ringing" into oc-dev
am: ee720c000a

Change-Id: Ic8374677c6ded3dc0843ca1326068a0678ba5d87
2017-04-13 20:08:11 +00:00
Jesse Evans
774b759ef9 Merge "Instant apps should not say App Installed by" into oc-dev
am: 28371d9c9e

Change-Id: I17c5ee53f16d26e9e01a54e717e1dcc10051650d
2017-04-13 20:03:43 +00:00
Jack He
ee720c000a Merge "Add developer menu entry to enable Bluetooth inband ringing" into oc-dev 2017-04-13 19:43:55 +00:00
TreeHugger Robot
28371d9c9e Merge "Instant apps should not say App Installed by" into oc-dev 2017-04-13 19:36:53 +00:00
Saige McVea
8fb5b5fd0e Merge "Added generic icon and magnification icon to a11y Settings." into oc-dev
am: ba7a4751a0

Change-Id: I9c9ca5d2584c923520f9d2d9986fdf28f7aae5d8
2017-04-13 19:18:29 +00:00
Saige McVea
ba7a4751a0 Merge "Added generic icon and magnification icon to a11y Settings." into oc-dev 2017-04-13 19:07:33 +00:00
Fan Zhang
26d4056740 Use android:resource instead of :value for static summary
android:resource is locale aware, but android:value is not.

Change-Id: I9eb0ff6b86036d769878e530cdca8779ee8b233f
Fix: 37248453
Test: manual
2017-04-13 11:52:20 -07:00
Hyunyoung Song
73f47ff12b Merge "Remove elevation from Apps detail info view to prevent NPE b/37286516 Test: manual" into oc-dev am: 8399697520
am: 4b9f884fd2

Change-Id: I43f0a9305882e40c13e17f3895086cdef58de46d
2017-04-13 18:50:45 +00:00
Daniel Nishi
f6e6991965 Merge "Add a movies & tv apps category to storage settings." into oc-dev
am: c365a8735c

Change-Id: I665759c8ce9c74d83a1167c5d04e5134ff697d08
2017-04-13 18:45:04 +00:00
Daniel Nishi
c365a8735c Merge "Add a movies & tv apps category to storage settings." into oc-dev 2017-04-13 18:39:58 +00:00
Hyunyoung Song
4b9f884fd2 Merge "Remove elevation from Apps detail info view to prevent NPE b/37286516 Test: manual" into oc-dev
am: 8399697520

Change-Id: Ie4fe4c452d99a47a6f29bd2a69f5dacd0f84f0e9
2017-04-13 18:38:38 +00:00
Hyunyoung Song
8399697520 Merge "Remove elevation from Apps detail info view to prevent NPE b/37286516 Test: manual" into oc-dev 2017-04-13 18:11:50 +00:00
Lei Yu
15ae65ac55 Merge "Update Summary for Battery Optimization" into oc-dev am: d29cb7e7ea
am: d03025897d

Change-Id: I85ac8e1b40c37109d2d5df9e12fec4e3fa518a67
2017-04-13 18:04:37 +00:00
Sundeep Ghuman
3ff70832bb Merge "Add a broadcast receiver to WifiDetailsPreferenceController." into oc-dev am: 028642e0a9
am: c8ec4c0e3f

Change-Id: Ib924fdf698f3d98f6e66e2c800b15b0b86d97dc9
2017-04-13 18:04:21 +00:00
Sundeep Ghuman
9143755b93 Merge "Update Wifi Preferences with custom icons." into oc-dev am: 43bd76d2d0
am: d840ac812d

Change-Id: Ie9dff375e599e9b83ec07fff20e0e65ce682d1f0
2017-04-13 18:04:04 +00:00
Anas Karbila
aaa31217d2 Merge "Settings: Fix wrong wifi drawable in screen zooming preview" am: 31ec85a913 am: 282a2317b9 am: 08cc4afc07
am: 97d884ad54

Change-Id: Iaaead338cce4638dd5318ef9d5dac3faec61c652
2017-04-13 18:03:46 +00:00
Lei Yu
d03025897d Merge "Update Summary for Battery Optimization" into oc-dev
am: d29cb7e7ea

Change-Id: Ibf37d1256ae71e6f404c660048c6a38278036a9d
2017-04-13 17:46:34 +00:00