Commit Graph

49356 Commits

Author SHA1 Message Date
Neil Fuller
6bb4b5ca43 Merge "Remove the feature flag and dead code for the old time zone picker" 2018-11-13 09:33:16 +00:00
TreeHugger Robot
523418a456 Merge "Add dismissal mechanism for contextual cards." 2018-11-13 09:13:46 +00:00
Yanting Yang
568e01f1a4 Merge "Integrate SliceBackgroundWorker to ConnectedDeviceSlice" 2018-11-13 09:05:09 +00:00
Sunny Shao
2c93ec8ae3 Enabled the floating search bar feature
Added the CoordinatorLayout as the top level layout
Added the AppBarLayout to enclose the search bar
Added the app:layout_behavior="@string/appbar_scrolling_view_behavior" to NestedScrollView

Bug: 118886724
Test: manual test
Change-Id: I4a8ef14637dc1dc7cf9618eca00e4b7d7a77c725
2018-11-13 17:04:21 +08:00
Victor Chang
fe627a5901 Remove the feature flag and dead code for the old time zone picker
This commit backports commit 6be6c58206
to aosp/master.

Bug: 72376227
Test: build only
Merged-In: I332077a67cc9f9c83b298e25feea71463e1ee98b
Change-Id: I332077a67cc9f9c83b298e25feea71463e1ee98b
(cherry picked from commit 6be6c58206)
2018-11-13 07:49:32 +00:00
Emily Chuang
6cf3591645 Add dismissal mechanism for contextual cards.
In the homepage, we should allow cards to be dismissed.

- Implement card flipping upon card long pressing.

Bug: 113783548
Test: robotests, visual
Change-Id: I2ddb498321ba5c5078d6944aa2ef32f1386bdb10
2018-11-13 14:46:44 +08:00
Raff Tsai
35ae9bbaac Read SettingsIntelligence package name from resource
Test: make RunSettingsRoboTests
Change-Id: I2143e1f7657cc0e01e91978e8c212ff079cec7d7
2018-11-13 14:45:01 +08:00
Yanting Yang
282a691a28 Integrate SliceBackgroundWorker to ConnectedDeviceSlice
Bug: 114807655
Test: visual, robotest
Change-Id: I11a8f6b3d1464ec1e932e03668c462a72346565b
2018-11-13 14:30:55 +08:00
Edgar Wang
675f843659 [automerger skipped] Merge "Move "About Phone" to bottom of Settings main IA, above "Tips & Support"" into pi-dev am: 96d829be9a
am: 03aca9f0f9  -s ours

Change-Id: I97c2097db5a8d58bc8f94ca1613a6a8400963619
2018-11-12 18:43:35 -08:00
Johnson Lu
9055b3cf3e Merge "Add QrCamera for QrCode scanner implementation" 2018-11-13 02:27:12 +00:00
Edgar Wang
03aca9f0f9 Merge "Move "About Phone" to bottom of Settings main IA, above "Tips & Support"" into pi-dev
am: 96d829be9a

Change-Id: I93b59d6f62c713bb49f1088ea3911b9b9313894e
2018-11-12 17:39:43 -08:00
Fan Zhang
4220b1e50c Hide quicksetting tile for dev options when it's turned off
Merged-In: I3e11700a59c8a88bb586c77a876963b5e6a62c89
Change-Id: I3e11700a59c8a88bb586c77a876963b5e6a62c89
Fixes: 78652607
Bug: 117770924
Test: robotests
2018-11-13 09:22:06 +08:00
Edgar Wang
96d829be9a Merge "Move "About Phone" to bottom of Settings main IA, above "Tips & Support"" into pi-dev 2018-11-13 01:16:48 +00:00
Hai Shalom
4864624c3d Fix Wi-Fi setup in setup wizard
Fix Wi-Fi setup in setup wizard; New WPA3/OWE networks added to
arrays.xml in an order of security caused a mismatch in the network type
index in SUW. Workaround to append the new string instead. Will require
additional work.

Bug: 119385642
Test: Setup wizard and settings app functional test
Change-Id: I6d95213a24de274f686ab372bb5fc69128a07e56
2018-11-12 12:01:47 -08:00
John Reck
3c2fdd091e Add force SmartDark dev setting
Bug: 118348733
Test: toggled it
Change-Id: I43b8ddaada9f8fc0a2a1fb4144fd4a53141bdb2e
2018-11-12 08:48:24 -08:00
Fan Zhang
73469d9de1 Hide quicksetting tile for dev options when it's turned off
Merged-In: I3e11700a59c8a88bb586c77a876963b5e6a62c89
Change-Id: I3e11700a59c8a88bb586c77a876963b5e6a62c89
Fixes: 78652607
Bug: 117770924
Test: robotests
2018-11-12 20:25:51 +08:00
Fan Zhang
04f1e38dc3 Hide quicksetting tile for dev options when it's turned off
Merged-In: I3e11700a59c8a88bb586c77a876963b5e6a62c89
Change-Id: I3e11700a59c8a88bb586c77a876963b5e6a62c89
Fixes: 78652607
Bug: 117770924
Test: robotests
2018-11-12 19:52:32 +08:00
Stanley Wang
192c6a1461 Merge "Fix condition text is out of button highlighting." 2018-11-12 10:27:11 +00:00
TreeHugger Robot
a2dd7034b0 Merge "Restrict the number of contextual cards shown in suggestion area." 2018-11-12 08:50:06 +00:00
TreeHugger Robot
f227871691 Merge "Switch count logging to action." 2018-11-12 07:45:13 +00:00
TreeHugger Robot
93932ec874 Merge "Fix phone muted conditional card not show up" 2018-11-12 07:09:25 +00:00
TreeHugger Robot
f28dc1d976 Merge "Remove call to actionWithSource." 2018-11-12 07:03:34 +00:00
TreeHugger Robot
b10df63dd5 Merge "Move EXTRA_SOURCE_METRICS_CATEGORY import." 2018-11-12 06:44:18 +00:00
Emily Chuang
0b6a3000e0 Restrict the number of contextual cards shown in suggestion area.
In order to make static IA visible in the homepage, we have to limit the
number of cards.

Bug: 118691898
Test: robotest
Change-Id: Iefb8b7e874ec1334e93be2d196b7cb72624b17b0
2018-11-12 14:17:47 +08:00
Fan Zhang
e783c9c1e9 Switch count logging to action.
Bug: 117860032
Test: robotest
Change-Id: I6882759b2f00ae43b42cb5e49c6dc50df90f7d63
2018-11-12 06:16:28 +00:00
Stanley Wang
1cc88be504 Fix condition text is out of button highlighting.
Change-Id: I1b70ee198f3aa14622e24ab11558e6301723cb36
Fixes: 112294276
Test: manual
2018-11-12 14:16:19 +08:00
Mill Chen
b122b17b08 Fix phone muted conditional card not show up
When DND mode is on, the phone muted conditional card will not appear.
The phone muted event is independent of DND mode, so the condition of
DND mode is taken out.

Bug: 119312937
Test: visual
Change-Id: Ie79dca1e4f607e666014512855922db10aa5a3d7
2018-11-12 13:35:59 +08:00
Fan Zhang
ff47b303c4 Remove call to actionWithSource.
Switch to generic action logging call.

Bug: 117860032
Test: robotests
Change-Id: Ibd7c59ac0ec8a9fa1b368b40f0453a1b42071377
2018-11-12 05:32:13 +00:00
TreeHugger Robot
454f05160f Merge changes from topic "privacy-settings"
* changes:
  Remove "Show password" in Security page
  Create a new top level Privacy entry
2018-11-12 05:31:53 +00:00
Fan Zhang
e22bcd07fc Move EXTRA_SOURCE_METRICS_CATEGORY import.
Bug: 117860032
Test: rebuild
Change-Id: Iedf020183fe78cdf8206beb91e1222d821adbe63
2018-11-11 19:43:54 -08:00
cosmohsieh
cf57eb7558 Implement NetworkRequestDialog architecture(cont.)
For NetworkRequestTimeoutDialogFragment, the dialog show after WiFi
scanning timeout or get no WiFi ap to list. Dialog will ask if user
want to continue scanning or cancel.

Bug: 117399926
Test: RunSettingsRoboTests
Change-Id: I0551a753c10265e69a7830833813852a95eab5ef
2018-11-12 11:20:31 +08:00
tmfang
7b235e3cfe Remove "Show password" in Security page
"Show password" will be moved in Settings > Privacy.
Since each of things should only exist in one place,
we remove it in Security page.

Test: visual
Bug: 116628158
Change-Id: I9f9083b88d7a20faa9bd28ded2cf8c3b9a5622fd
2018-11-12 11:08:43 +08:00
tmfang
80d03d1d20 Create a new top level Privacy entry
This CL focuses on building up Privacy entry in
Settings homepage.

And also reuse some preferences in here.
-App permission
-Show password

Test: robotest, visual
Change-Id: I724ba4b4845fac933df0fca23a4e1c6afeb73362
Fixes: 116628158
2018-11-12 10:49:10 +08:00
TreeHugger Robot
963d578146 Merge "Revert "Revert "Add a new logger for StatsLog""" 2018-11-12 02:09:19 +00:00
Jimmy Chen
826fddfe45 Merge "p2p: do P2P factory reset for Network Reset" 2018-11-12 01:52:47 +00:00
Andrii Kulian
3b5f04d4ab Merge "Remove char limit for force display dev options" 2018-11-11 06:29:05 +00:00
Fan Zhang
1e4e80162e Revert "Revert "Add a new logger for StatsLog""
This reverts commit f14d4af767.
Test: rebuild

Reason for revert: Fixes build

Change-Id: I003af1d9c973e58c09b1d8b9717c427febd6f809
2018-11-10 10:29:15 -08:00
Todd Kennedy
3c7841c94a Merge "Revert "Add a new logger for StatsLog"" 2018-11-10 13:52:14 +00:00
Todd Kennedy
f14d4af767 Revert "Add a new logger for StatsLog"
This reverts commit b2b84372b5.

Reason for revert: Causes build failures

Change-Id: I04f4a6e6d6082903056c296d543870dd165b6eea
2018-11-10 13:51:50 +00:00
Fan Zhang
604de39be7 Merge "Add a new logger for StatsLog" 2018-11-10 05:34:56 +00:00
TreeHugger Robot
98aa47b1fc Merge "Add developer option to opt-in updatable graphics driver." 2018-11-10 04:26:23 +00:00
Peiyong Lin
4a48086728 Add developer option to opt-in updatable graphics driver.
To facilitate developers to develop their applications against the updated
graphics driver, we provide a developer option to select one application to
opt-in. The selected application will always use updated graphics driver by
default.

BUG: 119221883
Test: Build, flash, boot, select a game and verify with prototype.
Change-Id: I8c3905fd5c1cbfb3ce12e589b48f57396c7776e3
2018-11-09 17:25:28 -08:00
Fan Zhang
b2b84372b5 Add a new logger for StatsLog
Bug: 117860032
Test: robotests
Change-Id: I4f3f5b1fb47df9427140a22f1e78126ad391ff68
2018-11-09 15:54:12 -08:00
TreeHugger Robot
ae30afb820 Merge "Enable Skip fingerprint when adding corp account." 2018-11-09 22:02:17 +00:00
Lei Yu
2aa06ecdc7 Merge "Polish on mobile network settings" 2018-11-09 20:40:24 +00:00
Fan Zhang
7d49c55efa Merge "Added account avatar in the end of search bar" 2018-11-09 20:39:00 +00:00
Andrii Kulian
dce72bdf07 Remove char limit for force display dev options
Bug: 112451761
Test: Build and flash
Change-Id: I9c837ff01a7bbd0ee8c45925644f1e149e502b77
2018-11-09 11:46:58 -08:00
Andrii Kulian
367f122d28 Merge "Add dev option to force desktop mode" 2018-11-09 19:25:19 +00:00
Fan Zhang
1bf7df8fdd Merge "Use preference for about phone page instead of injection." 2018-11-09 18:47:22 +00:00
Sunny Shao
aebf84b857 Added account avatar in the end of search bar
Launched the adding account when click no account icon on search bar
Retreived the avatar of the account and show in the end of the search bar
Added getAccountSettingsDeeplinkIntent api into the AccountFeatureProvider

Bug: 118691898
Test: robotest
Change-Id: I25d69b8f4b6cf138f5e20fc22ce4ff26357bc107
2018-11-09 10:40:10 -08:00