Commit Graph

59521 Commits

Author SHA1 Message Date
Fabian Kozynski
af88abb685 Merge "Fix Dark theme case" into qt-dev am: 5bfb9f3240
am: 5813622457

Change-Id: I6f868ef78b020ff6e3ffe425f0b5bd994409e18a
2019-06-24 12:58:46 -07:00
Fabian Kozynski
5813622457 Merge "Fix Dark theme case" into qt-dev
am: 5bfb9f3240

Change-Id: I3970a16198bb1d023fdd62840e7078883d4726c5
2019-06-24 12:49:38 -07:00
Fabian Kozynski
5bfb9f3240 Merge "Fix Dark theme case" into qt-dev 2019-06-24 19:03:16 +00:00
Antony Sargent
45f0701380 Add a listener for subscription changes to SimDialogFragment
For some kinds of telephony changes that might happen while we're
already showing one of these dialogs, we already get sent a new intent
for the dialog which we internally convert into a refresh of the dialog
contents instead of stacking a new copy on top of the old one.

But it turns out there are some other cases where the telephony stack
doesn't send a new intent for the dialog but *does* send a change event
through the SubscriptionManager, and we want to respond to those as
well. This CL adds a listener for those events.

Fixes: 135276696
Test: make RunSettingsRoboTests
Change-Id: Ifb93ae95f45fda5831e112306dd9361ccaa5119c
(cherry picked from commit 6a1d7e60ac)
2019-06-24 16:58:40 +00:00
Fabian Kozynski
918bfa07ce Fix Dark theme case
Test: manual
Fixes: 135711083
Change-Id: I91941466b98bbb08d17897784d90a4f467b4de5f
2019-06-24 10:07:17 -04:00
Mill Chen
2e3d08e8d4 Clean up AccessibilitySettings
Since AccessibilitySettings has been converted to DashboardFragment, and
those preference controllers are moved to corresponding xml files which
will be loaded statically, so here we are removing those in-code
preference controllers as we no longer need them.

The following controllers will be removed:
ColorInversionPreferenceController
LockScreenRotationPreferenceController
FontSizePreferenceController
MagnificationPreferenceController

There are still some controllers used here. We will remove them soon
once they are all converted to static ones.

Bug: 135056871
Test: manual, robotests
Change-Id: I7897b984b2275e98f958ad65b576dd08aaab3f06
2019-06-24 15:00:09 +08:00
Kevin Chang
fd1f1c0f82 UI change in caption preferences in Settings
Move the switch after the caption preview and change the oreder of the
settings inside in caption preferences in Accessibility settings.

Bug: 130755332
Test: Visual
Change-Id: Icb4dabdef71be165a21d1bde474872ee0bb35bfa
2019-06-24 13:54:31 +08:00
Kevin Chang
1a01faa457 Merge "Add new reminder in "Magnify with shortcut" page" 2019-06-24 01:55:48 +00:00
android-build-team Robot
a3118e6caa Snap for 5681502 from e342579993 to qt-c2f2-release
Change-Id: I6d8f5225cb8211ae5883f7bf2b9ce17b69dc9051
2019-06-22 23:25:06 +00:00
android-build-team Robot
55af36ddd7 Snap for 5681502 from e342579993 to qt-qpr1-release
Change-Id: I1c983637d893358b74d286f34e96a04de3bd1dde
2019-06-22 23:23:11 +00:00
android-build-team Robot
26fd8a6a3b Snap for 5681426 from ab63fd3c25 to qt-release
Change-Id: I88f1916c31f749519688d7c94fee47a9d12c7df8
2019-06-22 23:17:03 +00:00
Yi Jiang
517af83473 Merge "Refresh camera permission status when it changed." into qt-r1-dev am: e342579993
am: 904d1f86d1

Change-Id: Ia2c9b5bcf0cf970ce9909e625a731b6a8921e4c7
2019-06-21 17:36:47 -07:00
Yi Jiang
e8cedc7a80 Merge "Refresh camera permission status when it changed." into qt-r1-dev
am: e342579993

Change-Id: I5ecf20062f59c100f984e81bbd26edf3340d64f3
2019-06-21 17:22:19 -07:00
Yi Jiang
904d1f86d1 Merge "Refresh camera permission status when it changed." into qt-r1-dev
am: e342579993

Change-Id: Ibc76948c0b46e4fc526265937eefe79a6bf78929
2019-06-21 17:20:06 -07:00
Yi Jiang
e342579993 Merge "Refresh camera permission status when it changed." into qt-r1-dev 2019-06-21 23:59:21 +00:00
Yi Jiang
d66878f8fe Refresh camera permission status when it changed.
Bug: 135497543
Test: Manually tested
Change-Id: I833e1658bc7888557635b764599c7a0baa226612
2019-06-21 15:07:50 -07:00
Julia Reynolds
034972c62f Merge "Remove dead code am: ab63fd3c25 am: 3370e6cfb9" into qt-r1-dev-plus-aosp
am: 4b60163810

Change-Id: If16e42a5cf44acd1f6dccbd1e54d9d1fafeba4a5
2019-06-21 10:50:17 -07:00
Julia Reynolds
050f5da680 Remove dead code am: ab63fd3c25 am: bf35e5cc55
am: 25d55fb821

Change-Id: I45b62580c01cf5a81443d7043f65755bb3986245
2019-06-21 10:45:47 -07:00
Android Build Merger (Role)
4b60163810 Merge "Remove dead code am: ab63fd3c25 am: 3370e6cfb9" into qt-r1-dev-plus-aosp 2019-06-21 17:23:43 +00:00
Julia Reynolds
b32b6f467f Remove dead code am: ab63fd3c25
am: 3370e6cfb9

Change-Id: Ib9be1065e5e6e4d0734df7819a7ac8354b8bdc73
2019-06-21 10:23:29 -07:00
Julia Reynolds
25d55fb821 Remove dead code am: ab63fd3c25
am: bf35e5cc55

Change-Id: Idae478e2764f731f3a7f60a0da6752ba5ec88968
2019-06-21 10:23:27 -07:00
Julia Reynolds
d070025f3d Remove dead code am: ab63fd3c25
am: bf35e5cc55

Change-Id: I26d668f809712749249ab0e8f8fda8566929e17b
2019-06-21 10:18:57 -07:00
Julia Reynolds
3370e6cfb9 Remove dead code
am: ab63fd3c25

Change-Id: Ie0ff97b0db868f4f5aff19c4d8da2a8fc2a5717d
2019-06-21 10:15:12 -07:00
Julia Reynolds
bf35e5cc55 Remove dead code
am: ab63fd3c25

Change-Id: I8d629b89f8b8145e8381301d888aeb8b050123c8
2019-06-21 10:15:12 -07:00
Fan Zhang
e973b09087 Merge changes Iacc80db5,I66dc0bfd
* changes:
  Load preference title from uri if available
  Clean up ShadowTheadUtils.
2019-06-21 16:46:35 +00:00
Julia Reynolds
ab63fd3c25 Remove dead code
Test: try to search 'gentle'
Fixes: 135640138
Change-Id: If03703e59f77206da08fc80e88bb986f821c18fe
2019-06-21 13:24:05 +00:00
TreeHugger Robot
e905ef38c8 Merge "Convert AccessibilitySettings into a DashboardFragment" 2019-06-21 12:23:40 +00:00
Mill Chen
e5ab0d68f2 Convert AccessibilitySettings into a DashboardFragment
Bug: 135056871
Test: manual, robotests
Change-Id: Iafc359fc3bba1adce46a28b18449af2e9abf8a29
2019-06-21 18:01:34 +08:00
Kevin Chang
c375bfde87 Add new reminder in "Magnify with shortcut" page
Add new reminder string in "Magnify with shortcut" page when
it's under gesture navigation mode.

Bug: 134645913
Test: Visual
Change-Id: Ibbaa162d4acf0fdeed8c98b2aa1d83953880e6a6
2019-06-21 06:30:54 +00:00
TreeHugger Robot
e5584cd39c Merge "Make the default value of flashlight availibility to true." 2019-06-21 05:23:30 +00:00
Yi-Ling Chuang
8235ed14a4 Make the default value of flashlight availibility to true.
We read from SettingsProvider to decide whether flashlight slice is
available. However, when switching to the second user, FLASHLIGHT_AVAILABLE
will be null. The default was 0 which causes the slice returning null,
so we have to set it to 1 when there is a physical flash unit to be
consistent with system ui.

Fixes: 134734608
Test: robotest
Change-Id: I981461b1b66e6e273e13a9cbcba96e3ccf0aec68
2019-06-21 10:46:44 +08:00
Ivan Podogov
9b32010876 Fix Settings crash when trying to show work policy info am: 242ff568d1 am: f256fbb742
am: a222fa1eb2

Change-Id: I4513b0f0f596592ebba166f412935aaa110cc9e8
2019-06-20 16:58:14 -07:00
Ivan Podogov
bbd5fd4efd Fix Settings crash when trying to show work policy info am: 242ff568d1 am: 9de5b04dea
am: f242905a58

Change-Id: Id829d6c72881c18695ce4b381fc35295014526c9
2019-06-20 16:17:40 -07:00
Ivan Podogov
a222fa1eb2 Fix Settings crash when trying to show work policy info am: 242ff568d1
am: f256fbb742

Change-Id: I1f81bc13e491581b9e75ab39fa35cc4ee0aefc5f
2019-06-20 16:16:48 -07:00
Ivan Podogov
e1f901369b Fix Settings crash when trying to show work policy info am: 242ff568d1
am: f256fbb742

Change-Id: I0933c1ded0eb34ff5a4581448cafe59762451f9d
2019-06-20 16:08:02 -07:00
Ivan Podogov
f242905a58 Fix Settings crash when trying to show work policy info am: 242ff568d1
am: 9de5b04dea

Change-Id: I5b3275f599364ede6ce1c69376bfa68a05c9c301
2019-06-20 16:06:47 -07:00
Edgar Wang
2f3b8d3fd2 Merge "Update System->Gesture icon" into qt-r1-dev am: dfb1b6821b
am: b8b1894451

Change-Id: I4db47a941b89505ff41fd8c865b52f70065ecf4d
2019-06-20 15:59:28 -07:00
Fan Zhang
823c4daece Load preference title from uri if available
For injected tiles, allow clients to provide dynamic title from
contentproviders similar to dynamic summary.

Fixes: 131837802
Test: robotests
Change-Id: Iacc80db5d003473cf59ede67d88441947a834888
2019-06-20 15:47:38 -07:00
Ivan Podogov
9de5b04dea Fix Settings crash when trying to show work policy info
am: 242ff568d1

Change-Id: I2a048e75934dda54d4b495908f07016e9c00b674
2019-06-20 15:34:39 -07:00
Ivan Podogov
f256fbb742 Fix Settings crash when trying to show work policy info
am: 242ff568d1

Change-Id: I5b003b9a94610b1ef7f2242c144ad0b360fcfc4a
2019-06-20 15:33:39 -07:00
Fan Zhang
d71835125a Clean up ShadowTheadUtils.
Individual tests don't need to specify it in their own @Config

Bug: 135698296
Test: robotests
Change-Id: I66dc0bfdaec9c6cac9b48f3e7906f71dfb3a6b28
2019-06-20 15:17:42 -07:00
Josh Imbriani
1f248705eb Making changes to TTS pitch and rate also apply to work profiles
Bug: 132722565
Test: manual - used Lookback in work profile after changing personal
pitch and rate

Change-Id: Iffadbbf3cfe336cdcfac181d211015bd76079449
2019-06-20 15:02:25 -07:00
Edgar Wang
b8b1894451 Merge "Update System->Gesture icon" into qt-r1-dev
am: dfb1b6821b

Change-Id: I78a53848a10eccd0d73962eeab264a532269f29b
2019-06-20 14:03:57 -07:00
Edgar Wang
935fb378be Merge "Update System->Gesture icon" into qt-r1-dev
am: dfb1b6821b

Change-Id: I326be2ebc35cd9e35080562bcffaaff2f7cbd2c8
2019-06-20 13:15:07 -07:00
Vishwath Mohan
14f1fc0eb6 Merge "Remove Smart Lock developer options" 2019-06-20 20:08:40 +00:00
TreeHugger Robot
dfb1b6821b Merge "Update System->Gesture icon" into qt-r1-dev 2019-06-20 17:43:08 +00:00
Raff Tsai
064aad4d48 Merge "Cannot switch between multiple TTS engines" into qt-dev am: 753215fff9 am: 72b48c91f8
am: c3b85a4abb

Change-Id: I795af173fe82f9f012965037dfe2d3c9297d1af0
2019-06-20 10:09:40 -07:00
Raff Tsai
6acafce104 Merge "Cannot switch between multiple TTS engines" into qt-dev am: 753215fff9 am: 2c01fb911c
am: 864af1ff82

Change-Id: I85b1193f088fa1120fe9921066d5bf9e4bd3e071
2019-06-20 10:09:04 -07:00
Ivan Podogov
242ff568d1 Fix Settings crash when trying to show work policy info
This fixes an exception in startActivity() call:

"android.util.AndroidRuntimeException: Calling startActivity() from outside of
an Activity  context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really
what you want?"

Bug: 132904820
Test: manual
Change-Id: I0c687ea76068778554b072b6cc8274352de6fa28
2019-06-20 16:28:47 +01:00
Raff Tsai
c3b85a4abb Merge "Cannot switch between multiple TTS engines" into qt-dev am: 753215fff9
am: 72b48c91f8

Change-Id: I3063ab7f3bd86bf6f73b86c8272f1040e1a616c3
2019-06-19 23:36:29 -07:00