OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "UE showed wrong title and message when enabling data roaming." into qt-dev
Andy Chou [Thu, 6 Jun 2019 00:35:16 +0000 (00:35 +0000)]
Merge "UE showed wrong title and message when enabling data roaming." into qt-dev

5 years agoMerge "Strings for pSIM on/off toggle removal" into qt-dev
Antony Sargent [Thu, 6 Jun 2019 00:19:16 +0000 (00:19 +0000)]
Merge "Strings for pSIM on/off toggle removal" into qt-dev

5 years agoMerge "Read the subtext of notif importance field on selection" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 21:37:17 +0000 (21:37 +0000)]
Merge "Read the subtext of notif importance field on selection" into qt-dev

5 years agoStrings for pSIM on/off toggle removal
Antony Sargent [Wed, 5 Jun 2019 21:16:48 +0000 (14:16 -0700)]
Strings for pSIM on/off toggle removal

We need to remove the on/off toggle for pSIMs because of unexpected
problems in the telephony stack with being able to disable a pSIM. These
new strings are used in the updated UX we're adding to deal with this.

Bug: 132921553
Test: n/a
Change-Id: I60816289e0ef65bbf882a8dca6f08c46742bb1c9

5 years agoKill uid when REQUEST_INSTALL_PACKAGES is denied
Suprabh Shukla [Fri, 31 May 2019 20:45:59 +0000 (13:45 -0700)]
Kill uid when REQUEST_INSTALL_PACKAGES is denied

Process privileges like open fds need to be revoked, when this
permission is denied by the user.

Test: Manually verified by checking logs.
Robotest:
atest SettingsRoboTests:ExternalSourcesDetailsTest

Bug: 133504844
Change-Id: I81da0b3a5d6c54e392828829d1a2c43488439504

5 years agoRead the subtext of notif importance field on selection
Julia Reynolds [Wed, 5 Jun 2019 18:07:50 +0000 (14:07 -0400)]
Read the subtext of notif importance field on selection

When using a11y services

Test: manual with Talkback
Bug: 133649570
Change-Id: Ic68a948ab5d55e68994e6b14456d25d438637886

5 years agoMerge "Triggering notifications when dual CDMA SIM combinations are detected" into...
Xiangyu/Malcolm Chen [Wed, 5 Jun 2019 18:03:17 +0000 (18:03 +0000)]
Merge "Triggering notifications when dual CDMA SIM combinations are detected" into qt-dev

5 years ago[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev...
Raff Tsai [Wed, 5 Jun 2019 09:30:17 +0000 (02:30 -0700)]
[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev am: 09e255676b -s ours am: 14302b3ac6 -s ours am: 3e1ae79428 -s ours
am: 64d4433a90 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 5d9328571e is in history

Change-Id: I0588eac0a4abcb1003b09e5fab92894a8ddfc8f9

5 years ago[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev...
Raff Tsai [Wed, 5 Jun 2019 09:29:51 +0000 (02:29 -0700)]
[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev am: 8c612b1334 -s ours am: 80fea5de92 -s ours am: 5a326027db -s ours
am: ba0122401d -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 5d9328571e is in history

Change-Id: Ib7ded3d2c08e14e39922ad0f1dd1fb2dd3e27ab9

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Raff Tsai [Wed, 5 Jun 2019 09:29:05 +0000 (02:29 -0700)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 50ec2c218e skipped: ed126b5d96 skipped: 0b52ca4693 am: 65294e6ee5 -s ours am: c808f15cbe -s ours am: 0b36c5e9ba -s ours
am: e7c298885b -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 c968eacbbf is in history

Change-Id: I4a6b3d7b7aaf30bf3abddf9b276e666462a9d831

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Raff Tsai [Wed, 5 Jun 2019 09:28:55 +0000 (02:28 -0700)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e skipped: e537ffece8 skipped: 8f70c24f2d skipped: 188904e631 skipped: ceb1ed0a09 am: bfe5b37bc8 -s ours am: 530fa8b25b -s ours am: 20b5a01f6c -s ours
am: 2d387349db -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 c968eacbbf is in history

Change-Id: I27f9a530b3814c723726e43e8902651da3bfa937

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Raff Tsai [Wed, 5 Jun 2019 09:28:42 +0000 (02:28 -0700)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 04208f16b0 am: 6dbb3108a7 -s ours am: 59348982d3 -s ours am: d20d75c39b -s ours
am: 971190b08a -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 c968eacbbf is in history

Change-Id: Ic3814c5b17fe748c35e11034d75549104e7de429

5 years ago[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev...
Raff Tsai [Wed, 5 Jun 2019 09:25:23 +0000 (02:25 -0700)]
[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev am: 09e255676b -s ours am: 14302b3ac6 -s ours
am: 3e1ae79428 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 5d9328571e is in history

Change-Id: Ia0dc8b4e6b5795fb03c30867d77460389bb49155

5 years ago[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev...
Raff Tsai [Wed, 5 Jun 2019 09:24:54 +0000 (02:24 -0700)]
[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev am: 8c612b1334 -s ours am: 80fea5de92 -s ours
am: 5a326027db -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 5d9328571e is in history

Change-Id: I923b0a55fd8458fa30295fa1f9ca7a31f13d2734

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Raff Tsai [Wed, 5 Jun 2019 09:22:55 +0000 (02:22 -0700)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 50ec2c218e skipped: ed126b5d96 skipped: 0b52ca4693 am: 65294e6ee5 -s ours am: c808f15cbe -s ours
am: 0b36c5e9ba -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 c968eacbbf is in history

Change-Id: Id32040250480a5ad2e957eaeb4eea5b4dcc6633b

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Raff Tsai [Wed, 5 Jun 2019 09:22:46 +0000 (02:22 -0700)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e skipped: e537ffece8 skipped: 8f70c24f2d skipped: 188904e631 skipped: ceb1ed0a09 am: bfe5b37bc8 -s ours am: 530fa8b25b -s ours
am: 20b5a01f6c -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 c968eacbbf is in history

Change-Id: I656e7e0fac7c63c55f82bfc01183e69adfe2164b

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Raff Tsai [Wed, 5 Jun 2019 09:22:36 +0000 (02:22 -0700)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 04208f16b0 am: 6dbb3108a7 -s ours am: 59348982d3 -s ours
am: d20d75c39b -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 c968eacbbf is in history

Change-Id: If4596f7e943656ccb7bc06121fe77c5d6d76d627

5 years ago[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev...
Raff Tsai [Wed, 5 Jun 2019 09:19:30 +0000 (02:19 -0700)]
[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev am: 09e255676b -s ours
am: 14302b3ac6 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 5d9328571e is in history

Change-Id: Ic1ddb22a97d9058d5e40b8fddfb3f6f4ef40e150

5 years ago[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev...
Raff Tsai [Wed, 5 Jun 2019 09:19:03 +0000 (02:19 -0700)]
[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev am: 8c612b1334 -s ours
am: 80fea5de92 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 5d9328571e is in history

Change-Id: Ic06c39295c0b1e82701cf1747606afff1e27fd68

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Raff Tsai [Wed, 5 Jun 2019 09:17:52 +0000 (02:17 -0700)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 50ec2c218e skipped: ed126b5d96 skipped: 0b52ca4693 am: 65294e6ee5 -s ours
am: c808f15cbe -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 c968eacbbf is in history

Change-Id: Ia806284e60b86d6d942de73a98d8ef3b48cd6847

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Raff Tsai [Wed, 5 Jun 2019 09:17:44 +0000 (02:17 -0700)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e skipped: e537ffece8 skipped: 8f70c24f2d skipped: 188904e631 skipped: ceb1ed0a09 am: bfe5b37bc8 -s ours
am: 530fa8b25b -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 c968eacbbf is in history

Change-Id: Iaa5411ff17dddbda7b6584afff8f0a7527609c23

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Raff Tsai [Wed, 5 Jun 2019 09:17:35 +0000 (02:17 -0700)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 04208f16b0 am: 6dbb3108a7 -s ours
am: 59348982d3 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 c968eacbbf is in history

Change-Id: I50749ba4c4a8478acbd70a729fb6e4f1e722254d

5 years ago[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev
Raff Tsai [Wed, 5 Jun 2019 09:13:22 +0000 (02:13 -0700)]
[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev
am: 09e255676b -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 5d9328571e is in history

Change-Id: I9ffa1beaa1f10e45dfb29edd2ea1bfd7b4422407

5 years ago[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev
Raff Tsai [Wed, 5 Jun 2019 09:12:49 +0000 (02:12 -0700)]
[automerger skipped] Merge changes from topic "security_fix_settings" into oc-dev
am: 8c612b1334 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 5d9328571e is in history

Change-Id: I252ffcb3e7c5f1be519c9e809d6b43a296bcbe9d

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Raff Tsai [Wed, 5 Jun 2019 09:12:01 +0000 (02:12 -0700)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 50ec2c218e skipped: ed126b5d96 skipped: 0b52ca4693
am: 65294e6ee5 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 c968eacbbf is in history

Change-Id: I02047207e9ed30afb0afb003f0c93f2cfb59addd

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Raff Tsai [Wed, 5 Jun 2019 09:11:52 +0000 (02:11 -0700)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e skipped: e537ffece8 skipped: 8f70c24f2d skipped: 188904e631 skipped: ceb1ed0a09
am: bfe5b37bc8 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 c968eacbbf is in history

Change-Id: I68b5c6aebfd69660c51613b6a96ef0c354d800ae

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Raff Tsai [Wed, 5 Jun 2019 09:11:36 +0000 (02:11 -0700)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 04208f16b0
am: 6dbb3108a7 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 c968eacbbf is in history

Change-Id: I171e67f778cd8e8f67cb8d685ecfe09316619cf5

5 years agoMerge changes from topic "security_fix_settings" into oc-dev
TreeHugger Robot [Wed, 5 Jun 2019 09:02:31 +0000 (09:02 +0000)]
Merge changes from topic "security_fix_settings" into oc-dev

* changes:
  [automerger skipped] Do not allow draw on top for App notification settings skipped: 50ec2c218e skipped: ed126b5d96 skipped: 0b52ca4693
  [automerger skipped] Do not allow draw on top for App notification settings skipped: 50ec2c218e skipped: ed126b5d96
  [automerger skipped] Do not allow draw on top for App notification settings skipped: 50ec2c218e
  Do not allow draw on top for App notification settings

5 years agoMerge changes from topic "security_fix_settings" into oc-dev
TreeHugger Robot [Wed, 5 Jun 2019 09:02:31 +0000 (09:02 +0000)]
Merge changes from topic "security_fix_settings" into oc-dev

* changes:
  [automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e skipped: e537ffece8 skipped: 8f70c24f2d skipped: 188904e631 skipped: ceb1ed0a09
  [automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e skipped: e537ffece8 skipped: 8f70c24f2d skipped: 188904e631
  [automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e skipped: e537ffece8 skipped: 8f70c24f2d
  [automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e skipped: e537ffece8
  [automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e
  Do not allow draw on top for App notification settings

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Android Build Merger (Role) [Wed, 5 Jun 2019 02:50:10 +0000 (02:50 +0000)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 50ec2c218e skipped: ed126b5d96 skipped: 0b52ca4693

Change-Id: I45fe88086caf9220b67162863828d3bf0ea30d7f

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Android Build Merger (Role) [Wed, 5 Jun 2019 02:50:07 +0000 (02:50 +0000)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 50ec2c218e skipped: ed126b5d96

Change-Id: I6f8236a1de4c8edc766ae625fe0010924e4cfba3

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Android Build Merger (Role) [Wed, 5 Jun 2019 02:50:04 +0000 (02:50 +0000)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 50ec2c218e

Change-Id: I5ed98836a8659baedf50724ce1f65c76bcace5ef

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Android Build Merger (Role) [Wed, 5 Jun 2019 02:48:34 +0000 (02:48 +0000)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 04208f16b0

Change-Id: I0b4d8af9f5306150b58fb5cc8e10ba192458a458

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Android Build Merger (Role) [Wed, 5 Jun 2019 02:37:14 +0000 (02:37 +0000)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e skipped: e537ffece8 skipped: 8f70c24f2d skipped: 188904e631 skipped: ceb1ed0a09

Change-Id: I8f2da352d0658de16a2b4087067a57fa7cf40ad6

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Android Build Merger (Role) [Wed, 5 Jun 2019 02:37:12 +0000 (02:37 +0000)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e skipped: e537ffece8 skipped: 8f70c24f2d skipped: 188904e631

Change-Id: Ief79f2f50874bbfcd214b1ce3248b10532a24452

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Android Build Merger (Role) [Wed, 5 Jun 2019 02:37:11 +0000 (02:37 +0000)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e skipped: e537ffece8 skipped: 8f70c24f2d

Change-Id: I9f55b76cc7079a2eb682c2093f57ac0c58e524c9

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Android Build Merger (Role) [Wed, 5 Jun 2019 02:37:09 +0000 (02:37 +0000)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e skipped: e537ffece8

Change-Id: I1a5227631dbc4446af520c71e9d23b54bec5085f

5 years ago[automerger skipped] Do not allow draw on top for App notification settings skipped...
Android Build Merger (Role) [Wed, 5 Jun 2019 02:37:07 +0000 (02:37 +0000)]
[automerger skipped] Do not allow draw on top for App notification settings skipped: 5d9328571e

Change-Id: Id4e7e996a34a5520a3785e2e778e75b4ee02ed02

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 00:23:38 +0000 (00:23 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoTriggering notifications when dual CDMA SIM combinations are detected
Malcolm Chen [Fri, 31 May 2019 22:35:08 +0000 (15:35 -0700)]
Triggering notifications when dual CDMA SIM combinations are detected

In Settings, catch the intent from Telephony about SIM combination
warning and show a notification about it.

Bug: 132631355
Test: manual - have two cdma capable subscriptions active, make sure
the notification is sent, and tapping on it leads to the helper page.

Change-Id: Ifd0e13781e4afc3bfd82415b3e51fd10176d9f9d

5 years agoMove vibration preview invokation to the correct place
Alexey Kuzmin [Tue, 4 Jun 2019 14:59:32 +0000 (15:59 +0100)]
Move vibration preview invokation to the correct place

Bug: 133711461
Bug: 130332550
Test: Open Settings > Accessibility > Vibration. Switch between the
vibration settings several times. The preview should be played, and it
should be in line with the selected setting

Change-Id: I65fcd679c4c61afa4cce9cee652987d81572096c

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 4 Jun 2019 15:36:03 +0000 (08:36 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I11c95502fa223dc53994a1dde87cc2400106b815

5 years agoMerge "Cleanup background activity starts for release." into qt-dev
Alan Stokes [Tue, 4 Jun 2019 14:26:29 +0000 (14:26 +0000)]
Merge "Cleanup background activity starts for release." into qt-dev

5 years agoMerge "Update the string of both magnification settings and gesture navigation tutori...
Kevin Chang [Tue, 4 Jun 2019 01:29:21 +0000 (01:29 +0000)]
Merge "Update the string of both magnification settings and gesture navigation tutorial dialog" into qt-dev

5 years agoAdd a "data during calls" preference
Antony Sargent [Mon, 13 May 2019 23:44:13 +0000 (16:44 -0700)]
Add a "data during calls" preference

This adds a switch which appears on the SIM details page for any SIMs
that aren't the default on for data. It lets the user opt-in to turning
on data on this SIM only in the case where there is an active call -
this is needed because in some cases the default data SIM may not be
able to be used when a call is active on another SIM.

Bug: 132114205
Test: make RunSettingsRoboTests
Change-Id: Ie44c56e0f486fd93aff411a0ba0e47d3695a4941

5 years agoMerge "Use new API to build NetworkTemplate" into qt-dev
Lei Yu [Mon, 3 Jun 2019 16:54:29 +0000 (16:54 +0000)]
Merge "Use new API to build NetworkTemplate" into qt-dev

5 years agoUpdate the string of both magnification settings and gesture navigation tutorial...
Kevin Chang [Wed, 29 May 2019 10:21:28 +0000 (18:21 +0800)]
Update the string of both magnification settings and gesture navigation tutorial dialog

Referenced link for the details:
https://docs.google.com/document/d/1eB2wukextG5UFECTwde5zcmXXTQCvgnqJJjnd1Chu9Q
https://docs.google.com/document/d/14iwCag7FBD4e9bR03HjbC0D2s_u-Fpr3K8vl_XMjkD0

Bug: 133336814
Bug: 133650388
Test: Visual
Change-Id: I4893183b55f609bfee3d1dfe80aa02cce624e857

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 1 Jun 2019 18:17:35 +0000 (18:17 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 1 Jun 2019 17:06:36 +0000 (10:06 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I861f60fb68f5bb9d20d0c0e7c338144e70c077eb

5 years agoMerge "Disables the Gesture nav option if 3P launcher is default" into qt-dev
Mehdi Alizadeh [Fri, 31 May 2019 21:08:08 +0000 (21:08 +0000)]
Merge "Disables the Gesture nav option if 3P launcher is default" into qt-dev

5 years agoDisables the Gesture nav option if 3P launcher is default
Mehdi Alizadeh [Wed, 15 May 2019 18:01:25 +0000 (11:01 -0700)]
Disables the Gesture nav option if 3P launcher is default

Disables the Gesture navigation radio button if 3P launcher is set as
default for current user. Also shows an info icon on the right side that
opens a dialog explaining why it is disables.

Bug: 129532605
Test: Manual test with 3P launcher
Test: make RunSettingsRoboTests ROBOTEST_FILTER=RadioButtonPreferenceWithExtraWidgetTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationGestureSettingsTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationPreferenceControllerTest

Change-Id: I90000c74246699fa9391ac042c87d7f0ece03637

5 years agoDo not allow draw on top for App notification settings
Raff Tsai [Fri, 8 Mar 2019 08:19:30 +0000 (16:19 +0800)]
Do not allow draw on top for App notification settings

Fixes: 119115683
Test: manual
Change-Id: Ib7b878a23b4a99171c58b5de992fb87feca8a28a
Merged-In: Ib7b878a23b4a99171c58b5de992fb87feca8a28a
(cherry picked from commit fe86a2a51f0b8e01e5f595bd60edc594eef58aba)

5 years agoDo not allow draw on top for App notification settings
Raff Tsai [Fri, 8 Mar 2019 08:19:30 +0000 (16:19 +0800)]
Do not allow draw on top for App notification settings

Fixes: 119115683
Test: manual
Change-Id: Ib7b878a23b4a99171c58b5de992fb87feca8a28a
Merged-In: Ib7b878a23b4a99171c58b5de992fb87feca8a28a
(cherry picked from commit fe86a2a51f0b8e01e5f595bd60edc594eef58aba)

5 years agoMerge "Update notification settings animation" into qt-dev
Julia Reynolds [Fri, 31 May 2019 17:27:09 +0000 (17:27 +0000)]
Merge "Update notification settings animation" into qt-dev

5 years agoUse new API to build NetworkTemplate
Lei Yu [Tue, 28 May 2019 17:05:44 +0000 (10:05 -0700)]
Use new API to build NetworkTemplate

This CL is built to make CBRS show correct data usage, by merging
all subscriberId under same groupuuid.

Bug: 133865338
Test: RunSettingsRoboTests
Change-Id: I3c717d0f1a1b95aa21c2ccefe4d1cefb4d854cb5

5 years agoMerge "Fix issues in battery usage accounting" into qt-dev
Lei Yu [Fri, 31 May 2019 17:17:51 +0000 (17:17 +0000)]
Merge "Fix issues in battery usage accounting" into qt-dev

5 years agoMerge "Change switch text color to black in dark mode" into qt-dev
TreeHugger Robot [Fri, 31 May 2019 15:59:42 +0000 (15:59 +0000)]
Merge "Change switch text color to black in dark mode" into qt-dev

5 years agoMerge "Reorder notification settings" into qt-dev
TreeHugger Robot [Fri, 31 May 2019 13:24:17 +0000 (13:24 +0000)]
Merge "Reorder notification settings" into qt-dev

5 years agoUpdate notification settings animation
Julia Reynolds [Fri, 31 May 2019 13:18:42 +0000 (09:18 -0400)]
Update notification settings animation

Test: manual
Fixes: 133874971
Change-Id: I8dc399f9de578197322cadbb7cc2c5f75902461d

5 years agoMerge "Remove Permissions Hub." into qt-dev
TreeHugger Robot [Fri, 31 May 2019 13:02:12 +0000 (13:02 +0000)]
Merge "Remove Permissions Hub." into qt-dev

5 years agoUE showed wrong title and message when enabling data roaming.
zoey chen [Fri, 31 May 2019 03:02:25 +0000 (11:02 +0800)]
UE showed wrong title and message when enabling data roaming.

It set wrong string when building the roaming dialog.

BUG: 133731388
Test: Manual test
Change-Id: Ib46b2b2ba1d62f84da7cd82bbbc03fe4f3069afc

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 31 May 2019 00:30:42 +0000 (00:30 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 May 2019 22:17:06 +0000 (15:17 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I6da271a883e0a62cc5f32890c3411e64ef856fa7

5 years agoMerge "Increase char limit to 60 for string translation" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 22:04:47 +0000 (22:04 +0000)]
Merge "Increase char limit to 60 for string translation" into qt-dev

5 years agoChange switch text color to black in dark mode
Salvador Martinez [Thu, 30 May 2019 21:16:52 +0000 (14:16 -0700)]
Change switch text color to black in dark mode

It seems that the attribute values that are used to text color
in the switch bar are selectors which leads to problems because
they include an alpha value when the switch is "off". This would
cause the contrast between the text and the background to be too
low for GAR. This CL simply makes it so that in dark mode the text
for the switch bar is just true black since adjusting the
attributes would have wide scale implications for all UIs using
device default themes.

Test: visual inspection
Bug: 132755745
Change-Id: I309db82e9bf020fb654e0b93f6ec84380ae092f7

5 years agoReorder notification settings
Julia Reynolds [Thu, 30 May 2019 20:52:08 +0000 (16:52 -0400)]
Reorder notification settings

Test: manual
Fixes: 132271798
Change-Id: I57e726a332513620bea25b97345b1a8564c6d5ef

5 years agoMerge "Change notification alert icon" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 20:51:49 +0000 (20:51 +0000)]
Merge "Change notification alert icon" into qt-dev

5 years agoMerge "Add SIM color picker" into qt-dev
Christine Franks [Thu, 30 May 2019 20:01:48 +0000 (20:01 +0000)]
Merge "Add SIM color picker" into qt-dev

5 years agoMerge "Fix a11y readout of notification importance buttons" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 18:53:57 +0000 (18:53 +0000)]
Merge "Fix a11y readout of notification importance buttons" into qt-dev

5 years agoChange notification alert icon
Julia Reynolds [Thu, 30 May 2019 18:47:07 +0000 (14:47 -0400)]
Change notification alert icon

Test: manual
Bug: 134054170
Change-Id: Ibd66a55a30ac9fbeb7a32638fe236067c6175bc4

5 years agoMerge "Load wallpaper colors in a background thread." into qt-dev
TreeHugger Robot [Thu, 30 May 2019 17:59:54 +0000 (17:59 +0000)]
Merge "Load wallpaper colors in a background thread." into qt-dev

5 years agoMerge "Update SliceView when slice is null" into qt-dev
Lei Yu [Thu, 30 May 2019 17:38:59 +0000 (17:38 +0000)]
Merge "Update SliceView when slice is null" into qt-dev

5 years agoRemove Permissions Hub.
Joel Galenson [Thu, 30 May 2019 15:30:49 +0000 (08:30 -0700)]
Remove Permissions Hub.

Bug: 132292477
Test: View all related screens.
Change-Id: Ic0e890e04f210f3be3eb80c95e398a40a8062001

5 years agoFix a11y readout of notification importance buttons
Julia Reynolds [Thu, 30 May 2019 14:31:40 +0000 (10:31 -0400)]
Fix a11y readout of notification importance buttons

Test: manual with TB
Bug: 134047401
Change-Id: Idab3426a37ed3f25c2cde47e0747ac9a31850f62

5 years agoMerge "Make work challenge pattern resizeable." into qt-dev
Pavel Grafov [Thu, 30 May 2019 13:38:22 +0000 (13:38 +0000)]
Merge "Make work challenge pattern resizeable." into qt-dev

5 years agoMerge "Fix IllegalArgumentException in AudioHelper" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 09:39:33 +0000 (09:39 +0000)]
Merge "Fix IllegalArgumentException in AudioHelper" into qt-dev

5 years agoFix IllegalArgumentException in AudioHelper
Raff Tsai [Wed, 29 May 2019 22:39:39 +0000 (06:39 +0800)]
Fix IllegalArgumentException in AudioHelper

Audio streams for phone calls in BT device (STREAM_VOICE_CALL) is not
supported in AudioManager.getStreamMinVolume(), fallback to use
STREAM_VOICE_CALL

Fixes: 133812547
Test: make RunSettingsRoboTests
Change-Id: I8e330f60bae2a7cf9cd0cf7288076b8320ccc504

5 years agoMerge "Fix the crash while tapping "app data usage" as second user" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 06:37:12 +0000 (06:37 +0000)]
Merge "Fix the crash while tapping "app data usage" as second user" into qt-dev

5 years agoIncrease char limit to 60 for string translation
Mehdi Alizadeh [Thu, 30 May 2019 03:21:03 +0000 (20:21 -0700)]
Increase char limit to 60 for string translation

Bug: 133862422
Test: None
Change-Id: I3fa6705a6657c5aa65e496cba2ce470fb558a45f

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 01:44:27 +0000 (18:44 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into oc-dev am: 811229a2fd am: fd058ab872 -s ours am: 3fb5933880 -s ours
am: 08672ec74e -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 fe86a2a51f is in history

Change-Id: I1f06a8e5c931e789518ea1a751a93ecfc73a9090

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 01:40:29 +0000 (18:40 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into oc-dev am: 811229a2fd am: fd058ab872 -s ours
am: 3fb5933880 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 9fa8329b02 is in history

Change-Id: I68b1c3e845c9f8cff305583b6cd19869e36cc027

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 01:35:24 +0000 (18:35 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into oc-dev am: 811229a2fd
am: fd058ab872 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 e4800786cf is in history

Change-Id: I7fbd29f4d72fda672e986f12d17e37bee1b89e4b

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 01:33:23 +0000 (18:33 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into oc-mr1-dev am: b95361ab60 -s ours
am: 8837b15f78 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 fe86a2a51f is in history

Change-Id: Iaee4509328c45e5405edc1bae475d2e1cf5f4ba7

5 years agoMerge "Do not allow draw on top for App notification settings" into oc-dev
Raff Tsai [Thu, 30 May 2019 01:30:24 +0000 (18:30 -0700)]
Merge "Do not allow draw on top for App notification settings" into oc-dev
am: 811229a2fd

Change-Id: Ie5ed40b8f573b974850234987bacc5ae7db925a4

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 01:28:27 +0000 (18:28 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into oc-mr1-dev
am: b95361ab60 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 9fa8329b02 is in history

Change-Id: I66e6f4f24bd7349db363f28f0462d16825e544c8

5 years agoMerge "Do not allow draw on top for App notification settings" into oc-dev
TreeHugger Robot [Thu, 30 May 2019 01:14:19 +0000 (01:14 +0000)]
Merge "Do not allow draw on top for App notification settings" into oc-dev

5 years agoMerge "Do not allow draw on top for App notification settings" into oc-mr1-dev
TreeHugger Robot [Thu, 30 May 2019 01:11:01 +0000 (01:11 +0000)]
Merge "Do not allow draw on top for App notification settings" into oc-mr1-dev

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 00:28:49 +0000 (17:28 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into pi-dev
am: 4d01717c14 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 fe86a2a51f is in history

Change-Id: Ifb49814e6f18d000aafb89652ce26e5469ef0fb5

5 years agoMerge "Do not allow draw on top for App notification settings" into pi-dev
TreeHugger Robot [Thu, 30 May 2019 00:15:17 +0000 (00:15 +0000)]
Merge "Do not allow draw on top for App notification settings" into pi-dev

5 years agoAdd SIM color picker
Christine Franks [Fri, 24 May 2019 17:52:55 +0000 (10:52 -0700)]
Add SIM color picker

Bug: 133193155
Test: make ROBOTEST_FILTER="(RenameMobileNetwork*)" RunSettingsRoboTests -j48

Change-Id: Ifae8b77bc5b4ba1039ede70889468a018f57d78f

5 years agoFix the crash while tapping "app data usage" as second user
Sunny Shao [Mon, 27 May 2019 03:55:34 +0000 (11:55 +0800)]
Fix the crash while tapping "app data usage" as second user

Second user or guest is limited some mobile network access. We need to check current user
is admin or not to decide the preferece page will be found in search or not.

Bug: 133466016
Fixes: 133466016
Test: Manual test & make RunSettingsRoboTests -j56 ROBOTEST_FILTER=com.android.settings.network

Change-Id: I48d3064a8aa28ac1f2ac699b42a999b9682b1b52

5 years agoFix issues in battery usage accounting
Lei Yu [Tue, 28 May 2019 17:42:19 +0000 (10:42 -0700)]
Fix issues in battery usage accounting

1. In High usage dialog, show top apps based on battery usage, not app
time.
2. Refactor the check for hidden system modules into ShouldHideSipper,
however don't smear it, this is also the current logic before this CL.

Bug: 133445008
Test: RunSettingsRoboTests
Change-Id: I851a1c9ef9b79a934ba0501cd96001f2e450bda4

5 years agoUpdate SliceView when slice is null
Lei Yu [Wed, 29 May 2019 20:11:57 +0000 (13:11 -0700)]
Update SliceView when slice is null

When it is null, we should also update SliceView, so SliceView can
update to be "invisible"

Fixes: 133790296
Test: RunSettingsRoboTests
Change-Id: I239405cce8bcadacbd374ccbb24d0fcbadc04880

5 years agoMerge "Switch to using an intent for eSIM erasing" into qt-dev
TreeHugger Robot [Wed, 29 May 2019 20:02:48 +0000 (20:02 +0000)]
Merge "Switch to using an intent for eSIM erasing" into qt-dev

5 years agoMerge "Change title to "Alerting"" into qt-dev
TreeHugger Robot [Wed, 29 May 2019 19:19:59 +0000 (19:19 +0000)]
Merge "Change title to "Alerting"" into qt-dev

5 years agoMerge "Allow renaming inactive subscriptions." into qt-dev
TreeHugger Robot [Wed, 29 May 2019 18:16:40 +0000 (18:16 +0000)]
Merge "Allow renaming inactive subscriptions." into qt-dev

5 years agoChange title to "Alerting"
Evan Laird [Wed, 29 May 2019 17:19:37 +0000 (13:19 -0400)]
Change title to "Alerting"

Test: visual
Fixes: 133825282
Change-Id: I08c58328eafdc37ba993d5189c8830e2c00115e6

5 years agoMerge "Add snooze notification setting" into qt-dev
TreeHugger Robot [Wed, 29 May 2019 17:03:32 +0000 (17:03 +0000)]
Merge "Add snooze notification setting" into qt-dev

5 years agoMerge "Add EID as a synonym to SIM status" into qt-dev
TreeHugger Robot [Wed, 29 May 2019 16:48:23 +0000 (16:48 +0000)]
Merge "Add EID as a synonym to SIM status" into qt-dev

5 years agoMake work challenge pattern resizeable.
Pavel Grafov [Wed, 29 May 2019 13:36:46 +0000 (14:36 +0100)]
Make work challenge pattern resizeable.

Currently in split-screen mode if work challenge window is made too narrow,
the dots of the pattern will go beyond window/screen boundaries. This change
makes pattern behave in the same way as primary profile pattern does, see
confirm_lock_pattern_normal.xml

Fixes: 133135598
Test: manual, resizing work challenge in portrait and landscape.
Change-Id: I40649911c2b7c587bf0b7e4a5c0449a5c2b7abb0