Jeff Sharkey
1e23fc8814
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 4cfc684346
-s ours am: 5b2a431787
am: 9ba609cef9
am: c1ebc09ff0
am: fad1e6a315
-s ours am: 416ecb20a3
am: e341fe95bd
am: 85cb0b43da
am: 8f2a69fad3
am: 2a2d92eee8
-s ours am: a829548c12
...
am: 3de9e565c8
Change-Id: Id3c4eafd2628d04b94e33e057b228ed77c9c32c8
2017-10-18 21:50:29 +00:00
Jeff Sharkey
16776b64c8
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 5ef2cfac97
-s ours am: 45fc104958
-s ours am: 19fa568b39
am: 2bf724509c
am: a954c8c716
am: 91b1cb4b23
-s ours am: 07c4c8efed
am: d88820f3f6
am: 629553fb49
am: 397a3555b5
am: a637e31547
-s ours
...
am: a00521b3a0
Change-Id: Idd7111058107886b24ed208ad09d3b13e945de8d
2017-10-18 21:32:46 +00:00
Jeff Sharkey
3de9e565c8
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 4cfc684346
-s ours am: 5b2a431787
am: 9ba609cef9
am: c1ebc09ff0
am: fad1e6a315
-s ours am: 416ecb20a3
am: e341fe95bd
am: 85cb0b43da
am: 8f2a69fad3
am: 2a2d92eee8
-s ours
...
am: a829548c12
Change-Id: Id3b794c734d743757bc5d70f3386fed1c8640c69
2017-10-18 21:31:42 +00:00
Jeff Sharkey
a00521b3a0
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 5ef2cfac97
-s ours am: 45fc104958
-s ours am: 19fa568b39
am: 2bf724509c
am: a954c8c716
am: 91b1cb4b23
-s ours am: 07c4c8efed
am: d88820f3f6
am: 629553fb49
am: 397a3555b5
...
am: a637e31547
-s ours
Change-Id: Ic8c595d0e4847d36ee150763606353225be5a7ff
2017-10-18 21:01:38 +00:00
Jeff Sharkey
a829548c12
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 4cfc684346
-s ours am: 5b2a431787
am: 9ba609cef9
am: c1ebc09ff0
am: fad1e6a315
-s ours am: 416ecb20a3
am: e341fe95bd
am: 85cb0b43da
am: 8f2a69fad3
...
am: 2a2d92eee8
-s ours
Change-Id: I3ab5a63962eee76a5f199f4be8243829dc943710
2017-10-18 21:00:49 +00:00
Jeff Sharkey
a637e31547
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 5ef2cfac97
-s ours am: 45fc104958
-s ours am: 19fa568b39
am: 2bf724509c
am: a954c8c716
am: 91b1cb4b23
-s ours am: 07c4c8efed
am: d88820f3f6
am: 629553fb49
...
am: 397a3555b5
Change-Id: I1cd5d59bfbb91806e18f9d33f1ccd897f99c745e
2017-10-18 20:40:16 +00:00
Jeff Sharkey
2a2d92eee8
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 4cfc684346
-s ours am: 5b2a431787
am: 9ba609cef9
am: c1ebc09ff0
am: fad1e6a315
-s ours am: 416ecb20a3
am: e341fe95bd
am: 85cb0b43da
...
am: 8f2a69fad3
Change-Id: If4e97b0c8efd7223323f36954e2eb80aabeb881c
2017-10-18 20:39:11 +00:00
TreeHugger Robot
25deda5129
Merge "Fix a monkey crash: guard against position -1."
2017-10-18 20:27:45 +00:00
Jeff Sharkey
397a3555b5
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 5ef2cfac97
-s ours am: 45fc104958
-s ours am: 19fa568b39
am: 2bf724509c
am: a954c8c716
am: 91b1cb4b23
-s ours am: 07c4c8efed
am: d88820f3f6
...
am: 629553fb49
Change-Id: I075b5225e91a419fbe5d5f6ecdbbf82ba5f1c550
2017-10-18 20:26:31 +00:00
Jeff Sharkey
8f2a69fad3
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 4cfc684346
-s ours am: 5b2a431787
am: 9ba609cef9
am: c1ebc09ff0
am: fad1e6a315
-s ours am: 416ecb20a3
am: e341fe95bd
...
am: 85cb0b43da
Change-Id: Ic41907e9ca799e53b7796b25c5cfc818636988aa
2017-10-18 20:25:25 +00:00
Jeff Sharkey
629553fb49
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 5ef2cfac97
-s ours am: 45fc104958
-s ours am: 19fa568b39
am: 2bf724509c
am: a954c8c716
am: 91b1cb4b23
-s ours am: 07c4c8efed
...
am: d88820f3f6
Change-Id: If92103e13bdefcaeda54adfc6acf96352b57cd89
2017-10-18 20:06:55 +00:00
Jeff Sharkey
85cb0b43da
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 4cfc684346
-s ours am: 5b2a431787
am: 9ba609cef9
am: c1ebc09ff0
am: fad1e6a315
-s ours am: 416ecb20a3
...
am: e341fe95bd
Change-Id: Ifc18f5afec1707d19224428ac88399d7463adf9c
2017-10-18 20:06:00 +00:00
Jeff Sharkey
d88820f3f6
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 5ef2cfac97
-s ours am: 45fc104958
-s ours am: 19fa568b39
am: 2bf724509c
am: a954c8c716
am: 91b1cb4b23
-s ours
...
am: 07c4c8efed
Change-Id: I7b2baeb9b01b6b9a3f2ab6ed7444601b703e001f
2017-10-18 19:40:12 +00:00
Jeff Sharkey
e341fe95bd
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 4cfc684346
-s ours am: 5b2a431787
am: 9ba609cef9
am: c1ebc09ff0
am: fad1e6a315
-s ours
...
am: 416ecb20a3
Change-Id: I152a5dc22a05e3952f3b0bd162f2826580a26db2
2017-10-18 19:39:10 +00:00
Jeff Sharkey
07c4c8efed
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 5ef2cfac97
-s ours am: 45fc104958
-s ours am: 19fa568b39
am: 2bf724509c
am: a954c8c716
...
am: 91b1cb4b23
-s ours
Change-Id: I5d27e57aed8586fd203bc6dacca480e97ab9ca25
2017-10-18 19:27:49 +00:00
Jeff Sharkey
416ecb20a3
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 4cfc684346
-s ours am: 5b2a431787
am: 9ba609cef9
am: c1ebc09ff0
...
am: fad1e6a315
-s ours
Change-Id: I46e94b20903455f26c62922aa735276434dc1fd0
2017-10-18 19:27:11 +00:00
Jeff Sharkey
91b1cb4b23
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 5ef2cfac97
-s ours am: 45fc104958
-s ours am: 19fa568b39
am: 2bf724509c
...
am: a954c8c716
Change-Id: I7ae7ab6c40fdcce484c39bdd3314dd4c831b3545
2017-10-18 19:21:53 +00:00
Jeff Sharkey
fad1e6a315
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 4cfc684346
-s ours am: 5b2a431787
am: 9ba609cef9
...
am: c1ebc09ff0
Change-Id: I8f4e5fbc1952b6c7014fbc8c7abac5fcf54af520
2017-10-18 19:20:50 +00:00
Jeff Sharkey
a954c8c716
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 5ef2cfac97
-s ours am: 45fc104958
-s ours am: 19fa568b39
...
am: 2bf724509c
Change-Id: Ia037ac67d83799f104cd30b6caaaad8485ae0326
2017-10-18 18:57:57 +00:00
Jeff Sharkey
c1ebc09ff0
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 4cfc684346
-s ours am: 5b2a431787
...
am: 9ba609cef9
Change-Id: I9148b6352ab44e21e3a81a4d1bc783c867d614e8
2017-10-18 18:57:03 +00:00
Fan Zhang
5d80fd2966
Fix a monkey crash: guard against position -1.
...
When handling onClick in ManageApplications, skip getAppEntry if
position is -1.
Change-Id: I565c42b2c9f742445e49fd4c2e7db539d0f6f8ad
Fixes: 67940121
Test: manual
2017-10-18 11:47:01 -07:00
Jeff Sharkey
2bf724509c
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 5ef2cfac97
-s ours am: 45fc104958
-s ours
...
am: 19fa568b39
Change-Id: Id8d333be6d14dac643447f1310629a1adc0fc2cc
2017-10-18 18:40:10 +00:00
Jeff Sharkey
9ba609cef9
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 4cfc684346
-s ours
...
am: 5b2a431787
Change-Id: Ie5d9d4c5e7f0d9829ad807e7a43edd2d81001aaf
2017-10-18 18:39:25 +00:00
Jeff Sharkey
19fa568b39
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 5ef2cfac97
-s ours
...
am: 45fc104958
-s ours
Change-Id: Ibdd0283a40c9d8994b902f31ed2a80ff894384eb
2017-10-18 18:29:15 +00:00
Jeff Sharkey
5b2a431787
DO NOT MERGE. ActivityPicker shouldn't grant permissions.
...
am: 4cfc684346
-s ours
Change-Id: I16f3a2141ed4773b043e9d5553c7eb44e296b428
2017-10-18 18:28:28 +00:00
TreeHugger Robot
5317e70be1
Merge "Use IconDrawableFactory to load icons for default apps."
2017-10-18 17:47:33 +00:00
TreeHugger Robot
63f32fcbf1
Merge "Fix a bug: applied wrong layout for advanecd button flag"
2017-10-18 17:30:47 +00:00
TreeHugger Robot
528f3bfeec
Merge "Adjusting char limits in zen mode settings."
2017-10-18 15:53:59 +00:00
Beverly
adb0fb00a2
Adjusting char limits in zen mode settings.
...
Test: manual
Change-Id: I9fd1f2bcb01f83b464877a3f3c7de3e28249126e
Fixes: 67871480
2017-10-18 09:50:40 -04:00
TreeHugger Robot
b73a67c7a0
Merge "Switch to recyclerview in ManageApplications"
2017-10-18 02:20:06 +00:00
Fan Zhang
78369d91bc
Switch to recyclerview in ManageApplications
...
- Replace ListView with RecyclerView in layout
- Replace ApplicationAdapter's superclass to be RecyclerView.Adapter
- Change adapter interfaces (where necessary) to work with RecyclerView
- Replace fast scroll with Recycler's mechanism (all in xml)
- Removed section indexer (text bubble when fast scroll) because
recyclerview doesn't support it.
Bug: 64804294
Test: robotests
Change-Id: I55b221836ce6abdeddf4568c8a8a5632cbddbd3b
2017-10-17 17:41:44 -07:00
Fan Zhang
efa763624a
Use IconDrawableFactory to load icons for default apps.
...
Bug: 64336923
Test: robotests
Change-Id: I2a4ca05a866784f97e247bad1c1679a6ec0f5efa
2017-10-17 15:56:16 -07:00
Jeffrey Huang
d50363b496
Merge "Hide dev options v1 under feature flag"
2017-10-17 22:30:58 +00:00
Christopher Tate
020ff8a390
Use correct flags on ACTION_TIME_CHANGED broadcast
...
When Settings changes the display format for 12/24 hour time, it fakes
an ACTION_TIME_CHANGED broadcast to provoke apps to update their display.
It needs to use the right flags on that broadcast to match the way the
OS sends it when the time actually changes.
Bug: 67881917
Test: calendar widget, Deskclock, QCT timeservice
Change-Id: I46ce261c36d9c7180f6b8eae806ef9fbf271fa53
2017-10-17 14:49:15 -07:00
Fan Zhang
aee173142f
Fix a bug: applied wrong layout for advanecd button flag
...
Change-Id: I5a44bb5e910bc73e46087820e5ccf76e220fa834
Fixes: 3076430
Test: robotests
2017-10-17 14:49:04 -07:00
TreeHugger Robot
db60997f2a
Merge changes I145c2e25,I4abe87dd,I86575d17,I90a0e583
...
* changes:
Introduce BluetoothAudioQualityPreferenceCtrl
Introduce BluetoothAudioChannelModePreferenceCtrl
Introduce BluetoothAudioBitsPerSamplePrefCtrl
Introduce BluetoothAudioCodecPreferenceController
2017-10-17 21:31:27 +00:00
jeffreyhuang
142682c19c
Hide dev options v1 under feature flag
...
- Cutover to DevelopmentSettingsDashboardFragment
- Add dev_option_v1 feature flag
Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I2ff7b5c55f1f27cd24b4e276d3d81a73f67dcf88
2017-10-17 13:49:19 -07:00
TreeHugger Robot
47775667b8
Merge "Add work-only-category controller"
2017-10-17 19:10:29 +00:00
jeffreyhuang
af3ec754dd
Introduce BluetoothAudioQualityPreferenceCtrl
...
- Create new BluetoothAudioQualityPreferenceController
- Create controller inside the DashboardFragment
- Port logic from DevelopmentSettings into the controller
Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I145c2e2554f5e9f5e7cfa79b3f6198a8b81105ec
2017-10-17 11:18:06 -07:00
jeffreyhuang
2335b1fef4
Introduce BluetoothAudioChannelModePreferenceCtrl
...
- Create new BluetoothAudioChannelModePreferenceController
- Create controller inside the DashboardFragment
- Port logic from DevelopmentSettings into the controller
Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I4abe87dd70be83c8b3cf2a3ad43b8856a01eadbb
2017-10-17 11:18:06 -07:00
jeffreyhuang
483dc97998
Introduce BluetoothAudioBitsPerSamplePrefCtrl
...
- Create new BluetoothAudioBitsPerSamplePreferenceController
- Create controller inside the DashboardFragment
- Port logic from DevelopmentSettings into the controller
Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I86575d171a005f62f731d9001f08ddcf976ad826
2017-10-17 11:18:06 -07:00
jeffreyhuang
0ef326f365
Introduce BluetoothAudioCodecPreferenceController
...
- Create new BluetoothAudioCodecPreferenceController
- Create controller inside the DashboardFragment
- Port logic from DevelopmentSettings into the controller
Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I90a0e58328196315fccbecd6d46531b4f0fcaef1
2017-10-17 11:18:06 -07:00
Pavel Grafov
24ff765731
Preserve old password when handling SET_NEW_PASSWORD. am: 40e187b364
...
am: 51f15da8e6
Change-Id: I9b46697d14579ab8aedfffcdfd14ddc02cad5cf0
2017-10-17 17:35:30 +00:00
Fan Zhang
1bde0d84b0
Add work-only-category controller
...
The controller will hide category if there is no child in it.
Change-Id: I9bbcc4115b991574e608933f98857b0b4eb2ed7d
Fixes: 62185871
Test: robotests
2017-10-17 10:34:36 -07:00
Pavel Grafov
51f15da8e6
Preserve old password when handling SET_NEW_PASSWORD.
...
am: 40e187b364
Change-Id: I45a464c244b6de3a4ea491d28db620425733b5a8
2017-10-17 17:33:23 +00:00
Jeffrey Huang
9b117ef690
Merge "Lazy load SettingsObserver"
2017-10-17 17:22:31 +00:00
TreeHugger Robot
ec234edcc1
Merge "Adjusted char limits and media/system string."
2017-10-17 16:04:20 +00:00
Beverly
052ac3d84e
Adjusted char limits and media/system string.
...
Change-Id: Iad4d9980fc52970d1ee8221053dd116c5bbcd9cb
Fixes: 67821000
Fixes: 67827886
Fixes: 67820998
Test: manual
2017-10-17 09:45:56 -04:00
Pavel Grafov
40e187b364
Preserve old password when handling SET_NEW_PASSWORD.
...
Currently the only way mUserPassword can be set is when it comes
from onActivityResult. This way when the user chooses "Continue
without Pixel Imprint", and we switch ChooseLockGeneric->InternalActivity,
mUserPassword becomes null (it is not preserved in intent extras).
And then this null is used in getLockPasswordIntent which causes the issue.
Another issues is that when the user chooses to use fingerprint,
mHasChallenge is set to true and password is not forwarded to
ChooseLock(Password|Pattern). I changed the intent builders so that both
old password and challenge can be sent at the same time, so the password
is not lost when fingerprint is set.
Bug: 67672081
Test: cd packages/apps/Settings/tests/robotests/ && mma
Test: manual, adb shell am start -a android.app.action.SET_NEW_PASSWORD,
tried setting pin/password with and without fingerprint.
Test: manual, tried to change lock via Settings -> Security&Location
Test: manual, set pin + fingerprint in Setup Wizard, FBE and FDE devices
Test: manual, set pin + added account, used pin to unlock FRP in SUW
Change-Id: I38d56d84f95c63fef24c2aa1a031d629f22756a1
2017-10-17 13:19:35 +01:00
TreeHugger Robot
ffa3095aca
Merge "Add advanced button to security & location page"
2017-10-17 02:09:45 +00:00