OSDN Git Service
fanzhang172 [Tue, 2 May 2017 02:15:17 +0000 (19:15 -0700)]
Add recent apps in app & notification
- Introduce a RecentAppsPreferenceControler, which queries
UsageStatsManager and displays a list of recently used apps.
- Add a control flag for this feature, intially set to false.
- Make ManageApplications a static pref item instead of dynamic one.
This makes the RecentAppController easier to control "See all"
preference, which is backed by ManageApplications.
- Also adjust app_items.xml layout to make app item UI consistent with
preference item.
Change-Id: I0b9e1784faed32b3055ebf96ef98b6a5e422de50
Fix:
33265548
Test: robotests
Daniel Nishi [Wed, 3 May 2017 18:09:27 +0000 (18:09 +0000)]
Merge "Always use GB as the unit in Storage Settings." into oc-dev am:
833927929e
am:
f917c0aa24
Change-Id: I632e27fe03241818447998464e1bdbfe96f4c6e5
Daniel Nishi [Wed, 3 May 2017 18:09:00 +0000 (18:09 +0000)]
Merge "Don't overly hide the Files preference." into oc-dev am:
0c58fbd345
am:
169fd4693f
Change-Id: I5328da37f430703540cb067256984ebafbe4ff59
Daniel Nishi [Wed, 3 May 2017 18:04:51 +0000 (18:04 +0000)]
Merge "Always use GB as the unit in Storage Settings." into oc-dev
am:
833927929e
Change-Id: I569b89bcf10fa32f86978c80fb646c0d4503b89e
Daniel Nishi [Wed, 3 May 2017 18:04:17 +0000 (18:04 +0000)]
Merge "Don't overly hide the Files preference." into oc-dev
am:
0c58fbd345
Change-Id: I4dbc750366d9fdbd6bc18abd751e47694de1d368
Daniel Nishi [Wed, 3 May 2017 18:00:18 +0000 (18:00 +0000)]
Merge "Always use GB as the unit in Storage Settings." into oc-dev
Daniel Nishi [Wed, 3 May 2017 17:59:06 +0000 (17:59 +0000)]
Merge "Don't overly hide the Files preference." into oc-dev
Maurice Lam [Wed, 3 May 2017 16:21:30 +0000 (16:21 +0000)]
Merge "Include com.android.settings CodeInspectorTest"
Maurice Lam [Wed, 3 May 2017 05:12:09 +0000 (22:12 -0700)]
Include com.android.settings CodeInspectorTest
Don't ignore classes directly under the package com.android.settings
in CodeInspectorTest.
Test: cd tests/robotests && mma
Change-Id: I4a6b00231839729405dd96a270e2dcbfef3b73c4
jackqdyulei [Wed, 3 May 2017 02:31:43 +0000 (02:31 +0000)]
Merge "Hide subtitle for wifi and bluetooth" into oc-dev am:
4b50e58a1d
am:
09adbd2f3b
Change-Id: I2d620d2fecf016434886ef67a5fa88128f722a6d
jackqdyulei [Wed, 3 May 2017 02:24:48 +0000 (02:24 +0000)]
Merge "Hide subtitle for wifi and bluetooth" into oc-dev
am:
4b50e58a1d
Change-Id: I2997ffe57474de973a66932b685fbbaf9bf77955
TreeHugger Robot [Wed, 3 May 2017 02:18:52 +0000 (02:18 +0000)]
Merge "Hide subtitle for wifi and bluetooth" into oc-dev
Lei Yu [Wed, 3 May 2017 00:49:33 +0000 (00:49 +0000)]
Merge "Add abnormal app page for battery settings"
Lei Yu [Wed, 3 May 2017 00:48:55 +0000 (00:48 +0000)]
Merge "Add wakelock anomaly detector"
Daniel Sheng [Tue, 2 May 2017 23:21:24 +0000 (23:21 +0000)]
Merge "Camera Lift string tweaks"
jackqdyulei [Wed, 26 Apr 2017 21:25:51 +0000 (14:25 -0700)]
Add abnormal app page for battery settings
1. Add abnormal app page
2. Add strings for abnormal app page
3. Change AnomalyPreferenceController to open abnormal app page,
when there are more than one anomaly.
4. Add AnomalyPreference, who stores a reference of anomaly.
Also rename AnomalyPreferenceController to
AnomalySummaryPreferenceController because this controller is not
used to handle AnomalyPreference.
Following cls will add summary and icon for each abnormal app.
Bug:
37681665
Test: RunSettingsRoboTests
Change-Id: I4266f906476ff8daccd962572c8cfa99f948080a
Daniel Nishi [Mon, 1 May 2017 18:30:14 +0000 (11:30 -0700)]
Don't overly hide the Files preference.
This occurred this because the files preference was initialized during
displayPreference(), but the volume used to initialize it was not being
set until after the displayPreference() call. In this case, the files
preference would hide itself and never come back.
This fixes this by double-checking the Files visibility status whenever
we set the volume.
Change-Id: I0b1a7a9566e9caece39ec58706fbca034ef4c1c2
Fixes:
37790776
Test: Settings robotest
jackqdyulei [Tue, 2 May 2017 22:16:19 +0000 (15:16 -0700)]
Hide subtitle for wifi and bluetooth
Hide it for now because the usage time is not accurate. We may
revisit it in the future.
Bug:
37912143
Test: RunSettingsRoboTests
Change-Id: I37b9dca6a188f2973a7a83641d12b24001d629ae
jackqdyulei [Wed, 26 Apr 2017 01:22:45 +0000 (18:22 -0700)]
Add wakelock anomaly detector
This cl detects whether apps hold wakelock for long time.
For now we use the following attribute:
1. Longest total duration time among all the wakelocks
for one app.
Following cl will:
1. Get threshold from server side.
2. Add more attributes to make the detection more robust.
Bug:
36925184
Test: RunSettingsRoboTests
Change-Id: I1946faf69c363f6aa823d0005d6e03bc9082c085
TreeHugger Robot [Tue, 2 May 2017 19:55:13 +0000 (19:55 +0000)]
Merge "Remove custom layout for expandpreference."
Matthew Fritze [Tue, 2 May 2017 19:45:09 +0000 (19:45 +0000)]
Merge "Prevent empty non-Indexable keys from being added" into oc-dev am:
d51b94b042
am:
68824ba600
Change-Id: I0e8d2965c10947db09832ee7dfd4d1a4bc8aaa17
Matthew Fritze [Tue, 2 May 2017 19:29:18 +0000 (19:29 +0000)]
Merge "Prevent empty non-Indexable keys from being added" into oc-dev
am:
d51b94b042
Change-Id: I2b915166c5a52082bfb0c4dff52ea9101f5c2514
TreeHugger Robot [Tue, 2 May 2017 19:25:52 +0000 (19:25 +0000)]
Merge "Prevent empty non-Indexable keys from being added" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 19:07:42 +0000 (19:07 +0000)]
Merge "Remove accessibility duplicates in settings search"
Fan Zhang [Tue, 2 May 2017 18:12:20 +0000 (11:12 -0700)]
Remove custom layout for expandpreference.
It's no longer needed.
Test: manual
Change-Id: I704255ee217d1142ac81c738feef212224bae4e8
Miao Miao (苗苗) [Tue, 2 May 2017 17:54:44 +0000 (17:54 +0000)]
Merge "Settings crash when receiving data state broadcast" am:
2ed42d009b am:
c6e3467cc2 am:
b1480c8cab
am:
d0cb54b27e
Change-Id: I7430b38a73cf22b823121db3c2287f3afdb63d79
Miao Miao (苗苗) [Tue, 2 May 2017 17:48:41 +0000 (17:48 +0000)]
Merge "Settings crash when receiving data state broadcast" am:
2ed42d009b am:
c6e3467cc2
am:
b1480c8cab
Change-Id: I803440c63bfb4a4355765b2dc670e2ca54f7c9e1
Miao Miao (苗苗) [Tue, 2 May 2017 17:46:41 +0000 (17:46 +0000)]
Merge "Settings crash when receiving data state broadcast" am:
2ed42d009b
am:
c6e3467cc2
Change-Id: If6ad081e117a94df84d041776649af63c392cc30
Miao Miao (苗苗) [Tue, 2 May 2017 17:44:08 +0000 (17:44 +0000)]
Merge "Settings crash when receiving data state broadcast"
am:
2ed42d009b
Change-Id: Ie0dcb238e132705022408e2f0cacd35597ff86f1
Matthew Fritze [Mon, 24 Apr 2017 23:32:52 +0000 (16:32 -0700)]
Prevent empty non-Indexable keys from being added
Change-Id: I688cd5243bb1651d60f74e168a84ddf8723816e3
Fixes:
37646265
Test: make RunSettingsRoboTests
Treehugger Robot [Tue, 2 May 2017 17:39:44 +0000 (17:39 +0000)]
Merge "Settings crash when receiving data state broadcast"
Matthew Fritze [Mon, 17 Apr 2017 14:55:41 +0000 (07:55 -0700)]
Remove accessibility duplicates in settings search
Bug:
33701673
Test: make RunSettingsRoboTests
Change-Id: Iae179b558065d728c14eb76f136d398081577779
Kevin Chyn [Tue, 2 May 2017 17:22:40 +0000 (17:22 +0000)]
Merge "Revert "Swipe for notification should be default-on in settings app"" into oc-dev am:
f1f35ee107
am:
19323ca297
Change-Id: I64d6590b9e757e99005ce7a3f9f01ad5fd11f5fe
Kevin Chyn [Tue, 2 May 2017 17:16:09 +0000 (17:16 +0000)]
Merge "Revert "Swipe for notification should be default-on in settings app"" into oc-dev
am:
f1f35ee107
Change-Id: I105ef25110a9c7b158c08f61f5e0b4354490218e
TreeHugger Robot [Tue, 2 May 2017 17:12:20 +0000 (17:12 +0000)]
Merge "Revert "Swipe for notification should be default-on in settings app"" into oc-dev
Daniel Nishi [Tue, 2 May 2017 17:09:37 +0000 (17:09 +0000)]
Merge "Filter on volume for category storage view." into oc-dev am:
a41a190ac3
am:
854acc9e4b
Change-Id: I21c985df9ee34981b47c080756df5dc442f335b6
Daniel Nishi [Tue, 2 May 2017 17:09:08 +0000 (17:09 +0000)]
Merge "Tweak spacing for horizontal preferences." into oc-dev am:
b4937f4556
am:
88c721116b
Change-Id: I46f64ee45e2dc0941719e9d53abc0f4cba0fa79a
Daniel Nishi [Tue, 2 May 2017 17:07:02 +0000 (17:07 +0000)]
Merge "Filter on volume for category storage view." into oc-dev
am:
a41a190ac3
Change-Id: I967f4fd28c5375f0c56ad88dedc47a484918b629
Daniel Nishi [Tue, 2 May 2017 17:06:36 +0000 (17:06 +0000)]
Merge "Tweak spacing for horizontal preferences." into oc-dev
am:
b4937f4556
Change-Id: Ida558c9499e49a1498e4469140dc099ef754e093
Daniel Nishi [Tue, 2 May 2017 17:03:36 +0000 (17:03 +0000)]
Merge "Filter on volume for category storage view." into oc-dev
Daniel Nishi [Tue, 2 May 2017 17:03:12 +0000 (17:03 +0000)]
Merge "Tweak spacing for horizontal preferences." into oc-dev
The Android Open Source Project [Tue, 2 May 2017 16:34:46 +0000 (16:34 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am:
23550fdcd3 -s ours
am:
ad5649043e -s ours
Change-Id: I079f1dd525e204ec7905550ea0525c1509283066
The Android Open Source Project [Tue, 2 May 2017 15:59:49 +0000 (15:59 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am:
23550fdcd3 -s ours
Change-Id: I8a79bee09818497cf509369a673377bf623b1fb8
TreeHugger Robot [Tue, 2 May 2017 15:46:54 +0000 (15:46 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 15:10:57 +0000 (15:10 +0000)]
Merge "Import translations. DO NOT MERGE"
The Android Open Source Project [Tue, 2 May 2017 09:06:19 +0000 (02:06 -0700)]
Import translations. DO NOT MERGE
Change-Id: I821c1fc2cd75b141b068160f0a664cc747c36a3f
Auto-generated-cl: translation import
The Android Open Source Project [Tue, 2 May 2017 08:35:16 +0000 (01:35 -0700)]
Import translations. DO NOT MERGE
Change-Id: I7759ea372b0386d5a275424525c5fb4b9d283173
Auto-generated-cl: translation import
Kevin Chyn [Tue, 2 May 2017 04:23:31 +0000 (04:23 +0000)]
Revert "Swipe for notification should be default-on in settings app"
This reverts commit
a95c2c3a8d65d191260d4948a54eee1c74dac3fa.
Change-Id: I8fcc290be7d373d55058bd7c22f163d54fc03830
Kevin Chyn [Tue, 2 May 2017 04:20:45 +0000 (04:20 +0000)]
Merge "Swipe for notification should be default-on in settings app" into oc-dev am:
9ab1318ca8
am:
f921f8e77e
Change-Id: I3337bcba8a7baa4038f7c72d8eb9658311c0c435
Kevin Chyn [Tue, 2 May 2017 04:14:47 +0000 (04:14 +0000)]
Merge "Swipe for notification should be default-on in settings app" into oc-dev
am:
9ab1318ca8
Change-Id: Ib153ffcb4012954950f8c1310a5f08efefecc91d
TreeHugger Robot [Tue, 2 May 2017 04:09:30 +0000 (04:09 +0000)]
Merge "Swipe for notification should be default-on in settings app" into oc-dev
Fan Zhang [Tue, 2 May 2017 02:32:39 +0000 (02:32 +0000)]
Merge "Update vpn icon from setting gear to vpn key." into oc-dev am:
74327fa4f0
am:
403a4ee11a
Change-Id: I29538740df4794e0b427f31bc62a4380e40686f3
Fan Zhang [Tue, 2 May 2017 02:28:10 +0000 (02:28 +0000)]
Merge "Update vpn icon from setting gear to vpn key." into oc-dev
am:
74327fa4f0
Change-Id: Ib711284c7071766d516d5b0e653f1b01da0f13bd
TreeHugger Robot [Tue, 2 May 2017 02:23:34 +0000 (02:23 +0000)]
Merge "Update vpn icon from setting gear to vpn key." into oc-dev
Amit Mahajan [Tue, 2 May 2017 02:13:41 +0000 (02:13 +0000)]
Merge "Change to not call update() if APN is not modified." into oc-dev am:
7cab6a9a17
am:
bd119a71ec
Change-Id: I477923344d01febc0d78c0264eadfa880d716353
TreeHugger Robot [Tue, 2 May 2017 02:11:48 +0000 (02:11 +0000)]
Merge "Add summary text to App permissions settings."
Amit Mahajan [Tue, 2 May 2017 02:07:38 +0000 (02:07 +0000)]
Merge "Change to not call update() if APN is not modified." into oc-dev
am:
7cab6a9a17
Change-Id: I7ae69ec7797f10e0d48a4ce7d1b3a80c18851911
TreeHugger Robot [Tue, 2 May 2017 02:02:58 +0000 (02:02 +0000)]
Merge "Framework for the anomaly detection."
TreeHugger Robot [Tue, 2 May 2017 01:59:37 +0000 (01:59 +0000)]
Merge "Change to not call update() if APN is not modified." into oc-dev
Jaekyun Seok [Tue, 2 May 2017 01:24:29 +0000 (01:24 +0000)]
Merge "Do not show static overlays as a theme" into oc-dev am:
170acdb79b
am:
4a6781af1b
Change-Id: I2f4b1f9ab7e7947bb5c95aae7d7400113e4c266b
Jaekyun Seok [Tue, 2 May 2017 01:15:01 +0000 (01:15 +0000)]
Merge "Do not show static overlays as a theme" into oc-dev
am:
170acdb79b
Change-Id: I7172c65c195baa356dc6f2dbe1d9793dca51b3fa
TreeHugger Robot [Tue, 2 May 2017 01:03:53 +0000 (01:03 +0000)]
Merge "Do not show static overlays as a theme" into oc-dev
Jesse Evans [Tue, 2 May 2017 00:36:34 +0000 (00:36 +0000)]
Merge "Hides app buttons for instant apps" into oc-dev am:
965508fc3e
am:
34e0c7afdf
Change-Id: I8b0624d28b43274465b9249552290fac950e9638
Doris Ling [Mon, 1 May 2017 18:43:40 +0000 (11:43 -0700)]
Add summary text to App permissions settings.
Check the granted permissions for the installed app and compose the
summary text to use the first 3 permissions granted from the list:
Location, Microphone, Camera, Sms, Contacts, and Phone.
Change-Id: I61d21f279af2fe86132de22b94e1a49da0225fcd
Fix:
36376411
Test: make RunSettingsRoboTests
Jesse Evans [Tue, 2 May 2017 00:34:02 +0000 (00:34 +0000)]
Merge "Hides app buttons for instant apps" into oc-dev
am:
965508fc3e
Change-Id: I6158a7d6f96ea144b16cda70fe1ed9fb989c5d8d
TreeHugger Robot [Tue, 2 May 2017 00:28:59 +0000 (00:28 +0000)]
Merge "Hides app buttons for instant apps" into oc-dev
Jaekyun Seok [Mon, 1 May 2017 23:22:59 +0000 (23:22 +0000)]
Merge "Generate license html file from xml files of partitions" am:
04a7e0a73a am:
f8aaf9ecdc am:
8b5389f707
am:
33d77b09a6
Change-Id: I54bc2a2c7d344e12a2a6cfd696263706b33aef8a
Jaekyun Seok [Mon, 1 May 2017 23:21:06 +0000 (23:21 +0000)]
Merge "Generate license html file from xml files of partitions" am:
04a7e0a73a am:
f8aaf9ecdc
am:
8b5389f707
Change-Id: Id42eb0a0ea330c5758e4a77a31158b7dd26256b5
Jaekyun Seok [Mon, 1 May 2017 23:17:29 +0000 (23:17 +0000)]
Merge "Generate license html file from xml files of partitions" am:
04a7e0a73a
am:
f8aaf9ecdc
Change-Id: I8acb705a77216d95c3994ea488eabd2a4b6fc00d
Jaekyun Seok [Mon, 1 May 2017 23:15:34 +0000 (23:15 +0000)]
Merge "Generate license html file from xml files of partitions"
am:
04a7e0a73a
Change-Id: I37430af516f99081e2bddcdd9eb4ae5d64a0c18d
Treehugger Robot [Mon, 1 May 2017 23:08:17 +0000 (23:08 +0000)]
Merge "Generate license html file from xml files of partitions"
jackqdyulei [Tue, 25 Apr 2017 18:30:06 +0000 (11:30 -0700)]
Framework for the anomaly detection.
This cl adds the following components for anomaly dection:
1. AnomalyLoader: run all the anomaly checks in the background
2. Anomaly: Data class to represent what anomaly it is
3. Detector: Different kinds of anomaly detector with common interface
4. Action: Suggestions when facing anomaly(Force stop, uninstall)
5. AnomalyDialogFragment: show the confirm dialog for action
6. AnomalyPreferenceController: handle update and click for
anomalyPreference, since it will be used in multiple fragments.
7. AnomalyUtils: utility class for anomaly
This cl also adds skeleton for the wakelock check and action. Following
cls will add real implementation about it.
Bug:
36924669
Test: RunSettingsRoboTests
Change-Id: I89fc4b6963757869b93791b4275ca53c04ab9604
Daniel Nishi [Fri, 28 Apr 2017 21:27:52 +0000 (14:27 -0700)]
Filter on volume for category storage view.
The other storage view used a compound filter with a UUID filter and the
normal filter. The category filters were omitting the compound UUID
filter. This adds it.
Test: Settings unit test
Change-Id: Ic0118abf58dabbf430a81e1fbcefb7acfdef472c
Fixes:
37780836
Andrew Sapperstein [Mon, 1 May 2017 22:37:28 +0000 (22:37 +0000)]
Merge "Add ability to switch between support versions"
TreeHugger Robot [Mon, 1 May 2017 22:15:02 +0000 (22:15 +0000)]
Merge "Cleanup to screensaver settings for O"
TreeHugger Robot [Mon, 1 May 2017 22:12:40 +0000 (22:12 +0000)]
Merge "Use preference supported attr to reserve icon space"
Jaekyun Seok [Tue, 18 Apr 2017 06:22:01 +0000 (15:22 +0900)]
Generate license html file from xml files of partitions
Treble-ization requires each partner to store their license information
into their own partition because each partition can be updated
individually.
So each partition will have its own NOTICE.xml.gz, and Settings should
be able to generate license html from xml files of partitions.
Test: building succeeded and tested on sailfish.
make ROBOTEST_FILTER=LicenseHtmlGeneratorFromXmlTest RunSettingsRoboTests
make ROBOTEST_FILTER=LicenseHtmlLoaderTest RunSettingsRoboTests
make ROBOTEST_FILTER=SettingsLicenseActivityTest RunSettingsRoboTests
Bug:
37099941
Merged-In: If797759d300ee20dd43ad8efd7d17b4f7e0c4537
Change-Id: If797759d300ee20dd43ad8efd7d17b4f7e0c4537
(cherry picked from commit
74812873f41adbd34ab3ff4fbd7dcbb8f6fde233)
Daniel Nishi [Mon, 1 May 2017 21:55:05 +0000 (21:55 +0000)]
Merge "Make the storage free/total sizes consistent." into oc-dev am:
b22c11ae28
am:
e25371e8bc
Change-Id: I267abe4239c3b6b15a5a9be003f68bcc026c1ea3
Badhri Jagan Sridharan [Mon, 1 May 2017 21:52:30 +0000 (21:52 +0000)]
Merge "Add help url for unsupported accessory"
Daniel Nishi [Mon, 1 May 2017 21:46:50 +0000 (21:46 +0000)]
Merge "Make the storage free/total sizes consistent." into oc-dev
am:
b22c11ae28
Change-Id: Ibee39375f0c714f5ff7578c24f78a387cd54bc44
Daniel Nishi [Mon, 1 May 2017 21:40:17 +0000 (21:40 +0000)]
Merge "Make the storage free/total sizes consistent." into oc-dev
Jaekyun Seok [Mon, 1 May 2017 21:29:32 +0000 (21:29 +0000)]
Merge "Generate license html file from xml files of partitions" into oc-dev am:
7f59081421
am:
d3d3310ee2
Change-Id: Iaf17beaa426e4bed55f83a8a825974586ffe7868
Jaekyun Seok [Mon, 1 May 2017 21:27:01 +0000 (21:27 +0000)]
Merge "Generate license html file from xml files of partitions" into oc-dev
am:
7f59081421
Change-Id: Ia027639c81093af0defff40f2e85ddb499093652
TreeHugger Robot [Mon, 1 May 2017 21:22:18 +0000 (21:22 +0000)]
Merge "Generate license html file from xml files of partitions" into oc-dev
Jaekyun Seok [Sat, 29 Apr 2017 00:36:46 +0000 (09:36 +0900)]
Do not show static overlays as a theme
Static overlays aren't changeable by a user. So we shouldn't list them
as a theme.
This CL fixed b/
36812704 as well to run unit tests.
Test: building succeeded and tested on sailfish.
make RunSettingsRoboTests
adb shell am instrument -w -e class \
com.android.settings.display.ThemePreferenceControllerTest \
com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner
Bug:
37480890
Bug:
36812704
Change-Id: I8c13b6956083095dceaab3da6642bef1647d6a30
Kevin Chyn [Mon, 1 May 2017 20:28:35 +0000 (13:28 -0700)]
Swipe for notification should be default-on in settings app
Fixes:
37672954
Test: adb shell settings delete secure system_navigation_keys_enabled
delete/toggle the setting above between null/0/1
Change-Id: Ia8f5665136ebae1fcc8f77d839a507ab9be7c1da
Daniel Sheng [Mon, 1 May 2017 20:15:15 +0000 (20:15 +0000)]
Merge "Fixed crash when opening Camera Lift suggestion"
Fan Zhang [Fri, 28 Apr 2017 19:23:30 +0000 (12:23 -0700)]
Tweak spacing for horizontal preferences.
- Add minHeight to horizontal preference so they are not clustered
together.
- Wrap app_data_usage's into different categories so they don't rely on
SpacePreference to draw space and dividers.
Change-Id: Ieed90a39d48494d1207680483968b5733bdfb344
Fix:
37750568
Test: visual
(cherry picked from commit
9c93c28b5a9e3d1ff78b7ee4febcb39a5f447aeb)
Evan Laird [Wed, 22 Mar 2017 15:36:18 +0000 (11:36 -0400)]
Cleanup to screensaver settings for O
Reworked the way screensaver settings are laid out for O. Instead of
using the options menu and dialogs to navigate screensaver options,
there are now two rows: one row for the screensaver choice and
optionally its own settings, and one row for the "when to show" setting.
And now there's a nice obvious button you can press to preview your
choices.
Test: 'export ROBOTEST_FILTER="RadioButtonListFragmentTest";\
mmm -j20 packages/apps/Settings/tests/robotests'
Bug:
35031991
Change-Id: Ie7d2055fb45f6dfe72e34cb9598d9a25f7bee75a
Fan Zhang [Mon, 1 May 2017 20:00:15 +0000 (13:00 -0700)]
Use preference supported attr to reserve icon space
Change-Id: I28c36f44e6db91fba9aaa5a260303c873a684a5f
Fix:
37572422
Test: runtest android.settings.functional.DisplaySettingsTest
TreeHugger Robot [Mon, 1 May 2017 19:48:46 +0000 (19:48 +0000)]
Merge "Revert "Use framework support to reserve icon space""
Jeff Sharkey [Mon, 1 May 2017 18:22:36 +0000 (18:22 +0000)]
Merge "Change String to CharSequence in #loadSummary." into oc-dev am:
ad597344a2
am:
e86e611f76
Change-Id: Id13f41ae6cb32d575193732136489bbac0702a3c
Jesse Evans [Mon, 1 May 2017 18:12:52 +0000 (11:12 -0700)]
Hides app buttons for instant apps
Hides the app buttons when the app is an instant app.
Added a todo to remove this functionality when instant apps
are properly supported by this controller.
Test: make RunSettingsRoboTests
Bug:
37313605
Change-Id: I3fca106a8e72c41b626e1182f5ba1089b90e8e2a
Fan Zhang [Mon, 1 May 2017 18:11:59 +0000 (18:11 +0000)]
Revert "Use framework support to reserve icon space"
This causes DropdownPreference to crash
Bug:
37850881
This reverts commit
19f5783b75567a4a69d80f0fca1baaacf81c12db.
Change-Id: Iaa2ceb1a031e8e0b62bc886d908534f3b53d3835
Jeff Sharkey [Mon, 1 May 2017 18:10:45 +0000 (18:10 +0000)]
Merge "Change String to CharSequence in #loadSummary." into oc-dev
am:
ad597344a2
Change-Id: Id636a6558f38673749255d01a30190fa762b7619
Daniel Sheng [Thu, 27 Apr 2017 23:01:58 +0000 (16:01 -0700)]
Fixed crash when opening Camera Lift suggestion
Bug:
37742959
Test: manual + make RunSettingsRoboTests +
adb shell am instrument -w com.android.settings.tests.unit
/android.support.test.runner.AndroidJUnitRunner
Added missing SettingsGateway entry for Camera Lift Trigger settings
fragment.
Change-Id: Iddce7a672b0bb8430e3c7b3c346788fb23970636
Badhri Jagan Sridharan [Wed, 19 Apr 2017 23:59:31 +0000 (16:59 -0700)]
Add help url for unsupported accessory
Bug:
36604276
Change-Id: I53f0b5e2fd3040f4440aa94e86fe8021239b90e7
Jeff Sharkey [Mon, 1 May 2017 17:52:22 +0000 (17:52 +0000)]
Merge "Change String to CharSequence in #loadSummary." into oc-dev
Meng Wang [Mon, 1 May 2017 17:34:32 +0000 (17:34 +0000)]
Merge "Fix typo"
Jesse Evans [Mon, 1 May 2017 17:09:22 +0000 (17:09 +0000)]
Make instant apps appear above disabled apps am:
b2d85af91e
am:
f52bfd03ea
Change-Id: I1b58da2932103f9879d3eb84c7b55aea2b208509