Commit Graph

54699 Commits

Author SHA1 Message Date
Mehdi Alizadeh
32d16291de Merge "Adds metrics categories for gesture navigation dialogs" into qt-dev 2019-06-25 00:09:06 +00:00
Hai Zhang
0f5448540d Merge "Revert "Add special apps access settings page for financial app."" into qt-dev am: b39810f5ab am: 636920da48
am: 3df0b5072c

Change-Id: I381dec6d64ebabcf97aa26ce2c4243ac71c95b75
2019-06-24 14:39:04 -07:00
Hai Zhang
089d734f35 Merge "Revert "Add special apps access settings page for financial app."" into qt-dev am: b39810f5ab am: 5f8c446f47
am: 3603e24840

Change-Id: I60a1cfb995b5511a9aeea19c851beec778472702
2019-06-24 14:37:31 -07:00
Hai Zhang
3df0b5072c Merge "Revert "Add special apps access settings page for financial app."" into qt-dev am: b39810f5ab
am: 636920da48

Change-Id: I8b5b41f3bd0c22d40c6670701fb4930bea7dd131
2019-06-24 14:33:48 -07:00
Hai Zhang
3603e24840 Merge "Revert "Add special apps access settings page for financial app."" into qt-dev am: b39810f5ab
am: 5f8c446f47

Change-Id: I4697c719c9274bd9a0ba5d4c8edf9e9a77454b7b
2019-06-24 14:32:28 -07:00
Hai Zhang
636920da48 Merge "Revert "Add special apps access settings page for financial app."" into qt-dev
am: b39810f5ab

Change-Id: Ia72e4fb5d1a7c930657ca26f15c58cd39220fe5e
2019-06-24 14:28:54 -07:00
Hai Zhang
5f8c446f47 Merge "Revert "Add special apps access settings page for financial app."" into qt-dev
am: b39810f5ab

Change-Id: I8ab0452cd656d25afe164dec49553512decfdcec
2019-06-24 14:28:54 -07:00
TreeHugger Robot
b39810f5ab Merge "Revert "Add special apps access settings page for financial app."" into qt-dev 2019-06-24 21:19:17 +00:00
Hai Zhang
71f2614736 Revert "Add special apps access settings page for financial app."
This reverts commit 43374eabb8.

Reason for revert: No longer needed because we are using whitelist for
SMS permission

Fixes: 135213238
Test: presubmit
Change-Id: I182be4a1136521f325866e70e875439c17816ef2
2019-06-24 21:11:36 +00:00
Mehdi Alizadeh
0c7fd9e406 Adds metrics categories for gesture navigation dialogs
Bug: 135211145
Test: Builds
Change-Id: I9231778072bb222142fca09275cd84b87a263fa6
2019-06-24 20:29:41 +00:00
Fabian Kozynski
ef959a4cbd Merge "Fix Dark theme case" into qt-dev am: 5bfb9f3240 am: 6993ee0333
am: a2a88437b3

Change-Id: I07cceac9c055c75c448c32a4de71ad915798c22a
2019-06-24 13:28:28 -07:00
Fabian Kozynski
a2a88437b3 Merge "Fix Dark theme case" into qt-dev am: 5bfb9f3240
am: 6993ee0333

Change-Id: I17975ae334d49e6ab5c3555934e85b4337f505d8
2019-06-24 13:11:45 -07:00
Fabian Kozynski
6364288163 Merge "Fix Dark theme case" into qt-dev am: 5bfb9f3240 am: 5813622457
am: af88abb685

Change-Id: I925217030bdea6260993cc365b043fbb45e47340
2019-06-24 13:09:38 -07:00
Fabian Kozynski
6993ee0333 Merge "Fix Dark theme case" into qt-dev
am: 5bfb9f3240

Change-Id: I1c6a4a3c9c0c8e4daab6b33152e8bd2b3631072a
2019-06-24 13:01:23 -07:00
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
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
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
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
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