Felipe Leme
e78e851fff
Refactored ConfirmationDialogFragment to use default construcutor.
...
Test: manual verification
Test: make RunSettingsRoboTests -j90
Fixes: 38397850
Change-Id: Ie724e7e92a6a34d4db16e4406bf821f00d98d180
2017-05-23 09:36:34 -07:00
Geoffrey Pitsch
984dad4ac6
Merge "Developer setting to enable notification channel warnings" into oc-dev
...
am: 77bb0aaf96
Change-Id: I571de55e0b3d090ec2442e2019b2a460b0185283
2017-05-23 15:24:09 +00:00
TreeHugger Robot
77bb0aaf96
Merge "Developer setting to enable notification channel warnings" into oc-dev
2017-05-23 15:18:13 +00:00
Tony Mak
764e52c8cf
Show app battery usage in correct user
...
Test: m -j RunSettingsRoboTests
Change-Id: I6c0f74b79468ee670f642edb0a50400c030d1925
Merged-In: I6c0f74b79468ee670f642edb0a50400c030d1925
Fix: 38447829
2017-05-23 12:24:04 +00:00
Lei Yu
996adfeb29
Merge "Use BatteryStatsLoader in InstalledAppDetails" into oc-dev
...
am: 37f6b7f751
Change-Id: I5b5edc8b88a16c83a77ca584d21279892ebb08bf
2017-05-23 06:21:32 +00:00
Lei Yu
37f6b7f751
Merge "Use BatteryStatsLoader in InstalledAppDetails" into oc-dev
2017-05-23 06:16:44 +00:00
Lei Yu
603fba8afe
Merge "Revert "Add animation for battery asyncLoader."" into oc-dev
...
am: 161571617b
Change-Id: I7022cedf1252c5b8b02c6336611c9158ed98dc6c
2017-05-23 01:56:48 +00:00
TreeHugger Robot
161571617b
Merge "Revert "Add animation for battery asyncLoader."" into oc-dev
2017-05-23 01:49:23 +00:00
jackqdyulei
013d3f6342
Use BatteryStatsLoader in InstalledAppDetails
...
InstalledAppDetails uses AsyncTask to update foreground mBatteryStatsHelper
in background thread, which is dangerous. This cl make
InstalledAppDetails use BatteryStatsLoader to update batteryStatsHelper
and only assign it once in UI thread.
Bug: 38497555
Test: RunSettingsRoboTests
Change-Id: I3078b60a2dae36995ae5f925b4d49e36e79bddfd
2017-05-22 17:39:19 -07:00
Lei Yu
78684dc049
Revert "Add animation for battery asyncLoader."
...
This reverts commit a3c528f64d
.
Test: Build
Change-Id: Ib50221873e39dee40c5cf8e4b41dcf7aa13f6134
Merged-In: Ib50221873e39dee40c5cf8e4b41dcf7aa13f6134
2017-05-22 16:49:55 -07:00
Kevin Chyn
35fb3302d7
Merge "Queue events if enrollment sidecar listener is null" into oc-dev
...
am: 32ad1c0db4
Change-Id: I3fecd41dac6e4fb3b576a18bf46f1d9a25c1b9ca
2017-05-22 22:52:33 +00:00
TreeHugger Robot
32ad1c0db4
Merge "Queue events if enrollment sidecar listener is null" into oc-dev
2017-05-22 22:40:42 +00:00
Kevin Chyn
a1b3ec5963
Queue events if enrollment sidecar listener is null
...
Fixes: 38102355
Test: manual
Change-Id: I98bd347ee98117f7489376abd94d276d20e7b762
2017-05-22 12:10:03 -07:00
Geoffrey Pitsch
e18fd90524
Developer setting to enable notification channel warnings
...
Defaults to enabled for debuggable builds
Fixes: 37945054
Fixes: 38380608
Test: manual
Change-Id: I5d2101feffa7cf4433264eefc82b1b80f294d9f0
2017-05-22 11:29:18 -04:00
Hemant Gupta
7eb5647656
Merge "Settings: Convert notifications to use NotificationChannel (2/2)" into oc-dev
...
am: 860b608e41
Change-Id: If246a2f7d340b1d21c805322fa10f0c2fed8115c
2017-05-20 01:37:14 +00:00
TreeHugger Robot
860b608e41
Merge "Settings: Convert notifications to use NotificationChannel (2/2)" into oc-dev
2017-05-20 01:33:37 +00:00
Kevin Chyn
2ca8635a5e
Merge "Fix settings crash due to enrolling error" into oc-dev
...
am: 5ccc2fe242
Change-Id: I08fb0fd4826135f4b469e6516d2cea25cba0a679
2017-05-20 00:00:01 +00:00
TreeHugger Robot
5ccc2fe242
Merge "Fix settings crash due to enrolling error" into oc-dev
2017-05-19 23:56:12 +00:00
Hemant Gupta
7bec5bf895
Settings: Convert notifications to use NotificationChannel (2/2)
...
Test Setup:
===========
HW DUT: Pixel O
Remote: MecApp (PBAP Client, MAP Client, SAP Client)
Steps:
=====
1. Enable BT on DUT and bond with Remote.
2. Connect from MecApp for PBAP, MAP, SAP and observe if
connection goes through fine.
Reproducibility:
===============
5/5
Observation:
============
MAP, PBAP and SAP cannot be connected.
Root cause:
In Android O, notifications are hidden by default.
This must be changed to use notification channels so that the
priority of the notifications can be updated.
Test: PBAP/MAP/SAP connection works fine with MecApp.
Bug: 38331825
Change-Id: I51de0ea303037bf88773352d99f092673acda2e3
(cherry picked from commit bd9f532013f0397879101f68f21ac8841fec344b)
2017-05-19 23:33:29 +00:00
Kevin Chyn
468a72aed3
Fix settings crash due to enrolling error
...
Test: There's a condition where FP enrollment fails and a fragment
transaction/commit occurs after onSaveInstanceState. We should be
using commitAllowingStateLoss() instead of commit()
I'm not able to repro this issue but from looking at the stack
trace this should fix the problem.
Fixes: 38432354
Change-Id: I56b9c8d2efc45e9d77f29b897280f5378c3a84a0
2017-05-19 13:04:08 -07:00
Adam Bookatz
069e8ab3cd
Merge "Add aggregated partial wakelock time per uid" into oc-dev
...
am: 11e7781b32
Change-Id: I17641683c8d6ec278070ebbafaefce35008248f0
2017-05-19 18:32:31 +00:00
Adam Bookatz
11e7781b32
Merge "Add aggregated partial wakelock time per uid" into oc-dev
2017-05-19 18:24:45 +00:00
Lorenzo Colitti
c2bd388bb9
Merge "Raneme the wifi detail "Sign into network" button to "Sign in"." into oc-dev
...
am: 7d045387e0
Change-Id: Ie329358b56b34a94bbf12d32b9829247e6a6bf3d
2017-05-19 03:10:14 +00:00
TreeHugger Robot
7d045387e0
Merge "Raneme the wifi detail "Sign into network" button to "Sign in"." into oc-dev
2017-05-19 03:01:29 +00:00
Matthew Fritze
5569e3a33f
Merge "Remove Language and Input duplicates" into oc-dev
...
am: 6f4a6a737d
Change-Id: Id6639a9dc08c1a27cf1bc4ed7969cc54a4bd2df2
2017-05-19 00:49:41 +00:00
TreeHugger Robot
6f4a6a737d
Merge "Remove Language and Input duplicates" into oc-dev
2017-05-19 00:41:04 +00:00
Daniel Nishi
af1a66202f
Merge "Make Storage settings title be "Storage"." into oc-dev
...
am: c7299663e7
Change-Id: I2873188fb073261695d79719c99617a355f17acc
2017-05-18 22:07:24 +00:00
Daniel Nishi
c7299663e7
Merge "Make Storage settings title be "Storage"." into oc-dev
2017-05-18 21:57:22 +00:00
Fan Zhang
a3202a9a36
Merge "Log preference change as count (in addition to action)" into oc-dev
...
am: 13bcf501dd
Change-Id: I9a7e0fa439344a44ddde299795d83d00dd83306d
2017-05-18 20:34:47 +00:00
TreeHugger Robot
13bcf501dd
Merge "Log preference change as count (in addition to action)" into oc-dev
2017-05-18 20:29:12 +00:00
Bill Yi
d172f720d9
Merge "Import translations. DO NOT MERGE" into oc-dev
...
am: 6253e0710b
-s ours
Change-Id: I2ba0f963274890e9c2c8ce5c9347b74ab3a9cce2
2017-05-18 20:13:46 +00:00
TreeHugger Robot
6253e0710b
Merge "Import translations. DO NOT MERGE" into oc-dev
2017-05-18 20:05:21 +00:00
jackqdyulei
972763ee50
Merge "Show wifi and bluetooth item in battery settings" into oc-dev
...
am: 21d2403c67
Change-Id: I7ee542befa8e5287dbd73be242ec812a1a5d0c19
2017-05-18 19:26:20 +00:00
jackqdyulei
3ab2ca5cc9
Merge "Add screen usage string for battery settings" into oc-dev
...
am: 28cf04d994
Change-Id: Ie60e5de8164bfc16fa29ca16b63caa08812db52f
2017-05-18 19:25:57 +00:00
TreeHugger Robot
21d2403c67
Merge "Show wifi and bluetooth item in battery settings" into oc-dev
2017-05-18 19:13:35 +00:00
TreeHugger Robot
28cf04d994
Merge "Add screen usage string for battery settings" into oc-dev
2017-05-18 19:10:16 +00:00
Daniel Nishi
12dbce00c1
Fix storage summary background colors.
...
This changes the donut background color to a lighter blue and changes
the overall background to be a grey. Both of these colors match the
Battery implementation.
Bug: 35245772
Test: Manual
Change-Id: I8e12afe4434a0e2428384fc496cab5c05dc998ee
2017-05-18 11:36:10 -07:00
Daniel Nishi
0d03b88e91
Make Storage settings title be "Storage".
...
This more closely reflects the idea that the top level setting title
should match the actual screen title.
Change-Id: Ie7ab1756d799c182cad74041995768037bba710f
Fixes: 37923462
Test: Manual
2017-05-18 11:02:10 -07:00
Matthew Fritze
b97a1bffa8
Remove Language and Input duplicates
...
Change the keys in the Language and Input screen for the
gesture and tts-output settings so they can be disabled
in search. Then change the preference controllers to take
a key as input to avoid crashes on the other screens with
these settings.
Test: make RunSettingsRoboTests
Bug: 33701673
Change-Id: Ifeb2a2d34a3efded3f0a9ba02ac76fd6f8ffd087
Merged-In: I8bc0776131fcac5a6edf7e8271bc53252c2fc719
2017-05-18 17:36:59 +00:00
Matthew Fritze
145c364479
Merge "Update no search results icon and move image to top of page" into oc-dev
...
am: fc4db3bd80
Change-Id: I6f387cf748a9e916e4ffd3312016b0a82e126ee2
2017-05-18 17:18:30 +00:00
TreeHugger Robot
fc4db3bd80
Merge "Update no search results icon and move image to top of page" into oc-dev
2017-05-18 17:11:29 +00:00
Lei Yu
d85bdebe0e
Merge changes I573e4fb9,I8e7baadc into oc-dev
...
am: 67e38774ce
Change-Id: Id3a830eb46004a3febdb9c4bf96a39b8c4afaedd
2017-05-18 17:08:33 +00:00
Lei Yu
67e38774ce
Merge changes I573e4fb9,I8e7baadc into oc-dev
...
* changes:
Drop the misc and not smear it.
Smear screen power usage based on activity time.
2017-05-18 17:00:27 +00:00
Lorenzo Colitti
89b4ff5c1e
Raneme the wifi detail "Sign into network" button to "Sign in".
...
Bug: 36656914
Test: button looks reasonable in English, Italian, Japanese, Dutch
Change-Id: Icaba16a4ef1ddfc03fc45fd1d1c64bcca9913d7c
2017-05-19 00:13:18 +09:00
Bill Yi
63c87dabb6
Import translations. DO NOT MERGE
...
Change-Id: I79790dae43f96a35c56970f27acb47ba689f731e
Auto-generated-cl: translation import
2017-05-17 22:58:00 -07:00
jackqdyulei
7d7080ab64
Drop the misc and not smear it.
...
Bug: 38347725
Test: RunSettingsRoboTests
Change-Id: I573e4fb945bc212505c9211d9b92f77a6a9a2739
2017-05-17 18:12:03 -07:00
Fan Zhang
60d26cfffa
Merge "Fix bug where accounts are duplicated in user&account list." into oc-dev
...
am: 2b030aeb65
Change-Id: I4c13fb0ce652108fdabbaa8ca215a5799374c8f8
2017-05-18 01:11:00 +00:00
jackqdyulei
2b923ce44f
Smear screen power usage based on activity time.
...
Bug: 38328636
Test: RunSettingsRoboTests
Change-Id: I8e7baadcd88a8e9d674f5bc8d8e42e0f3953c98a
2017-05-17 18:06:47 -07:00
Fan Zhang
2b030aeb65
Merge "Fix bug where accounts are duplicated in user&account list." into oc-dev
2017-05-18 01:05:39 +00:00
Fan Zhang
3970916cf1
Merge "Fix robolectric test failure" into oc-dev
...
am: 2545bcaa74
Change-Id: I632edffaced0b4ce7d391d525c4d9288e5ba97cc
2017-05-18 01:01:12 +00:00