Commit Graph

46711 Commits

Author SHA1 Message Date
Leo Hsu
2e4f9fe61b Usage graphs support RTL style.
Flips the canvas horizontally before drawing paths under RTL mode.

Bug: 78008951
Test: manually verified graphs of wifi data usage, app data usage, and
battery usage.

Change-Id: I79286e9f3f98632e3a9710d42c3e197231a14c39
2018-06-12 12:48:20 +08:00
lumark
9e25726593 Fix back stack didn't perserved when Files Activity launched by Setting storage then back case.
Due to FilesActivity set "android:documentLaunchMode="intoExisting", it will create
new task when launched from Storage Setting page.

When select FilesActivity task from recents & press back key, it will not back
to settings page.

Using startActivityForResult to set task as source task can fix task separated case.

Change-Id: I26362928261a1a9c0e485a486be493423d1fcf61
Fixes: 33117269
Test: Manual
Test: atest StorageItemPreferenceControllerTest
2018-06-12 11:21:45 +08:00
TreeHugger Robot
f817b1e3a5 Merge "Misc clean up. move widgets from graph to widget package." 2018-06-12 01:01:32 +00:00
TreeHugger Robot
d716f0b216 Merge "Suppress "see all" from settings search." 2018-06-12 00:50:27 +00:00
TreeHugger Robot
410c7ddcf7 Merge "Add a switchbar to turn off multi-user feature entirely" 2018-06-11 23:59:18 +00:00
Fan Zhang
670ce333ae Misc clean up. move widgets from graph to widget package.
Bug: n/a
Test: robotests, rebuild
Change-Id: I910f355312d52e81a0bf57b46a3f267e1eb9882a
2018-06-11 16:05:12 -07:00
TreeHugger Robot
58a3d0c67d Merge "Remove DataSummaryUsageLegacy." 2018-06-11 22:51:13 +00:00
Fan Zhang
c8f021a288 Suppress "see all" from settings search.
Bug: 109894919
Test: reindex search
Change-Id: I009c5d2f366af402dcbfd2eb75b56bfcbb9217a6
2018-06-11 15:35:03 -07:00
Fan Zhang
c39238c63f Add a switchbar to turn off multi-user feature entirely
Change-Id: Ibf88bf37899af5065c68aeb2337acd4ee48bc13c
Fixes: 72319180
Test: robotest on new controller. Manual test on UserSettings fragment.
2018-06-11 15:00:08 -07:00
jackqdyulei
6244b5d0aa Add padding between battery text and icon
Change-Id: I4625ae6168278f7e69e9e26ed9c12958645e920e
Fixes: 80281413
Test: Screenshot
2018-06-11 14:37:50 -07:00
TreeHugger Robot
1dd1bdf8bf Merge "Handle usageevents for work profile apps" 2018-06-11 20:53:33 +00:00
Fan Zhang
48cdfcb32e Skip device index job if caller is not Settings app. am: 9ecf3e0c11
am: 251c324646

Change-Id: I67ae2371016f8c143bdbbf180ac09b9968c16c7d
2018-06-11 12:26:03 -07:00
Fan Zhang
251c324646 Skip device index job if caller is not Settings app.
am: 9ecf3e0c11

Change-Id: I84974379ac3074367623cce60d6633fd4390ed00
2018-06-11 11:40:07 -07:00
Fan Zhang
4f641b5f37 Skip device index job if caller is not Settings app.
am: 9ecf3e0c11

Change-Id: Id9632b11fb123e9fe2dc7b1878ce469f0e0a9dd9
2018-06-11 11:39:06 -07:00
Julia Reynolds
cb691873fd Handle usageevents for work profile apps
Test: robotests
Change-Id: Ifdc6e456d76614220b2052e6ca8a8f3676d0e2ee
Fixes: 79142791
2018-06-11 14:23:51 -04:00
Fan Zhang
cd21cb8def Remove DataSummaryUsageLegacy.
Change-Id: I8da039530cafe547008b434b6016add5f9383e94
Fixes: 109943959
Test: robotest/atest
2018-06-11 11:05:54 -07:00
TreeHugger Robot
6610e7ff92 Merge "Remove references to SettingsBase styles" 2018-06-11 18:05:32 +00:00
Fan Zhang
9ecf3e0c11 Skip device index job if caller is not Settings app.
Change-Id: I96184f111e83477b46ddf321ec74917bab330048
Fixes: 80437512
Fixes: 109713077
Test: robotests
(cherry picked from commit 74ba1a51d7)
2018-06-11 15:54:36 +00:00
Beverly
756e3b6caf Add summary to PreventRingingParent
Parent preference previously didn't have a summary
Moved summary test to PreventRingingParentPreferenceControllerTest

Test: PreventRingingParentPreferenceControllerTest.java
Change-Id: I2891e1ccffc4ea8007c8bd25689f242ee34c652c
2018-06-11 10:45:34 -04:00
TreeHugger Robot
ddd9283ee0 Merge "Change the string" 2018-06-11 03:39:19 +00:00
Xin Li
cdde5166e5 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master am: 44de687b93
am: 5a0817ce57

Change-Id: I872c4eb99d693c48a174cbd98231c75af199ed79
2018-06-09 06:52:22 -07:00
Xin Li
5a0817ce57 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
am: 44de687b93

Change-Id: I9aca24c1ee7a0ce46d8a7845ba78735fd03410c7
2018-06-09 03:23:12 -07:00
TreeHugger Robot
e716b47d60 Merge "Check EnforcedAdmin to see if location is locked down by device policy." 2018-06-09 01:23:26 +00:00
TreeHugger Robot
485e8a3531 Merge "Misc search clean up" 2018-06-08 23:01:04 +00:00
Fan Zhang
7f5692bdea Misc search clean up
- Make color mode page searchable and suppress its parent page.
- Suppress entire DataUsageSummaryLegacy page in search. This page will
  be deleted soon

Change-Id: I0f98c9073358934b98e986d034c89a9bf87e58ad
Fixes: 70720645
Test: robotests
2018-06-08 14:51:19 -07:00
TreeHugger Robot
ca2f6f6e38 Merge "Check wifi password length by byte, not char." 2018-06-08 21:37:26 +00:00
TreeHugger Robot
db6d667ea4 Merge "Fix memory leaks in Settings" 2018-06-08 21:07:30 +00:00
TreeHugger Robot
246c17fbc7 Merge "Avoids systemui color tint flicker because no system ui flags set" 2018-06-08 20:50:00 +00:00
Antony Sargent
212b5676d0 Remove references to SettingsBase styles
We've moved the values for several preference-related styles used in
Settings from SettingsLib into the support library. This CL removes the
references to the SettingsLib versions from Settings so they can be
removed from SettingsLib.

Also delete an unused layout file that was moved to SettingsLib a long
time ago (preference_dropdown_material_settings.xml).

Bug: 64689839
Test: visual (styles for things like icon spacing, dividers, etc. should
be the same)

Change-Id: Ib7a745218086269c2e861b18df68bd835929da19
2018-06-08 13:26:16 -07:00
Fan Zhang
b6584d0a5a Check wifi password length by byte, not char.
Change-Id: Ie6dc441780660c52ff01a2bced79a4e95200d731
Fixes: 79209073
Test: robotest
2018-06-08 13:18:07 -07:00
TreeHugger Robot
8be9e0d605 Merge "Don't crash if IMEI is empty" 2018-06-08 19:07:22 +00:00
Fan Zhang
838f6c7812 Fix memory leaks in Settings
Bug: 80507279
Test: inspected hprof before and after fix
Change-Id: I6ea2925695deb6261263649e858484e1667ec522
2018-06-08 11:56:42 -07:00
Beverly
ad48472c6a Merge "Fix typo" into pi-dev am: 29eec443e0
am: a045b13e0a

Change-Id: Iccf8130b9740faf66c8b05189ff0d0b13aebe5fe
2018-06-08 11:47:07 -07:00
Beverly
d2cb9eb9ce Merge "Fix typo" into pi-dev
am: 29eec443e0

Change-Id: I745148c2db292e04c3cb25e18969ead8a438b9e7
2018-06-08 11:44:14 -07:00
Beverly
a045b13e0a Merge "Fix typo" into pi-dev
am: 29eec443e0

Change-Id: I3fc887ca87b96b93989e187abf05b66201d29b95
2018-06-08 11:42:11 -07:00
ryanywlin
884a945334 2nd attempt handle BT is not supported on emulator am: 59287d40d1
am: de3d9a0a73

Change-Id: I27c16d76f25480a36b5b73cdcb3042cee7754a5f
2018-06-08 11:33:53 -07:00
TreeHugger Robot
29eec443e0 Merge "Fix typo" into pi-dev 2018-06-08 18:32:47 +00:00
ryanywlin
8f9c3ccbbd 2nd attempt handle BT is not supported on emulator
am: 59287d40d1

Change-Id: I8c9d2a14dc85d45633a6b7d54ff6e6577b0739b4
2018-06-08 11:11:26 -07:00
ryanywlin
de3d9a0a73 2nd attempt handle BT is not supported on emulator
am: 59287d40d1

Change-Id: I843fc58484df106af09cae87dcb886ea49aa53ea
2018-06-08 11:10:56 -07:00
Xin Li
44de687b93 Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Bug: 79597307
Change-Id: Ibb6c6e3f775ee19127711fcc10b2e00a2289a026
2018-06-08 11:08:02 -07:00
Matthew Fritze
6a03db093a Don't crash if IMEI is empty
Change-Id: I5993d332dbd218c981ef5432aebb735d0000f67a
Fixes: 109787187
Test: robotests
2018-06-08 10:49:06 -07:00
TreeHugger Robot
f11638c61c Merge "Remove bottom padding on screen saturation preview" 2018-06-08 17:23:26 +00:00
TreeHugger Robot
a9b742dd53 Merge "Add help uri for prevent ringing gesture" 2018-06-08 16:29:31 +00:00
Matthew Fritze
8ea60bfdbd Remove bottom padding on screen saturation preview
Change-Id: I5c43209d5711c32e6ab91f65a2fced4b0c9b4c23
Fixes: 80091062
Test: none, only visual changes.
2018-06-08 09:12:05 -07:00
TreeHugger Robot
7bc2f98188 Merge "Fix typo" 2018-06-08 15:39:47 +00:00
Beverly
78f0f781fa Fix typo
Test: manual
Bug: 109925028
Change-Id: I87ec517249567123df1a8eace17109ed7e0bae2b
2018-06-08 15:17:09 +00:00
TreeHugger Robot
28e0ce5b40 Merge "Don't force lower case in ZenSettings" 2018-06-08 14:44:33 +00:00
TreeHugger Robot
fe805d7a41 Merge "Hide block pref on non-configurable channels" 2018-06-08 14:44:16 +00:00
Beverly
91ab1338cb Fix typo
Test: manual
Bug: 109925028
Change-Id: I87ec517249567123df1a8eace17109ed7e0bae2b
2018-06-08 10:44:05 -04:00
Beverly
486d1facfa Add help uri for prevent ringing gesture
Test: build
Bug: 79270169
Change-Id: Iea5598f26649854521202363cad6ee297cef3057
2018-06-08 09:53:28 -04:00