Michal Olech
acef49a41c
Merge changes from topic "HdmiCecVersionSharedPrefs" into sc-dev am: 873c541423
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13582327
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I335bb233ab47a23cddb9eea15da8c38dedc2a2db
2021-02-23 17:46:50 +00:00
Michal Olech
873c541423
Merge changes from topic "HdmiCecVersionSharedPrefs" into sc-dev
...
* changes:
[CEC Configuration] Move 'hdmi_cec_version' to SharedPreferences
[CEC Configuration] Run HdmiControlService change notifications in the service thread
2021-02-23 17:28:11 +00:00
Jamie Garside
4aca66550d
Merge "Update the bouncer to be able to move to either side of a wide screen." into sc-dev am: 69b9601cf5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13518732
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6a6ff8575f6c418cac790d88ea5d35e9ee0c1a78
2021-02-22 20:52:45 +00:00
Jamie Garside
868e770b82
Update the bouncer to be able to move to either side of a wide screen.
...
I'd like to test other things (like tap makes the IME move), but to do
that means replacing the mock with a proper fake. That can come later,
but this at least tests that the flagging works correctly.
The changes between this and
commit cae34b8e22 is the bouncer height is
now measured using wrap_content, so the placement can be controlled
properly by the outer View (as the position of the bouncer changes
depending on the size of the screen).
This reverts commit cae34b8e22 .
Test: Included
Bug: 170858298
Change-Id: I18428a6df9abf0e8e37c1c179be6843e4eee793c
2021-02-22 15:35:56 +00:00
Michal Olech
27a8746695
[CEC Configuration] Move 'hdmi_cec_version' to SharedPreferences
...
Test: cts-tradefed
Bug: 171958586
Change-Id: I01d374c9a69d23f0d242c0c8ec2364454692ddd4
2021-02-19 14:13:32 +01:00
Yomna Nasser
0bb7281b4f
Merge "Implementation of "Enable 2G" for Settings." into sc-dev am: a20761e23f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13533107
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I03d5d5cc3ccbb78aec031e866b4976f1348439b1
2021-02-18 00:13:35 +00:00
Yomna Nasser
a20761e23f
Merge "Implementation of "Enable 2G" for Settings." into sc-dev
2021-02-17 23:45:17 +00:00
Colin Cross
d4969166ef
Merge "Fix self-assign error in SimPhonebookContract" am: 334917b860 am: 349f6cee8b am: c51c2171bb am: cad1bd63fb
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1591459
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id71f8dd159cd72d626fe8fbfa3c77c29fb718fab
2021-02-17 20:13:37 +00:00
Colin Cross
cad1bd63fb
Merge "Fix self-assign error in SimPhonebookContract" am: 334917b860 am: 349f6cee8b am: c51c2171bb
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1591459
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3e872be0ac1d4bd4d24cdde2b9d3ed3ba02e71f3
2021-02-17 19:46:56 +00:00
Yomna Nasser
8fa54b7c20
Implementation of "Enable 2G" for Settings.
...
(1) Adds KEY_HIDE_ENABLE_2G_BOOL to CarrierConfigManager, and
(2) Adds new reason ALLOWED_NETWORK_TYPES_REASON_ENABLE_2G.
Test: manual & atest -c Enable2gPreferenceControllerTest
Bug: b/163168917
Change-Id: I81052549f8dde491697c35365320145fd24c3842
2021-02-17 19:38:33 +00:00
Colin Cross
c51c2171bb
Merge "Fix self-assign error in SimPhonebookContract" am: 334917b860 am: 349f6cee8b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1591459
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibc6093e1ac681fe4d9e30ef54f4947ff645a511d
2021-02-17 18:52:37 +00:00
Peiyong Lin
535b4f9c0d
Merge "Add GAME_OVERLAY namespace." into sc-dev am: 877273a602
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13587179
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3367325bba80a1c5fde0afbb4838c69cf6c92984
2021-02-17 18:49:27 +00:00
Peiyong Lin
877273a602
Merge "Add GAME_OVERLAY namespace." into sc-dev
2021-02-17 18:40:38 +00:00
Julia Reynolds
8411ab5bcd
Merge "Add apis for notification channel editing" into sc-dev am: 94bfa64f01
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13562972
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I34e6920a4c33bbceb7e134bbef15323b82a222ff
2021-02-17 14:37:00 +00:00
Julia Reynolds
94bfa64f01
Merge "Add apis for notification channel editing" into sc-dev
2021-02-17 14:12:03 +00:00
Jooyung Han
8ab5cf670f
Fix self-assign error in SimPhonebookContract
...
Bug: 180472752
Test: atest
FrameworksTelephonyTests: com.android.internal.telephony.uicc.IccUtilsTest
TeleServiceTests: SimPhonebookProviderTest
Change-Id: I1a8c0dabee3ca90fcdeca263a4c943e01fbae75e
2021-02-17 18:27:59 +09:00
Treehugger Robot
6856695f37
Merge "Add UCS-2 support for SimPhonebookContract" am: 9a90bb9efa am: 9758ffb187 am: ff3e2d3799 am: 03a1e5af63
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1564508
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6c0a79132cbb2e5e047373bee32f802eda5c7625
2021-02-17 09:23:13 +00:00
Treehugger Robot
03a1e5af63
Merge "Add UCS-2 support for SimPhonebookContract" am: 9a90bb9efa am: 9758ffb187 am: ff3e2d3799
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1564508
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I760b3a9007062414123e581ee3085cfa105540ec
2021-02-17 08:54:14 +00:00
Treehugger Robot
ff3e2d3799
Merge "Add UCS-2 support for SimPhonebookContract" am: 9a90bb9efa am: 9758ffb187
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1564508
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I802cd053265cf63f1d73835fae1ba9d252a1464e
2021-02-17 08:33:46 +00:00
Peiyong Lin
b76bf0dddb
Add GAME_OVERLAY namespace.
...
Bug: b/180439000
Test: manual
Change-Id: I8fad20223c7109d767658011f8c15ab012d245df
2021-02-17 00:20:02 +00:00
Soonil Nagarkar
9999397665
Merge "Implement stationary location throttling" into sc-dev am: 2727a9130f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13525406
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2a246da006f466497346d3b19f646dd9d91b31a3
2021-02-16 19:37:13 +00:00
Julia Reynolds
48d8f95d1b
Add apis for notification channel editing
...
Allow apps to launch a mini notification channel editing
UI targeted at the fields the user wants to edit depending on
the launch context.
Test: Settings robotests
Bug: 177246841
Change-Id: I4ca552ff80e7c55c6845022ef94361fae4cd8e20
2021-02-16 13:13:16 -05:00
Marcus Hagerott
407164df11
Add UCS-2 support for SimPhonebookContract
...
This simplifies the API by eliminating the need to attempt to detect
and report unsupported characters.
Test: atest FrameworksTelephonyTests:com.android.internal.telephony.uicc.IccUtilsTest TeleServiceTests:SimPhonebookProviderTest
Bug: 154363919
Change-Id: Ica8f3a642ee50ca81c43822ba39c0a071c279705
2021-02-16 06:47:23 -08:00
Nick Chalko
ebe6e4c26c
Merge "Add swcodec_native flag namespace"
2021-02-12 21:05:31 +00:00
Soonil Nagarkar
9627429fae
Implement stationary location throttling
...
Throttle location providers completely when the device is completely
still, and provide "faked" locations instead.
Bug: 172688700
Test: manual + atest StationaryThrottlingLocationProviderTest
Change-Id: Iba4e50ebf78cd8c6a9f2433ecb6e967d3a533c63
2021-02-12 11:45:08 -08:00
Nick Chalko
c9cb2ef580
Add swcodec_native flag namespace
...
Test: add sepolicy, build
Bug: 123658514
Change-Id: I80d1f1b4f40c1a3d261f1017b047c1e29b7a13f3
2021-02-11 15:28:09 -08:00
Siyamed Sinir
5d6318a76b
Merge "Log warning for downloadable fonts" into sc-dev am: e97161443b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13489639
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1181b450a5667a8577b8856b570053a969cd43ee
2021-02-09 22:12:52 +00:00
Siyamed Sinir
e97161443b
Merge "Log warning for downloadable fonts" into sc-dev
2021-02-09 20:14:42 +00:00
Songchun Fan
48a71c50b6
Merge "Revert^2 "[SettingsProvider] @Readable annotation to restrict access to hidden keys"" into sc-dev am: c4e2866c12
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13441055
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6548507a76468ff13cc9b7641f049f911201aec6
2021-02-09 16:49:32 +00:00
Songchun Fan
25f6a9222c
Revert^2 "[SettingsProvider] @Readable annotation to restrict access to hidden keys"
...
New in this revert:
+ Added missing annotations.
+ Added check for system apps.
BUG: 175024829
Test: atest android.appsecurity.cts.ReadableSettingsFieldsTest
Test: atest android.app.cts.NotificationTemplateTest
Test: atest com.android.systemui.statusbar.notification.row.ExpandableNotificationRowTest
1ca518c1ec75b8307126991ae2d253911b2be10c
Change-Id: I3f270831692b5ba0841e85b84902d0b101ff1095
Change-Id: I4cab132c1ef10f4319b570e8e9e15dcde6d909f8
2021-02-08 22:42:32 +00:00
TreeHugger Robot
cc45de7eb7
Merge "Revert "Update the bouncer to be able to move to either side of a wide screen."" into sc-dev am: 5d3ce05739
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13498470
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I48d1f5bfb121f0110aee14b24320a6ed554a77ba
2021-02-08 20:53:22 +00:00
Daniel Chapin
cae34b8e22
Revert "Update the bouncer to be able to move to either side of a wide screen."
...
This reverts commit 6c5bfcb40f .
Reason for revert: Bug: 179493042
Test: Manually verified
Change-Id: Iebcaa9e92a2f83419c07936aa5aa3c81970da34a
2021-02-08 11:36:04 +00:00
Siyamed Sinir
10a88921a4
Log warning for downloadable fonts
...
Framework implementation of downloadable fonts is
deprecated. Added a warning log for the usage of
sync font loading on framework.
Test: N/A
Bug: 178589784
Change-Id: Ibb395c817c6d656ee0593712c0d6f9360e7213c1
2021-02-04 19:50:39 -08:00
Treehugger Robot
0bf06ccac0
Merge "Adding SimPhonebookContract" am: 110420fcae am: 0e6db34869 am: 60be88bbd4 am: a7592f99b0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1521063
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If9916cdaf2995ae35613b4f279c9d6ba52e7ddab
2021-02-04 01:28:30 +00:00
Treehugger Robot
a7592f99b0
Merge "Adding SimPhonebookContract" am: 110420fcae am: 0e6db34869 am: 60be88bbd4
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1521063
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I36eeb81bffb9791076c872411c682bd2986ed02c
2021-02-04 01:12:40 +00:00
Treehugger Robot
60be88bbd4
Merge "Adding SimPhonebookContract" am: 110420fcae am: 0e6db34869
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1521063
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I03c972947b7cf8a4b57d326db196b8fe3f122d4c
2021-02-04 01:09:50 +00:00
Jamie Garside
1fbfc481ec
Merge "Update the bouncer to be able to move to either side of a wide screen." into sc-dev am: 1ddf2b3ac4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13471267
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I917eea8879f7a321c14e25dd7cbddf07db6715f9
2021-02-03 17:14:28 +00:00
Jamie Garside
6c5bfcb40f
Update the bouncer to be able to move to either side of a wide screen.
...
This is currently enabled by settings
persist.sysui.keyguard.one_handed_keyguard_enabled to true. If enabled,
this will cause "one-handed able" security modes to be measured with
half of the width of the SecurityViewContainer. Tapping either side of
the screen will then move the keyguard by changing the margins.
There's some flaws here, but it's a start. There's a frame of the
bouncer being on the wrong side of the screen if the keyguard is on the
right, and it doesn't respond to opening/closing the device properly yet.
Bug: b/170858298
Change-Id: Ib997b9b3cb4ca7a069c805c7a8f3a79434eebd4c
Test: Incoming :)
2021-02-03 12:29:00 +00:00
TreeHugger Robot
b7c6196c1b
Merge "Adds smart autorotate setting to the system." into sc-dev am: b5884dc67c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13420209
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9f51b735e8fa07ec88bb784fb006bf926c4ea368
2021-02-03 06:43:07 +00:00
Yi Jiang
2e533939d4
Adds smart autorotate setting to the system.
...
Also adds a config flag for the smart autorotate to indicate whether the
feature is enabled.
Test: make RunSettingsRoboTests
Bug: 172370409
Change-Id: I23ff3247827dca188e10d0bd8f00c37e2cd0b920
2021-02-03 03:02:08 +00:00
Jiashen Wang
4482c1465b
Merge "Change Settings to be able to receive timeout values from LPA" into sc-dev am: 4419835ff3 am: e2d7a999cd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13430557
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7efe899317e7ff11eb9c8975f1733a1f92ab209e
2021-02-02 01:15:47 +00:00
Jiashen Wang
4419835ff3
Merge "Change Settings to be able to receive timeout values from LPA" into sc-dev
2021-02-01 23:56:37 +00:00
Marcus Hagerott
1edf43e23d
Adding SimPhonebookContract
...
This is a contract class for a provider that reads contacts from the SIM
card.
Bug: 154363919
Test: atest CtsSimPhonebookProviderTestCases CtsSimPhonebookProviderNoSimTestCases
Change-Id: I584150dd8352dbb49d70ea28c6d064a6336d018d
2021-02-01 09:18:16 -08:00
Neil Fuller
07055f6f52
Merge "Add a constant for system_time to DeviceConfig" into sc-dev am: 5e8177bf78 am: f4a8b28963
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13427870
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id92a7c99588680ae4054136390e4895e2b4fd748
2021-02-01 14:06:31 +00:00
Neil Fuller
5e8177bf78
Merge "Add a constant for system_time to DeviceConfig" into sc-dev
2021-02-01 13:15:06 +00:00
Bernardo Rufino
bf1903d277
Merge "Open IM.getMaximumObscuringOpacityForTouch() and update docs." into sc-dev
2021-02-01 09:55:38 +00:00
Jiashen Wang
f3bed30575
Change Settings to be able to receive timeout values from LPA
...
Bug: 171846124
Test: Tested manually
Change-Id: Ib13aa832e186ae964069d888c1c4b8321a0f7fc1
2021-02-01 00:31:06 -08:00
Hall Liu
a749abcead
Add support for integrating call composer
...
* Minor bugfix in call log to handle USER_CURRENT
* add TelephonyLocalConnection that allows frameworks/opt/telephony to
call code (indirectly) in packages/services/Telephony
Bug: 177613111
Test: atest CallComposerTest
Merged-In: I602b51da6009c884364a026781ca3c160978fbd1
Change-Id: I61af7553b4b3d71fe87c86fca62941747d43ef55
2021-01-28 12:28:25 -08:00
Neil Fuller
dfea9c4ab9
Add a constant for system_time to DeviceConfig
...
Add a constant for "system_time" to DeviceConfig for server-push feature
flags. "system_time" has been added server-side under cl/353067789.
This change references the new namespace for device-side config code.
This change is following the go/android-flags-setup process. Flags will
be added in follow up changes.
Bug: 159121373
Bug: 178107773
Test: build only
Change-Id: If49365cddc5827382ea4c466322c9fc65777d564
2021-01-28 18:26:41 +00:00
Bernardo Rufino
03ec50d528
Open IM.getMaximumObscuringOpacityForTouch() and update docs.
...
Bug: 158002302
Test: atest WindowUntrustedTouchTest
Change-Id: I735169e0508678e07431704f184a938ffada53cc
Exempt-From-Owner-Approval: Approved on main branch
2021-01-28 15:30:54 +00:00