Commit Graph

6401 Commits

Author SHA1 Message Date
Suprabh Shukla
6287ed97e2 Merge "Adding Intent API to navigate to alarm permission page" into sc-dev am: 6f8a22f4be
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13638546

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I82963503d0f2fa0788bd5007532cb887c0eac0a1
2021-02-24 21:18:16 +00:00
Suprabh Shukla
6f8a22f4be Merge "Adding Intent API to navigate to alarm permission page" into sc-dev 2021-02-24 20:06:56 +00:00
Jamie Garside
688850a823 Merge "Revert "Update the bouncer to be able to move to either side of a wide screen."" into sc-dev am: 5f630223cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13676711

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I45d29d69cae821d2228590cdb1cae3b32c34b3f5
2021-02-24 13:45:52 +00:00
Jamie Garside
5f630223cc Merge "Revert "Update the bouncer to be able to move to either side of a wide screen."" into sc-dev 2021-02-24 13:32:25 +00:00
Suprabh Shukla
08db23236c Adding Intent API to navigate to alarm permission page
This is needed to provide apps a way to request the user to grant them
SCHEDULE_EXACT_ALARM permission

Test: atest CtsAlarmManagerTestCases
Also, manually:
adb shell am start -n android.settings.REQUEST_SCHEDULE_EXACT_ALARM
adb shell am start -n android.settings.REQUEST_SCHEDULE_EXACT_ALARM \
-d package:com.android.deskclock

Bug: 171306433
Change-Id: I0517e05fe7b9decb29fcc16719d7a534f7e0c0fe
2021-02-23 22:32:23 -08:00
Marcus Hagerott
3d33d3e894 Merge "Add more detail to javadocs for SimPhonebookContract" am: 57a0af04c5 am: dc54e7afdf am: c0b2128dd2 am: a5aea04314
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1596935

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I00ff408d8e9d07a8f4c0278f7b8630bdc7998c0e
2021-02-24 02:43:41 +00:00
Marcus Hagerott
a5aea04314 Merge "Add more detail to javadocs for SimPhonebookContract" am: 57a0af04c5 am: dc54e7afdf am: c0b2128dd2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1596935

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iab3d8a09ea809c9d4c5495991f838c917292465b
2021-02-24 02:17:30 +00:00
Marcus Hagerott
c0b2128dd2 Merge "Add more detail to javadocs for SimPhonebookContract" am: 57a0af04c5 am: dc54e7afdf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1596935

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I37d21d22c504e16787e1bcc962fd233ff14a60a9
2021-02-24 01:26:15 +00:00
Marcus Hagerott
dc54e7afdf Merge "Add more detail to javadocs for SimPhonebookContract" am: 57a0af04c5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1596935

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id968da9f8ec6ada50d674def708662383bf6b382
2021-02-24 01:22:51 +00:00
Gavin Corkery
c982da352b Merge "Add DeviceConfig namespace for reboot readiness detection" into sc-dev am: 4e56d1569a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13454848

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6cba4dcca4b0020b936c43e05b8ef128c20ad7c2
2021-02-23 21:52:41 +00:00
Gavin Corkery
4e56d1569a Merge "Add DeviceConfig namespace for reboot readiness detection" into sc-dev 2021-02-23 21:16:53 +00:00
Jamie Garside
0f53fd20d5 Revert "Update the bouncer to be able to move to either side of a wide screen."
This reverts commit 868e770b82.

Reason for revert: Breaks password entry - b/180993584

Change-Id: I9a1771b795c90b1cfe6c2457d390ac53235c6c94
2021-02-23 19:24:29 +00:00
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
Marcus Hagerott
42a163c89e Add more detail to javadocs for SimPhonebookContract
This provides more details about the operations supported by the provider.

Test: none
Bug: 154363919
Change-Id: I90147f5dd2b55be52089c854464ca4c52f4ba5a7
2021-02-22 16:39:27 -08: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
Xin Li
be473bf819 Merge ab/7061308 into stage.
Bug: 180401296
Merged-In: I4bf82035631ccff6d5a6144d6d9b1d203b076851
Change-Id: I1b5f3a672a55eaabba0f5389bab110b395553559
2021-02-21 09:39:53 -08:00
Gavin Corkery
68ffc29c09 Add DeviceConfig namespace for reboot readiness detection
Adds new namespace to DeviceConfig for handling properties
used in reboot readiness detection.

Test: Builds
Bug: 161353402
Change-Id: I9d8dcc9d027bb916a711f819356883517f840ff8
2021-02-20 23:24:32 +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