OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoAdd recent apps in app & notification
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

7 years agoMerge "Always use GB as the unit in Storage Settings." into oc-dev am: 833927929e
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

7 years agoMerge "Don't overly hide the Files preference." into oc-dev am: 0c58fbd345
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

7 years agoMerge "Always use GB as the unit in Storage Settings." into oc-dev
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

7 years agoMerge "Don't overly hide the Files preference." into oc-dev
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

7 years agoMerge "Always use GB as the unit in Storage Settings." into oc-dev
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

7 years agoMerge "Don't overly hide the Files preference." 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

7 years agoMerge "Include com.android.settings CodeInspectorTest"
Maurice Lam [Wed, 3 May 2017 16:21:30 +0000 (16:21 +0000)]
Merge "Include com.android.settings CodeInspectorTest"

7 years agoInclude 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

7 years agoMerge "Hide subtitle for wifi and bluetooth" into oc-dev am: 4b50e58a1d
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

7 years agoMerge "Hide subtitle for wifi and bluetooth" into oc-dev
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

7 years agoMerge "Hide subtitle for wifi and bluetooth" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 02:18:52 +0000 (02:18 +0000)]
Merge "Hide subtitle for wifi and bluetooth" into oc-dev

7 years agoMerge "Add abnormal app page for battery settings"
Lei Yu [Wed, 3 May 2017 00:49:33 +0000 (00:49 +0000)]
Merge "Add abnormal app page for battery settings"

7 years agoMerge "Add wakelock anomaly detector"
Lei Yu [Wed, 3 May 2017 00:48:55 +0000 (00:48 +0000)]
Merge "Add wakelock anomaly detector"

7 years agoMerge "Camera Lift string tweaks"
Daniel Sheng [Tue, 2 May 2017 23:21:24 +0000 (23:21 +0000)]
Merge "Camera Lift string tweaks"

7 years agoAdd abnormal app page for battery settings
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

7 years agoDon't overly hide the Files preference.
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

7 years agoHide subtitle for wifi and bluetooth
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

7 years agoAdd wakelock anomaly detector
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

7 years agoMerge "Remove custom layout for expandpreference."
TreeHugger Robot [Tue, 2 May 2017 19:55:13 +0000 (19:55 +0000)]
Merge "Remove custom layout for expandpreference."

7 years agoMerge "Prevent empty non-Indexable keys from being added" into oc-dev am: d51b94b042
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

7 years agoMerge "Prevent empty non-Indexable keys from being added" into oc-dev
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

7 years agoMerge "Prevent empty non-Indexable keys from being added" into oc-dev
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

7 years agoMerge "Remove accessibility duplicates in settings search"
TreeHugger Robot [Tue, 2 May 2017 19:07:42 +0000 (19:07 +0000)]
Merge "Remove accessibility duplicates in settings search"

7 years agoRemove custom layout for expandpreference.
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

7 years agoMerge "Settings crash when receiving data state broadcast" am: 2ed42d009b am: c6e3467...
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

7 years agoMerge "Settings crash when receiving data state broadcast" am: 2ed42d009b am: c6e3467cc2
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

7 years agoMerge "Settings crash when receiving data state broadcast" am: 2ed42d009b
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

7 years agoMerge "Settings crash when receiving data state broadcast"
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

7 years agoPrevent empty non-Indexable keys from being added
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

7 years agoMerge "Settings crash when receiving data state broadcast"
Treehugger Robot [Tue, 2 May 2017 17:39:44 +0000 (17:39 +0000)]
Merge "Settings crash when receiving data state broadcast"

7 years agoRemove accessibility duplicates in settings search
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

7 years agoMerge "Revert "Swipe for notification should be default-on in settings app"" into...
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

7 years agoMerge "Revert "Swipe for notification should be default-on in settings app"" into...
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

7 years agoMerge "Revert "Swipe for notification should be default-on in settings app"" into...
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

7 years agoMerge "Filter on volume for category storage view." into oc-dev am: a41a190ac3
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

7 years agoMerge "Tweak spacing for horizontal preferences." into oc-dev am: b4937f4556
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

7 years agoMerge "Filter on volume for category storage view." into oc-dev
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

7 years agoMerge "Tweak spacing for horizontal preferences." into oc-dev
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

7 years agoMerge "Filter on volume for category storage view." into oc-dev
Daniel Nishi [Tue, 2 May 2017 17:03:36 +0000 (17:03 +0000)]
Merge "Filter on volume for category storage view." into oc-dev

7 years agoMerge "Tweak spacing for horizontal preferences." 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

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: 23550fdcd3 -s ours
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

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
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

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 15:46:54 +0000 (15:46 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 2 May 2017 15:10:57 +0000 (15:10 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoImport 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

7 years agoImport translations. DO NOT MERGE
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

7 years agoRevert "Swipe for notification should be default-on in settings app"
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

7 years agoMerge "Swipe for notification should be default-on in settings app" into oc-dev am...
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

7 years agoMerge "Swipe for notification should be default-on in settings app" into oc-dev
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

7 years agoMerge "Swipe for notification should be default-on in settings app" into oc-dev
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

7 years agoMerge "Update vpn icon from setting gear to vpn key." into oc-dev am: 74327fa4f0
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

7 years agoMerge "Update vpn icon from setting gear to vpn key." into oc-dev
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

7 years agoMerge "Update vpn icon from setting gear to vpn key." into oc-dev
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

7 years agoMerge "Change to not call update() if APN is not modified." into oc-dev am: 7cab6a9a17
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

7 years agoMerge "Add summary text to App permissions settings."
TreeHugger Robot [Tue, 2 May 2017 02:11:48 +0000 (02:11 +0000)]
Merge "Add summary text to App permissions settings."

7 years agoMerge "Change to not call update() if APN is not modified." into oc-dev
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

7 years agoMerge "Framework for the anomaly detection."
TreeHugger Robot [Tue, 2 May 2017 02:02:58 +0000 (02:02 +0000)]
Merge "Framework for the anomaly detection."

7 years agoMerge "Change to not call update() if APN is not modified." into oc-dev
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

7 years agoMerge "Do not show static overlays as a theme" into oc-dev am: 170acdb79b
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

7 years agoMerge "Do not show static overlays as a theme" into oc-dev
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

7 years agoMerge "Do not show static overlays as a theme" into oc-dev
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

7 years agoMerge "Hides app buttons for instant apps" into oc-dev am: 965508fc3e
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

7 years agoAdd summary text to App permissions settings.
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

7 years agoMerge "Hides app buttons for instant apps" into oc-dev
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

7 years agoMerge "Hides app buttons for instant apps" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 00:28:59 +0000 (00:28 +0000)]
Merge "Hides app buttons for instant apps" into oc-dev

7 years agoMerge "Generate license html file from xml files of partitions" am: 04a7e0a73a am...
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

7 years agoMerge "Generate license html file from xml files of partitions" am: 04a7e0a73a am...
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

7 years agoMerge "Generate license html file from xml files of partitions" am: 04a7e0a73a
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

7 years agoMerge "Generate license html file from xml files of partitions"
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

7 years agoMerge "Generate license html file from xml files of partitions"
Treehugger Robot [Mon, 1 May 2017 23:08:17 +0000 (23:08 +0000)]
Merge "Generate license html file from xml files of partitions"

7 years agoFramework for the anomaly detection.
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

7 years agoFilter on volume for category storage view.
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

7 years agoMerge "Add ability to switch between support versions"
Andrew Sapperstein [Mon, 1 May 2017 22:37:28 +0000 (22:37 +0000)]
Merge "Add ability to switch between support versions"

7 years agoMerge "Cleanup to screensaver settings for O"
TreeHugger Robot [Mon, 1 May 2017 22:15:02 +0000 (22:15 +0000)]
Merge "Cleanup to screensaver settings for O"

7 years agoMerge "Use preference supported attr to reserve icon space"
TreeHugger Robot [Mon, 1 May 2017 22:12:40 +0000 (22:12 +0000)]
Merge "Use preference supported attr to reserve icon space"

7 years agoGenerate license html file from xml files of partitions
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)

7 years agoMerge "Make the storage free/total sizes consistent." into oc-dev am: b22c11ae28
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

7 years agoMerge "Add help url for unsupported accessory"
Badhri Jagan Sridharan [Mon, 1 May 2017 21:52:30 +0000 (21:52 +0000)]
Merge "Add help url for unsupported accessory"

7 years agoMerge "Make the storage free/total sizes consistent." into oc-dev
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

7 years agoMerge "Make the storage free/total sizes consistent." into oc-dev
Daniel Nishi [Mon, 1 May 2017 21:40:17 +0000 (21:40 +0000)]
Merge "Make the storage free/total sizes consistent." into oc-dev

7 years agoMerge "Generate license html file from xml files of partitions" into oc-dev am: 7f590...
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

7 years agoMerge "Generate license html file from xml files of partitions" into oc-dev
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

7 years agoMerge "Generate license html file from xml files of partitions" into oc-dev
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

7 years agoDo not show static overlays as a theme
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

7 years agoSwipe for notification should be default-on in settings app
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

7 years agoMerge "Fixed crash when opening Camera Lift suggestion"
Daniel Sheng [Mon, 1 May 2017 20:15:15 +0000 (20:15 +0000)]
Merge "Fixed crash when opening Camera Lift suggestion"

7 years agoTweak spacing for horizontal preferences.
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)

7 years agoCleanup to screensaver settings for O
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

7 years agoUse preference supported attr to reserve icon space
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

7 years agoMerge "Revert "Use framework support to reserve icon space""
TreeHugger Robot [Mon, 1 May 2017 19:48:46 +0000 (19:48 +0000)]
Merge "Revert "Use framework support to reserve icon space""

7 years agoMerge "Change String to CharSequence in #loadSummary." into oc-dev am: ad597344a2
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

7 years agoHides app buttons for instant apps
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

7 years agoRevert "Use framework support to reserve icon space"
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

7 years agoMerge "Change String to CharSequence in #loadSummary." into oc-dev
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

7 years agoFixed crash when opening Camera Lift suggestion
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

7 years agoAdd help url for unsupported accessory
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

7 years agoMerge "Change String to CharSequence in #loadSummary." into oc-dev
Jeff Sharkey [Mon, 1 May 2017 17:52:22 +0000 (17:52 +0000)]
Merge "Change String to CharSequence in #loadSummary." into oc-dev

7 years agoMerge "Fix typo"
Meng Wang [Mon, 1 May 2017 17:34:32 +0000 (17:34 +0000)]
Merge "Fix typo"

7 years agoMake instant apps appear above disabled apps am: b2d85af91e
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