Commit Graph

462940 Commits

Author SHA1 Message Date
Bill Yi
deaa4c85cc Import translations. DO NOT MERGE
Change-Id: Ife17b11f35a3c79fa2c2a6d149cdea2dc4c1cc54
Auto-generated-cl: translation import
2020-01-28 01:44:07 -08:00
TreeHugger Robot
092993a72d Merge "Remove legacy-flow no-op variables: max, realMax and realProgress" 2020-01-27 01:34:57 +00:00
Abhijeet Kaur
d501142a64 Remove legacy-flow no-op variables: max, realMax and realProgress
Legacy onProgress aidl listener callback function used to take 2 params:
progress and max. So, the client had to calculate the percentage
progress. This legacy onProgress method is removed.

Now dumpstate sends the actual progress in percentage without requiring
the client to calculate it.

Bug: 123617758
Test: Takes interactive bugreport as expected. And shows progress
notification as expected.

Change-Id: Ic5a355cc886e51b964f73c227f5f657173e99420
2020-01-26 21:43:00 +00:00
TreeHugger Robot
5361f4cf67 Merge "Fix failing puller unit tests" 2020-01-26 19:28:29 +00:00
Lee Shombert
6a23143c4c Merge "Clean up hasSystemFeature binder cache" 2020-01-26 19:02:43 +00:00
TreeHugger Robot
6cca81dfc7 Merge "Import translations. DO NOT MERGE" 2020-01-26 06:25:02 +00:00
Sasha Kuznetsov
424ad90712 Merge "Update jni with measurement_corrections 1.1" 2020-01-25 23:31:42 +00:00
TreeHugger Robot
144b1e3554 Merge "Sending the whole files list to DataLoader." 2020-01-25 20:03:31 +00:00
Hui Yu
defff83b8f Merge "FGS background start restriction." 2020-01-25 19:39:28 +00:00
Terry Wang
49df6f1ba0 Merge changes from topic "Refactor-AppSearch"
* changes:
  Adds support for index Document properties in AppSearch.Document.
  Adds ttl and support for index byte array in AppSearch.Document.
  Refactor AppSearch to split into AppSearchDocument and AppSearchEmail.
2020-01-25 19:34:43 +00:00
Alex Buynytskyy
eb5f7cd96d Sending the whole files list to DataLoader.
Test: atest PackageManagerShellCommandTest
Bug: b/136132412 b/133435829 b/148243920
Change-Id: I2d19be309c6a0366b225da2d26b0f4e15e6a60e2
2020-01-25 10:01:28 -08:00
Bill Yi
b7d45f6082 Import translations. DO NOT MERGE
Change-Id: Id54f53cacf78bae206f5e590f7d55a2715b2ecb2
Auto-generated-cl: translation import
2020-01-25 05:44:32 -08:00
TreeHugger Robot
b13ce8b684 Merge "On reboot session handling." 2020-01-25 08:04:43 +00:00
Automerger Merge Worker
a0541b7821 [automerger skipped] Merge "CDMA MO SMS follow on DC feature" am: 8449733719 am: 10e016459e am: b209a3b773 -s ours
am skip reason: Change-Id I4fbcaa13648c66482f6bb741c433aede2ec824c7 with SHA-1 bf5aeaa3b3 is in history

Change-Id: I733bd17e4897016bbc3f851294522642663be477
2020-01-25 06:43:46 +00:00
TreeHugger Robot
49c3eaa26f Merge "Fix usb not working for work profile" 2020-01-25 06:36:41 +00:00
Automerger Merge Worker
b209a3b773 Merge "CDMA MO SMS follow on DC feature" am: 8449733719 am: 10e016459e
Change-Id: I3a3737b650ccf6f3ea1ca95ce5b268e4c52bd837
2020-01-25 06:22:50 +00:00
Sarah Chin
10e016459e Merge "CDMA MO SMS follow on DC feature"
am: 8449733719

Change-Id: I5e58ee577548b71278285a49334c4edf2d24f0d2
2020-01-24 22:06:02 -08:00
Hui Yu
88910decff FGS background start restriction.
1. Background started foreground service shall not have
while-in-use permissions including location, camera and
microphone. Many exemptions have been applied including:
--FGS started by widget.
--FGS started by notification.
--FGS started by IME or other visible app.
--FGS started by ROOT_UID, SYSTEM_UID, NFC_UID.

2. Add a phenotype key KEY_DEFAULT_BACKGROUND_FGS_STARTS_RESTRICTION_ENABLED
to turn on/off this feature (default is on).

3. In dogfood, if a background started FGS with while-in-use permission
(any of location/camera/microphone) run into this restriction, the FGS
will not been granted these permission. we show a toast message to
alert user and ask them to write a bugreport using instruction at
go/r-bg-fgs-restriction. So we can have a statistic how many apps will
be impacted by this feature.
These is a flag Settings.Global.FOREGROUND_SERVICE_STARTS_LOGGING_ENABLED
to turn on/off the toast message (default is on, in dogfood)

Bug: 136219221
Test: atest android.app.cts.ActivityManagerProcessStateTest
atest android.app.cts.ActivityManagerApi29Test.java
atest android.app.cts.ActivityManagerFgsBgStartTest

Change-Id: Ibc8aaa6839a69136f9311bfacdbab9705b31b6a7
2020-01-24 20:58:47 -08:00
Marco Nelissen
06b1d0629d Merge "Don't link with mediametrics headers symlinks" 2020-01-25 03:44:29 +00:00
Marco Ballesio
b83a44dcd9 Merge "Add support for freezing cached apps" 2020-01-25 03:39:53 +00:00
Julius D'souza
5eb161d910 Merge "KeyguardManager: add lock set and validation methods" 2020-01-25 03:32:36 +00:00
Sarah Chin
8449733719 Merge "CDMA MO SMS follow on DC feature" 2020-01-25 03:21:40 +00:00
Tej Singh
5b4951b6a1 Fix failing puller unit tests
The unit tests relied on kPullAllAtomInfo containing the correct
information.
This static map is no longer correct, since pullers are registered, but
will not be registered in the test environment. This cl changes the map
to not be static, and for the pullers to contain their own metadata.

Test: bit statsd_test:*
Test: adb shell cmd stats pull-source (various atoms)
Test: atest GtsStatsdHostTestCases
Change-Id: I0555a5ab1b4d15a6cd0b0dbcd49d856c93de7aa6
2020-01-24 17:59:46 -08:00
Nazish Tabassum
ab9cc5c213 CDMA MO SMS follow on DC feature
Add new constant to send MO CDMA SMS with expectMore option.

Bug: 72613248
Change-Id: I4fbcaa13648c66482f6bb741c433aede2ec824c7
Merged-In: I4fbcaa13648c66482f6bb741c433aede2ec824c7
2020-01-25 01:52:44 +00:00
TreeHugger Robot
ac4abe2ce5 Merge "Delete unused RcsMessage code for now." 2020-01-25 01:46:00 +00:00
TreeHugger Robot
f3d1ce018d Merge "Clarify frame rate as frames per second" 2020-01-25 01:43:31 +00:00
Muhammad Qureshi
5d2d5718f6 Merge "Add telephony module" 2020-01-25 01:42:20 +00:00
Nate Myren
32af0ecb7e Merge "Disable user-facing historical app ops methods" 2020-01-25 01:40:14 +00:00
Ruchir Rastogi
c7e7661b7f Merge "Delete StatsLogEventWrapper" 2020-01-25 01:17:24 +00:00
Ruchir Rastogi
b03066d2b2 Merge "Delete CarStatsPuller class" 2020-01-25 01:16:56 +00:00
Vishnu Nair
f85c92f4f6 Merge "Switch to compositor shadows for PiP and Freeform windows (disabled by default)" 2020-01-25 00:44:04 +00:00
Andrii Kulian
8127bfcc43 Merge "Merge sleeping activities with visibility updates" 2020-01-25 00:42:03 +00:00
Automerger Merge Worker
8c45fefa83 Merge "Bluetooth LE COC: Delete unused testing API" am: 25983a0972 am: dfe0273968 am: e8383fd5fc
Change-Id: I336a04270cbce29fb8998474f28d0dea8eadd9d2
2020-01-25 00:29:55 +00:00
Automerger Merge Worker
169e132330 [automerger skipped] Merge "Redesign the setPreferredNetworkType" am: 53b272d680 am: c64805d392 am: 4970e69471 -s ours
am skip reason: Change-Id Ia257e6ddaa33c32bc09340a59c9daf71ce1fa8cf with SHA-1 d11c1218d5 is in history

Change-Id: I9b9129bf5e20aa5bbfcdc62cb1d17a1969a1c3fc
2020-01-25 00:29:23 +00:00
Automerger Merge Worker
da0c68d000 Merge "Modify the default thresholds in 5G Signal Strength" am: d9328f6c40 am: 372da0e93d am: 3eec0d8559
Change-Id: Icd01843c8ca0ca41741f929981c46899b4bc6ce8
2020-01-25 00:28:50 +00:00
TreeHugger Robot
201c242b84 Merge "Revert "Revert "Adds a new ACCESS_CONTEXT_HUB permission""" 2020-01-25 00:26:34 +00:00
Automerger Merge Worker
e8383fd5fc Merge "Bluetooth LE COC: Delete unused testing API" am: 25983a0972 am: dfe0273968
Change-Id: I8c1eb75e63977d78cb997a42dc4b64373710c35a
2020-01-25 00:24:53 +00:00
Hansong Zhang
dfe0273968 Merge "Bluetooth LE COC: Delete unused testing API"
am: 25983a0972

Change-Id: Iba4797930d442399b4078705b30eef07855dabee
2020-01-24 16:22:26 -08:00
Amit Mahajan
a45fad224b Merge "Move EXTRA_SERVICE_STATE from Intent to ServiceState." 2020-01-25 00:19:42 +00:00
Automerger Merge Worker
4970e69471 Merge "Redesign the setPreferredNetworkType" am: 53b272d680 am: c64805d392
Change-Id: I9580cbe5bc5d56678a2b14c9daee466209ffe045
2020-01-25 00:17:06 +00:00
Automerger Merge Worker
3eec0d8559 Merge "Modify the default thresholds in 5G Signal Strength" am: d9328f6c40 am: 372da0e93d
Change-Id: I67719624ad8d62969140bf0a613045667f3ee4b7
2020-01-25 00:15:56 +00:00
calvinpan
c64805d392 Merge "Redesign the setPreferredNetworkType"
am: 53b272d680

Change-Id: I9dec551a3aeb71edd52d33d1e92bb385bca7cf19
2020-01-24 16:12:48 -08:00
Amit Mahajan
db6aa1a4f7 Delete unused RcsMessage code for now.
This feature is incomplete and will be worked on later. For now
since it uses hidden APIs its better to delete it.

Test: basic sanity
Bug: 140908357
Change-Id: I4a11d5440dca1b98275bfd2b18f3ef5dae65e95a
2020-01-24 16:08:02 -08:00
Shuo Qian
372da0e93d Merge "Modify the default thresholds in 5G Signal Strength"
am: d9328f6c40

Change-Id: I04969073593d2b1d8a4b16380208b3e8a03a3257
2020-01-24 16:06:08 -08:00
TreeHugger Robot
f82fd3dc81 Merge "Make direct share work with the work profile tab." 2020-01-24 23:50:28 +00:00
JW Wang
b359190aea Merge "Move mPackageSessionIds and related code into Rollback (3/n)" 2020-01-24 23:44:57 +00:00
Julius D'souza
9367eb8146 KeyguardManager: add lock set and validation methods
The new methods are specifically for non-handset devices
and are guarded by SET_INITIAL_LOCK permission.

Bug: 143612363
Test: TreeHugger
Change-Id: Ifbe6a1b11f4849ec0ea9515ac7b018bb446799ea
Signed-off-by: Julius D'souza <jdsouza@google.com>
2020-01-24 15:37:13 -08:00
Terry Wang
8eb86e8e2f Adds support for index Document properties in AppSearch.Document.
Bug: 143789408
Test: atest FrameworksCoreTests:android.app.appsearch
Change-Id: Ie5d2b7a3c929cc5d0a6edee0a0a01eb06e9a4e3a
2020-01-24 15:36:31 -08:00
Terry Wang
d0b1e1057f Adds ttl and support for index byte array in AppSearch.Document.
Bug: 143789408
Test: atest FrameworksCoreTests:android.app.appsearch
Change-Id: Ic3daf03ae232c0142d126c49e7e3ae7201076770
2020-01-24 15:36:20 -08:00
TreeHugger Robot
07f734607f Merge "Give CONTROL_DEVICE_LIGHTS permission to the shell" 2020-01-24 23:24:23 +00:00