Commit Graph

530366 Commits

Author SHA1 Message Date
Chiachang Wang
5759c2352a Merge "Remove CONNECTIVITY_ACTION and INET_CONDITION_ACTION" am: 50d1eb59a4 am: 8f834c68bf am: 75b719adf1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1432493

Change-Id: I007f3d880f7eae016f92c21bb585580eadec30db
2020-09-25 06:04:56 +00:00
Treehugger Robot
867f2a36da Merge "Excessive battery usage fix." am: 459d0ba244 am: 9a6519978b am: 883c58762b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1438012

Change-Id: I5e9d40eea2582118928dae033bf7261bb3a4192c
2020-09-25 06:04:36 +00:00
Thierry Strudel
05eef64cc1 Merge "BatteryStatsImpl: Add mBatteryTimeToFull to parcel" am: dee14d2d86 am: b88e1801bd am: 3605379546
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1430103

Change-Id: I65c570ba130fe451e7cdfaceac7545c42609278c
2020-09-25 06:04:16 +00:00
Nathan Harold
0f1829eef2 Remove Deprecated-At-Birth APIs from PDCS am: bf5158f9a0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436352

Change-Id: I2357a9bff687b5c28f7b557cacb609c1a44f9d56
2020-09-25 06:02:37 +00:00
HsingYuan Lo
b9fadf6916 Merge "Expose service changed event to application (2/3)" am: 199d2c7384 am: 90fd6a303f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1433925

Change-Id: Icf4a7df6d63ae6e1af8f858dbdc6afff99b96ece
2020-09-25 06:01:11 +00:00
Chiachang Wang
75b719adf1 Merge "Remove CONNECTIVITY_ACTION and INET_CONDITION_ACTION" am: 50d1eb59a4 am: 8f834c68bf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1432493

Change-Id: Ia267eefaa1244ff3de8777c78f6164a3ff45e735
2020-09-25 05:53:14 +00:00
Treehugger Robot
883c58762b Merge "Excessive battery usage fix." am: 459d0ba244 am: 9a6519978b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1438012

Change-Id: I582304f7b26cf9a7767b46ceab2aafccafe79cdf
2020-09-25 05:53:05 +00:00
Thierry Strudel
3605379546 Merge "BatteryStatsImpl: Add mBatteryTimeToFull to parcel" am: dee14d2d86 am: b88e1801bd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1430103

Change-Id: I70db8c89be99a8098058a67fb1a2a1d8aafb7201
2020-09-25 05:52:45 +00:00
HsingYuan Lo
90fd6a303f Merge "Expose service changed event to application (2/3)" am: 199d2c7384
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1433925

Change-Id: Ic63fb21977ea64fc3f6fe69dcee5329e35eef01a
2020-09-25 05:51:49 +00:00
Andrew Solovay
6036146b10 [RESTRICT AUTOMERGE] docs: Removing obsolee TODO am: b86df213a3 am: 9441161e17
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12663552

Change-Id: If3b1685e2c15b7c81f95c6b2de75fd322c83fc6c
2020-09-25 05:45:47 +00:00
Chiachang Wang
8f834c68bf Merge "Remove CONNECTIVITY_ACTION and INET_CONDITION_ACTION" am: 50d1eb59a4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1432493

Change-Id: Ibddd1595cc8b36c2cc18e9ed1901adc7a9b12330
2020-09-25 05:37:43 +00:00
Treehugger Robot
9a6519978b Merge "Excessive battery usage fix." am: 459d0ba244
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1438012

Change-Id: I53a07bd42d46e8f5e7e5d0079f3c7ea4ef1a3804
2020-09-25 05:33:17 +00:00
Thierry Strudel
b88e1801bd Merge "BatteryStatsImpl: Add mBatteryTimeToFull to parcel" am: dee14d2d86
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1430103

Change-Id: Ib0caa12b9ead16b1fa541f2baf28f82acef08355
2020-09-25 05:29:28 +00:00
Andrew Solovay
7015c95720 [RESTRICT AUTOMERGE] docs: Removing obsolee TODO am: b86df213a3 am: 9da05e017e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12663552

Change-Id: I6079309dc6dc8f27463f29370a79cb97e7dfff4e
2020-09-25 05:27:36 +00:00
Treehugger Robot
47a73ac9ac Merge "Add Executors to Dependency" am: 40ecd434e4 am: 5565ad41ef am: b3af577b3d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1437251

Change-Id: I9a0560c58c5d9a3b09379cef90a41fd9b2a718d5
2020-09-25 05:27:22 +00:00
Collin Fijalkovich
2b7e712e28 Merge "Allow privapp Traceur access to STATUS_BAR and DUMP" am: 7ffd615b4c am: c1795594fc am: 007c395a60
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1415308

Change-Id: I848a84ba27f4577b2744703943eb09d49b9922fa
2020-09-25 05:26:15 +00:00
Andrew Solovay
9da05e017e [RESTRICT AUTOMERGE] docs: Removing obsolee TODO am: b86df213a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12663552

Change-Id: Idf8ba9c921fc02310da6906103fd8ba39c43d5be
2020-09-25 05:24:45 +00:00
Andrew Solovay
9441161e17 [RESTRICT AUTOMERGE] docs: Removing obsolee TODO am: b86df213a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12663552

Change-Id: I3009f35dd371aad17c6787e98000c43dc4cee7d3
2020-09-25 05:24:25 +00:00
Treehugger Robot
8b6aa74d6b Merge "Fix unique identifiers best practices links in device ID API docs" 2020-09-25 04:32:42 +00:00
Jack Yu
dcb4d39b18 Support handover retry
The data service now can control whether retry
handover or not.

Fix: 160105644
Test: FrameworksTelephonyTests
Merged-In: Ib6fd6a4d7cf242a4c17337607c188a07188df9e5
Change-Id: Ib6fd6a4d7cf242a4c17337607c188a07188df9e5
(cherry picked from commit df75e3082e)
2020-09-24 21:31:38 -07:00
Jack Yu
24f4fce2df Merge changes from topics "pdcs_builder", "pdcs_cleanup", "refactor_pdcs", "remove_apn_name_types", "transport_type_and_id"
* changes:
  Added hashcode for ApnSetting class
  Refactored precise data connection state
  Added transport type and id in precise data connection state
  Removed APN name and types from PreciseDataConnectionState
  Added builder for PreciseDataConnectionState
  Remove Deprecated-At-Birth APIs from PDCS
2020-09-25 04:18:21 +00:00
HsingYuan Lo
199d2c7384 Merge "Expose service changed event to application (2/3)" 2020-09-25 04:04:19 +00:00
Chiachang Wang
50d1eb59a4 Merge "Remove CONNECTIVITY_ACTION and INET_CONDITION_ACTION" 2020-09-25 00:57:25 +00:00
Michael Groover
a73539128d Fix unique identifiers best practices links in device ID API docs
Bug: 168447060
Test: m docs
Change-Id: I483e0cf4915862254461200deb5d3dc7302bafb4
Merged-In: I483e0cf4915862254461200deb5d3dc7302bafb4
2020-09-24 17:36:32 -07:00
Treehugger Robot
459d0ba244 Merge "Excessive battery usage fix." 2020-09-25 00:35:43 +00:00
Sarah Chin
8fce85a6f8 Add read/write logic for SubscriptionPlan network types field
Add permissions for Phone process to access SubscriptionPlans for
meteredness

Test: manual verification
Bug: 169187737
Change-Id: Ib821590a573db87b22619cfe7ebe64c0230c5031
2020-09-25 00:32:07 +00:00
Treehugger Robot
b3af577b3d Merge "Add Executors to Dependency" am: 40ecd434e4 am: 5565ad41ef
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1437251

Change-Id: I458cb2d5130f949e5eab520b59c41f74495350ce
2020-09-24 23:49:17 +00:00
Collin Fijalkovich
007c395a60 Merge "Allow privapp Traceur access to STATUS_BAR and DUMP" am: 7ffd615b4c am: c1795594fc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1415308

Change-Id: Ic36e0f219269bd5f4647f9a5008d21d70b5a5ad0
2020-09-24 23:48:18 +00:00
Pinyao Ting
4cab9c3876 Fix the issue provider can be wrong when requesting slice permission
SlicePermissionActivity reads provider_pkg from intent, which can be
modified at will. As a result user might see incorrect package name in
the dialog granting slice permission.

Bug: 159145361
Test: manual
Merged-In: I8b66c02786df4096dad74b7e76255d5ddd1d609d
Change-Id: I8b66c02786df4096dad74b7e76255d5ddd1d609d
(cherry picked from commit 0ad32a2d70)
2020-09-24 15:33:58 -07:00
Jack Yu
152e11a13d Added hashcode for ApnSetting class
Without hashCode, ApnSetting can't be used as a key in the
map.

Fix: 162663245
Test: Manual
Merged-In: I9445ec854709996c80830e4c8c498e664f1e4f9c
Change-Id: I9445ec854709996c80830e4c8c498e664f1e4f9c
(cherry picked from commit fe59b7268f)
2020-09-24 15:26:59 -07:00
Thierry Strudel
dee14d2d86 Merge "BatteryStatsImpl: Add mBatteryTimeToFull to parcel" 2020-09-24 22:00:37 +00:00
Treehugger Robot
a57b4b75c5 Merge "Fix setType() return value for high angle sensor" am: 5a2d80de45 am: 89d18e94e4 am: 1e97e64bf2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436893

Change-Id: If7aabccc5c08ec1d6e640a0b3361abaf96346f59
2020-09-24 21:52:53 +00:00
Alex Buynytskyy
bd8444d1e3 Excessive battery usage fix.
Using wake to forcefully wake up the looper instead of 1s timeout.

Fixed: 168156055
Test: atest ApkVerityTest:com.android.apkverity.ApkVerityTest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest
Change-Id: If65f65f9214b34bf057ed5f1877348d835251d14
Merged-In: If65f65f9214b34bf057ed5f1877348d835251d14
2020-09-24 21:50:38 +00:00
Treehugger Robot
5565ad41ef Merge "Add Executors to Dependency" am: 40ecd434e4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1437251

Change-Id: I763a209a732e85b8361c499f6fb314526289bfff
2020-09-24 21:39:46 +00:00
Collin Fijalkovich
c1795594fc Merge "Allow privapp Traceur access to STATUS_BAR and DUMP" am: 7ffd615b4c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1415308

Change-Id: Id049c80485c7f25ceec15d384dc514b9388f8508
2020-09-24 21:27:41 +00:00
Treehugger Robot
1e97e64bf2 Merge "Fix setType() return value for high angle sensor" am: 5a2d80de45 am: 89d18e94e4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436893

Change-Id: I5d4a833884e9c732b9f96cd0ca6f72a889b89254
2020-09-24 21:24:53 +00:00
Treehugger Robot
40ecd434e4 Merge "Add Executors to Dependency" 2020-09-24 21:17:37 +00:00
Collin Fijalkovich
7ffd615b4c Merge "Allow privapp Traceur access to STATUS_BAR and DUMP" 2020-09-24 21:08:09 +00:00
Nicolas Geoffray
666a1ab787 Move jniGetReferent to its only user (framework).
So we can better implement optimizations like caching the method ID
needed for jniGetReferent.

Bug: 168471625
Test: m
Change-Id: I22cb6cdf8b29e8ad0a0a6b6e7a20c3491e3a65f1
2020-09-24 22:07:05 +01:00
Treehugger Robot
89d18e94e4 Merge "Fix setType() return value for high angle sensor" am: 5a2d80de45
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436893

Change-Id: Iedeacbf1ba44f8155d526b9c9cebc32bbdac98b6
2020-09-24 20:34:38 +00:00
Alexander Dorokhine
5d896f0ade Merge "Update truth-prebuilt to 0.44." am: 4bc2305fd4 am: 37b8eeecda am: 546eaaaad8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436523

Change-Id: Id8e6224ba00f134c943e053da0573c36bc93b1b1
2020-09-24 20:26:32 +00:00
Treehugger Robot
5a2d80de45 Merge "Fix setType() return value for high angle sensor" 2020-09-24 20:17:06 +00:00
Alexander Dorokhine
546eaaaad8 Merge "Update truth-prebuilt to 0.44." am: 4bc2305fd4 am: 37b8eeecda
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436523

Change-Id: I7363d23bd36185cc816ff45184a68161721c9a13
2020-09-24 20:04:25 +00:00
Alexander Dorokhine
37b8eeecda Merge "Update truth-prebuilt to 0.44." am: 4bc2305fd4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436523

Change-Id: I9f7c544dfd718a38be85811dcc3f87d0034e88fc
2020-09-24 19:14:24 +00:00
Pinyao Ting
149bb7e038 Fix the issue provider can be wrong when requesting slice permission
SlicePermissionActivity reads provider_pkg from intent, which can be
modified at will. As a result user might see incorrect package name in
the dialog granting slice permission.

Bug: 159145361
Test: manual
Merged-In: I8b66c02786df4096dad74b7e76255d5ddd1d609d
Change-Id: I8b66c02786df4096dad74b7e76255d5ddd1d609d
(cherry picked from commit 0ad32a2d70)
2020-09-24 19:06:32 +00:00
Pinyao Ting
e3eba1322b Fix the issue provider can be wrong when requesting slice permission
SlicePermissionActivity reads provider_pkg from intent, which can be
modified at will. As a result user might see incorrect package name in
the dialog granting slice permission.

Bug: 159145361
Test: manual
Merged-In: I8b66c02786df4096dad74b7e76255d5ddd1d609d
Change-Id: I8b66c02786df4096dad74b7e76255d5ddd1d609d
(cherry picked from commit 0ad32a2d70)
2020-09-24 19:06:07 +00:00
Alexander Dorokhine
4bc2305fd4 Merge "Update truth-prebuilt to 0.44." 2020-09-24 18:58:55 +00:00
Alexander Dorokhine
7f266c7df2 Update truth-prebuilt to 0.44.
This is a transitional step on the road to truth-1.0.1. A lot of the new
APIs were added in truth 0.44 without the old ones being deleted yet,
making incremental migration possible.

Bug: 168765701
Test: m checkbuild
Merged-In: Icf7c9944895e4d30de51e2d9d67b0ed23e842e17
Change-Id: Icf7c9944895e4d30de51e2d9d67b0ed23e842e17
(cherry picked from commit 75ab19db12)
2020-09-24 11:29:14 -07:00
Andrew Solovay
b86df213a3 [RESTRICT AUTOMERGE] docs: Removing obsolee TODO
The TODO was in a Javadoc comment so it was exposed in public docs.
It looks like the TODO was removed from master, and per SME, it's
okay to remove it from RVC too.

Test: make ds-docs-java
Exempt-from-owner-approval: Docs-only change
Bug: 169103613
Change-Id: I7694bbc8fde0e7366db57770ff1792a1d2f3e6c1
Merged-In: I129f96f6ed716e25c476bacbdb38799675919b9a
2020-09-24 18:13:06 +00:00
Collin Fijalkovich
36d59fba49 Allow privapp Traceur access to STATUS_BAR and DUMP
Modifies the privapp allowlist to allow Traceur to grant Traceur the
STATUS_BAR permission, which is needed for quick settings tile functionality, and dump which is needed for the BUGREPORT_STARTED intent.

Bug: 166768816
Test: Built user and userdebug, exercised regular and long trace
functionality

Change-Id: I180527a9a1a30ef6a214b628f37affc69f9ae2f0
2020-09-24 17:45:53 +00:00