Commit Graph

34825 Commits

Author SHA1 Message Date
TreeHugger Robot
1c087983d8 Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" into oc-dev 2017-03-30 01:17:24 +00:00
Lei Yu
ae179f182f Merge "Hide Wifi and Systemui in settings main page" into oc-dev 2017-03-30 01:14:36 +00:00
Lei Yu
b2e213d551 Merge "Add summary for categories in battery advanced page" into oc-dev 2017-03-30 01:14:25 +00:00
TreeHugger Robot
a61da379cd Merge "Adds the lightning badge for Instant Apps" 2017-03-30 00:06:36 +00:00
Matthew Fritze
8a42b074a7 Reserve full indexing for SearchFragment
Full Index should only be accessible from Search Fragment,
and when only full index should declare a locale to be
indexed.

Test: make RunSettingsRoboTests
Fixes: 36656637
Change-Id: Ie673067118ac6b184570e116ea24a169be027053
2017-03-29 23:55:48 +00:00
Stephen Chen
f5d1327e2a Do not show progress bar when disabling wifi.
Bug: 34286786
Test: make, test on device.
Change-Id: I109ac05ce3565abc3d80ecec2879c2f7c8bc1724
2017-03-29 16:54:22 -07:00
Bill Yi
6e9d48b8ac Import translations. DO NOT MERGE
Change-Id: Ibb35af37750b62e22f828448b8230dc67b2de5c2
Auto-generated-cl: translation import
2017-03-29 16:33:00 -07:00
Stephen Chen
c6453a5bca Add link speed to Wifi details page.
Also make detail items unselectable.

Bug: 36444504
Test: make RunSettingsRoboTests
Change-Id: I393a3a25c8c036da1df1dc2788accfecb3563e14
2017-03-29 16:28:08 -07:00
Lei Yu
2fa1275b71 Merge "Create Controller for app buttons" into oc-dev am: 88b57826f5
am: 311593a89b

Change-Id: Ica736c18bdc5bbfc79dd9a85112e2c949aa529c4
2017-03-29 23:20:44 +00:00
Lei Yu
311593a89b Merge "Create Controller for app buttons" into oc-dev
am: 88b57826f5

Change-Id: I62b837278d68fafe5bbe7faaa968fda18a5c9453
2017-03-29 23:18:45 +00:00
Lei Yu
88b57826f5 Merge "Create Controller for app buttons" into oc-dev 2017-03-29 23:16:29 +00:00
Pavlin Radoslavov
f8dbff926c Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" am: eeabd6b463 am: bc9c1d0eb8 am: 30547ce3e8
am: d246b714d0

Change-Id: Iaf1923ee54e67530bc8159fab9c05605401aac05
2017-03-29 23:04:12 +00:00
Pavlin Radoslavov
5b1e4a2705 Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()
This API can be used to enable the optional codecs, or disable them
and use only the mandatory SBC.
Internally, it is implemented by raising the SBC priority to
highest (so SBC will be used/selected), or reducing the SBC priority
to its default value (lowest).

Test: A2DP streaming and enabling/disabling/selecting optional codecs
Bug: 35873828
Change-Id: I6e3144ff93bfc289fb25f4961fc00f39e8222290
(cherry picked from commit b0d8cdf8f8)
2017-03-29 16:01:00 -07:00
Pavlin Radoslavov
d246b714d0 Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" am: eeabd6b463 am: bc9c1d0eb8
am: 30547ce3e8

Change-Id: I94706c37d395011fdc7c7d25d4a8426dc7af6d8f
2017-03-29 22:57:39 +00:00
Maurice Lam
2aa5a7d3d3 Merge "Allow remote views to be used in Tiles" 2017-03-29 22:56:53 +00:00
Pavlin Radoslavov
30547ce3e8 Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" am: eeabd6b463
am: bc9c1d0eb8

Change-Id: I3b89011d02f159d951b39ddc8d43cb17fbd00432
2017-03-29 22:51:53 +00:00
Pavlin Radoslavov
bc9c1d0eb8 Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()"
am: eeabd6b463

Change-Id: I1ead14c5b587c9934fcd1fff450221cf83c16a3d
2017-03-29 22:47:40 +00:00
Christine Franks
424476aeda Merge "Disable default indicator for night display" into oc-dev am: 231ed14e46
am: 58cbd30873

Change-Id: Ib6aaaad468213b1226c91f8212b7a206de1964fe
2017-03-29 22:47:13 +00:00
Christine Franks
58cbd30873 Merge "Disable default indicator for night display" into oc-dev
am: 231ed14e46

Change-Id: Ibf1034bf8edff6ad54a10c4d46b8740bbe685dea
2017-03-29 22:45:13 +00:00
Christine Franks
231ed14e46 Merge "Disable default indicator for night display" into oc-dev 2017-03-29 22:41:41 +00:00
Treehugger Robot
eeabd6b463 Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" 2017-03-29 22:41:14 +00:00
TreeHugger Robot
6b16ba60f1 Merge "Removes summary text from Instant Apps details" 2017-03-29 22:36:57 +00:00
Daniel Nishi
70085ec0ae Merge "Lower case the first letter of storage type." 2017-03-29 21:13:19 +00:00
Daniel Nishi
56a078d46d Merge "Add a movies & tv apps category to storage settings." 2017-03-29 21:13:05 +00:00
Stephen Chen
6d0ea0b472 Merge "Connect immediately after pressing on previously connected saved networks." into oc-dev am: 31170fb629
am: 180810d00c

Change-Id: I7a405f1abfe753ab70ac8e83829dc22a74a1c66b
2017-03-29 21:08:55 +00:00
Stephen Chen
180810d00c Merge "Connect immediately after pressing on previously connected saved networks." into oc-dev
am: 31170fb629

Change-Id: Iee3dace687af34d3a1f75e9f201a38135c3f7997
2017-03-29 21:06:55 +00:00
TreeHugger Robot
31170fb629 Merge "Connect immediately after pressing on previously connected saved networks." into oc-dev 2017-03-29 21:00:56 +00:00
Peter Qiu
ae727fbb73 wifi: managed Passpoint configurations in "Saved Networks" page
Instead of going through WifiTracker to retrieve saved network
configurations (including both WiFi networks and Passpoint provider
configurations), use the WifiManager's APIs to retrieve the
configurations directly, to avoid any unnecessary complexities.

Also update to use the appropriate APIs for configuration removal
based on the configuration type.

Bug: 34207710
Test: manual test by removing a Passpoint configuration from
      "Saved Networks" page.

Change-Id: I549cc484d8825b6c38895428c1b7941390bb5f1f
2017-03-29 13:57:32 -07:00
jackqdyulei
b73e0d3f51 Update string for battery main page
Bug: 36576021
Test: Build
Change-Id: I60c43868dd54bfaf75648a9ac70a3ff5815180b6
(cherry picked from commit 630a8c054b)
2017-03-29 20:53:25 +00:00
TreeHugger Robot
28fbdc497d Merge "Update string for battery main page" 2017-03-29 20:52:08 +00:00
Doris Ling
c209851d54 Merge "Only register conditions receiver when needed." into oc-dev am: 258e8a8117
am: c5cc3ad8ab

Change-Id: Iee3b638cf04acd6fa6ea01ec5ec24e001e15141a
2017-03-29 20:37:01 +00:00
Doris Ling
05f89968ce Merge "Increase the char limit for the bluetooth tethering strings." into oc-dev am: 6fd47da7c3
am: be2c0fc6a3

Change-Id: Idb1e8fea80a256da483afed6de777f567d80e098
2017-03-29 20:36:48 +00:00
Doris Ling
c5cc3ad8ab Merge "Only register conditions receiver when needed." into oc-dev
am: 258e8a8117

Change-Id: Ifc56d2c84f38c4c924596aff660e7c156166266e
2017-03-29 20:35:44 +00:00
Doris Ling
be2c0fc6a3 Merge "Increase the char limit for the bluetooth tethering strings." into oc-dev
am: 6fd47da7c3

Change-Id: I7e28a6691b6ceabe079aad87fde2389f07789dbc
2017-03-29 20:33:58 +00:00
Doris Ling
258e8a8117 Merge "Only register conditions receiver when needed." into oc-dev 2017-03-29 20:33:21 +00:00
TreeHugger Robot
02a66bef60 Merge "Remove android:visibility attributes from Preferences" 2017-03-29 20:30:27 +00:00
TreeHugger Robot
6fd47da7c3 Merge "Increase the char limit for the bluetooth tethering strings." into oc-dev 2017-03-29 20:26:10 +00:00
jackqdyulei
c577ef0a75 Hide Wifi and Systemui in settings main page
Also move the systemui to category system

Fix: 36644740
Fix: 36645264
Test: RunSettingsRoboTests

Change-Id: I6b64a7dca58091f3a1d8b7d99c8bae7ddf9169f9
(cherry picked from commit 1e95b74f77)
2017-03-29 20:23:50 +00:00
jackqdyulei
f094b87661 Add summary for categories in battery advanced page
If the category only contains one app, show usage time, otherwise
show app with maximum usage.

Also add usage time for apps in battery settings page.

Bug: 35396770
Test: RunSettingsRoboTests
Change-Id: I43fe9c2289535be2c1b95ffded6b52b0ff099589
(cherry picked from commit 3bbaca9c7c)
2017-03-29 20:23:22 +00:00
jackqdyulei
31b8de1e21 Create Controller for app buttons
These two buttons(uninstall + forcestop) are used in both battery page
and app page, we should move the logic for these two buttons into one
place.

This cl creates the AppButtonsPreferenceController for the above
purpose. This cl only copies the logic to controller but hasn't make
InstalledAppDetails use this controller.

Since DialogFragment could not use function in controller directly,
the controller expose DialogListener and all the fragments must
implement this interface. Then they can delegate the method call
to controller directly.

The following cl will:
1. Make the InstalledAppDetails be compatible to controller
2. Make the InstalledAppDetails use this controller.

Bug: 35810915
Test: RunSettingsRoboTests
Change-Id: Ie2aa8064bcec3003233896c18be772825b12930a
(cherry picked from commit 82d07983b4)
2017-03-29 20:21:37 +00:00
Lei Yu
96363bbd14 Merge "Add summary for categories in battery advanced page" 2017-03-29 20:18:22 +00:00
Christine Franks
07bfdc04d7 Disable default indicator for night display
Bug: 36695989
Test: make -j100, and manually verified that default indicator no
longer appears on the SeekBar.

Change-Id: I574938bc664f8b750a3fe9ab52f361f46ad1f327
2017-03-29 12:20:29 -07:00
TreeHugger Robot
1a640c794b Merge "Keep EnterprisePrivacySettingsActivity always enabled" 2017-03-29 19:04:23 +00:00
Stephen Chen
b19b8f37c9 Connect immediately after pressing on previously connected saved networks.
Bug: 34287193
Test: manual inspection
Change-Id: Idf7156fa48640a34ce11cbf2f9683cfc6525a7b5
2017-03-29 11:50:16 -07:00
Julia Reynolds
cc1efb0d81 Merge "Don't run postexecute if activity is gone." into oc-dev am: a48cb8d978
am: 388b37c1fe

Change-Id: I96ac7df69f112cfb9f629c21a9da5c20d5b5a028
2017-03-29 18:23:47 +00:00
Julia Reynolds
388b37c1fe Merge "Don't run postexecute if activity is gone." into oc-dev
am: a48cb8d978

Change-Id: I0dc6f1393423509cf7c679395f621828c7948b5f
2017-03-29 18:22:21 +00:00
TreeHugger Robot
a48cb8d978 Merge "Don't run postexecute if activity is gone." into oc-dev 2017-03-29 18:19:04 +00:00
TreeHugger Robot
b7b074454b Merge "Create Controller for app buttons" 2017-03-29 18:18:17 +00:00
Jesse Evans
2400d31651 Adds the lightning badge for Instant Apps
Adds the lightning bolt badge for Instant Apps to the
InstalledAppDetails page.

Test: Robolectric test to ensure the badge is shown for Instant Apps
and also that it is not shown for installed apps.

Bug: 36512295
Change-Id: I8496d684fa3a9dc316fa5af16399e6d07f68255a
2017-03-29 11:08:05 -07:00
Pavlin Radoslavov
b0d8cdf8f8 Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()
This API can be used to enable the optional codecs, or disable them
and use only the mandatory SBC.
Internally, it is implemented by raising the SBC priority to
highest (so SBC will be used/selected), or reducing the SBC priority
to its default value (lowest).

Test: A2DP streaming and enabling/disabling/selecting optional codecs
Bug: 35873828
Change-Id: I6e3144ff93bfc289fb25f4961fc00f39e8222290
2017-03-29 10:59:56 -07:00