OSDN Git Service
gopinath [Wed, 3 Apr 2019 22:05:43 +0000 (15:05 -0700)]
Add option to enable tracing all the launches.
This option is disabled by default.
Bug: b/
129888684, b/
130154337
Test : Ran app launch test case locally.
Change-Id: I1305361adf0cb80e2be6a191b8639f7a53e9abfc
(cherry picked from commit
806aa81113c8bbbb7c4566f0b87858dc2f41a3b6)
Chen Xu [Thu, 11 Apr 2019 15:56:02 +0000 (15:56 +0000)]
Merge "throw securityexception for notifyNetworkChange" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 15:54:52 +0000 (15:54 +0000)]
Merge "Remove remaining deepCopy() usages in TextClassifier" into qt-dev
Zimuzo Ezeozue [Thu, 11 Apr 2019 15:54:46 +0000 (15:54 +0000)]
Merge "Fixed PackageWatchdog health check state" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 15:53:52 +0000 (15:53 +0000)]
Merge "Retry getting DynamicSystem service" into qt-dev
Matt Pietal [Thu, 11 Apr 2019 15:30:34 +0000 (15:30 +0000)]
Merge "Sharesheet - 4->8 direct share expansion fix" into qt-dev
chen xu [Thu, 11 Apr 2019 09:16:19 +0000 (02:16 -0700)]
throw securityexception for notifyNetworkChange
throw exception instead of check permission and return.
Bug:
130329121
Test: Build
Change-Id: I9f0e60312ebd0baaf1538a6e658414211b17991b
Winson Chung [Thu, 11 Apr 2019 15:22:36 +0000 (15:22 +0000)]
Merge "Add state callbacks to launcher" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 15:14:27 +0000 (15:14 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 15:10:17 +0000 (15:10 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 15:06:37 +0000 (15:06 +0000)]
Merge "Update comment per review feedback" into qt-dev
Ricky Wai [Thu, 11 Apr 2019 13:33:04 +0000 (13:33 +0000)]
Merge "Do not allow moveToFront() and moveTaskToFront() when app is in background" into qt-dev
Chiachang Wang [Thu, 11 Apr 2019 13:15:40 +0000 (13:15 +0000)]
Merge "Add lifecycle tests to NetworkMonitorTest" into qt-dev
Todd Kennedy [Thu, 11 Apr 2019 13:14:15 +0000 (06:14 -0700)]
Update comment per review feedback
Treehugger was being a pain and I wanted to submit if it passsed.
It passed, so, need to adjust in a separate change.
Bug:
123919310
Test: None. This is a comment change only
Change-Id: Ib49cea7d814a7cb4566d663a2805ed56763454e8
Bill Yi [Thu, 11 Apr 2019 13:11:31 +0000 (06:11 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ic2368d119ddd7e16c500dedefae454a50052edf0
Jorim Jaggi [Thu, 11 Apr 2019 13:09:53 +0000 (13:09 +0000)]
Merge "Mark testEarliestAlarmSet as flaky" into qt-dev
Jorim Jaggi [Thu, 11 Apr 2019 12:44:31 +0000 (14:44 +0200)]
Mark testEarliestAlarmSet as flaky
Blocks presubmits.
Test: n/a
Bug:
130313408
Change-Id: Ia716510866676c6aefeb2765bfef7a1a030cd791
Zimuzo [Fri, 5 Apr 2019 16:06:25 +0000 (17:06 +0100)]
Fixed PackageWatchdog health check state
1. Receiving List<PackageInfo>:
Since I29e2d619a5296716c29893ab3aa2f35f69bfb4d7, we now receive a
List of PackageInfo instead of Strings for packages supporting
explicit health checks. Now, we parse this List<PackageInfo> from
ExtServices instead of trying to parse List<String> and we use the
health check timeout in the PackageInfo as the health check expiry
deadline instead of using the total package expiry time.
2. Updating health check durations onSupportedPackages:
Before, we always updated the health check duration for a
package if the package is supported and the health check state is
not PASSED, this caused the health check duration for a package to
never reduce as long as we kept getting onSupportedPackages. Now, we
improved the readability of the state transitions onSupportedPackages.
We now correctly only update the health check duration for supported
packages in the INACTIVE state.
3. FAILED state:
Before we only had INACTIVE, ACTIVE and PASSED states. When a package
has failed the health check we could notify the observer multiple
times in quick succession and get into a bad internal state with
negative health check durations. Now we added check to ensure we
don't try to schedule with a Handler with a negative duration and we
defined a negative health check duration to be a new FAILED state if the
health check is not passed. This clearly defines the state transitions
as seen below:
+----------+ +---------+ +------+
| | | | | |
| INACTIVE +---->+ ACTIVE +--->+PASSED|
| | | | | |
+-----+----+ +----+----+ +------+
| |
| |
| |
| |
| +----v----+
| | |
+----------> FAILED |
| |
+---------+
4. Uptime state:
Everytime we pruned observers, we scheduled the next prune and stored
the current SystemClock#uptimeMillis. This allowed us determine how
much time had elapsed for the next prune. The uptime was not correclty
updated when starting to observe already observed packages. With the
following sequence of events:
-monitor package A for 1hr
-30mins elapsed
-monitor package A again for 1hr
A would expire 30mins from the last event instead of 1hr.
This was because the second time around, we
saved the new state to disk but did not reschedule so did not update
the uptime at last schedule, so 1hr from the first event, we would
prune packages with the original uptime and incorrectly expire A
earlier. Now we update all internal state, fixed this and added a test
for this case.
5. Readability
Improved method variable names, logging and comments.
Bug:
120598832
Test: Manual testing && atest PackageWatcdogTest
Change-Id: I1512d5938848ad26b668636405fe9b0db50d3a2e
Alison Cichowlas [Thu, 11 Apr 2019 12:24:22 +0000 (12:24 +0000)]
Merge "Merge caller targets and ranked targets." into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 12:13:21 +0000 (12:13 +0000)]
Merge "Override actionModeCloseDrawable in Theme.DeviceDefault.DocumentsUI" into qt-dev
Lorenzo Colitti [Wed, 10 Apr 2019 09:57:17 +0000 (02:57 -0700)]
Add lifecycle tests to NetworkMonitorTest
- Ensure that NetworkMonitor quits when notifyNetworkDisconnected
is called.
- Ensure that BroadcastReceivers are registered when a captive
portal is detected and unregistered when the network validates
or when NetworkMonitor quits.
Bug:
122164725
Test: atest FrameworksNetTests NetworkStackTests
Test: atest --generate-new-metrics 10 NetworkStackTests:com.android.server.connectivity.NetworkMonitorTest
Test: test fails if "Don't leak captive portal broadcast receivers." change reverted
Change-Id: I1202626face33cc1e1ec02016b95da487b3335c8
Merged-In: I1202626face33cc1e1ec02016b95da487b3335c8
(cherry picked from commit
bb41c8f7513cf1547fc1724c1c3343321f56c18e)
Po-Chien Hsueh [Thu, 11 Apr 2019 08:36:54 +0000 (16:36 +0800)]
Retry getting DynamicSystem service
DynamicSystemService might not be ready even sysprop init.svc.gsid
is "running". Move connect() into retry loop.
Bug:
130336119
Test: boot the device and check logcat
Change-Id: Iab5065bf139abcf6c19dcc3553f8a3ca1642e7b3
Tony Huang [Wed, 10 Apr 2019 06:03:23 +0000 (14:03 +0800)]
Override actionModeCloseDrawable in Theme.DeviceDefault.DocumentsUI
Since RRO do not support to override theme which indicate specific
attr to reference private resource at Q, defined actionModeCloseDrawable
in Theme.DeviceDefault.DocumentsUI can ensure all Q devices apply the
reasonable design.
Fix:
130209354
Test: visual
Test: atest DocumentsUIGoogleTests
Change-Id: I7751aaa753e92a860dc20b873967631a4070595e
Junyu Lai [Thu, 11 Apr 2019 06:58:48 +0000 (06:58 +0000)]
Merge "Fix onBlockedStatusChanged does not work on multiple networks" into qt-dev
Mady Mellor [Thu, 11 Apr 2019 06:57:25 +0000 (06:57 +0000)]
Merge "Fix regression from ag/
6938053 where the pointer is in wrong place" into qt-dev
Yohei Yukawa [Thu, 11 Apr 2019 06:23:25 +0000 (23:23 -0700)]
Add '-u <user id>' option to 'adb shell ime reset'
This is a preparation to add end-to-end CTS for per-profile IME mode.
In order to allow CTS tests to switch IME via shell command in
multi-user environment, this CL adds '-u <user id>' option to
adb shell ime reset
Bug:
122924287
Test: Manually tested as follows:
1. Build aosp_blueline-userdebug and flash it
2. make -j SoftKeyboard
3. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
4. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
5. adb shell ime set com.example.android.softkeyboard/.SoftKeyboard
6. adb shell pm create-user test
7. adb shell am switch-user 10
8. adb shell ime list -s -u 0
-> com.android.inputmethod.latin/.LatinIME
com.example.android.softkeyboard/.SoftKeyboard
9. adb shell ime reset -u 0
-> Reset current and enabled IMEs for user #0
Selected: com.android.inputmethod.latin/.LatinIME
Enabled: com.android.inputmethod.latin/.LatinIME
10. adb shell ime list -s -u 0
-> com.android.inputmethod.latin/.LatinIME
Test: Manually tested as follows.
1. Build aosp_blueline-userdebug and flash it
2. adb shell pm create-user restricted_test
3. adb root
4. adb shell pm set-user-restriction --user 10 no_debugging_features 1
5. adb shell ime reset -u all
-> Reset current and enabled IMEs for user #0
Selected: com.android.inputmethod.latin/.LatinIME
Enabled: com.android.inputmethod.latin/.LatinIME
User #10 is restricted with DISALLOW_DEBUGGING_FEATURES
Change-Id: Ie330c6faa76f366b78c15c0161873a051a3d40e3
Yohei Yukawa [Thu, 11 Apr 2019 06:23:17 +0000 (23:23 -0700)]
Add '-u <user id>' option to 'adb shell ime set'
This is a preparation to add end-to-end CTS for per-profile IME mode.
In order to allow CTS tests to switch IME via shell command in
multi-user environment, this CL adds '-u <user id>' option to
adb shell ime set <ime id>
Another notable behavior change in this CL is that
adb shell ime set <ime id>
now gracefully fails with showing one-line error message when <ime id>
does not exist. Previously it failed with showing a stacktrace
because of unhandled IllegalArgumentException.
Bug:
122924287
Test: Manually tested as follows:
1. Build aosp_blueline-userdebug and flash it
2. make -j SoftKeyboard
3. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
4. adb shell pm create-user test
5. adb shell am switch-user 10
6. adb shell ime enable -u 0 com.example.android.softkeyboard/.SoftKeyboard
-> Input method com.example.android.softkeyboard/.SoftKeyboard: now enabled for user #0
7. adb shell ime set -u 0 com.example.android.softkeyboard/.SoftKeyboard
-> Input method com.example.android.softkeyboard/.SoftKeyboard selected for user #0
Test: Manually tested as follows.
1. Build aosp_blueline-userdebug and flash it
2. adb shell pm create-user restricted_test
3. adb root
4. adb shell pm set-user-restriction --user 10 no_debugging_features 1
5. adb shell ime set -u all com.android.inputmethod.latin/.LatinIME
-> Input method com.android.inputmethod.latin/.LatinIME: now disabled for user #0
User #10 is restricted with DISALLOW_DEBUGGING_FEATURES.
Change-Id: I397cf0fb418a395dcafc0ab0d8d4e553b0f2eaab
Yohei Yukawa [Thu, 11 Apr 2019 06:20:51 +0000 (23:20 -0700)]
Add '-u <user id>' option to 'adb shell ime enable'
This is a preparation to add end-to-end CTS for per-profile IME mode.
In order to allow CTS tests to enable/disable IMEs via shell command
in multi-user environment, this CL adds '-u <user id>' option to
adb shell ime enable <ime id>
and
adb shell ime disable <ime id>
Note that '-u' option is already supposed in 'adb shell ime list' [1].
[1]: I192a0f5a1375170d17a4c08af94f23966dbaea8b
7f8ee4b9ddd31ad36a12c5278b27990dc76011cc
Bug:
122924287
Test: Manually tested as follows:
1. Build aosp_blueline-userdebug and flash it
2. make -j SoftKeyboard
3. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
4. adb shell pm create-user test
5. adb shell am switch-user 10
6. adb shell ime enable -u 0 com.example.android.softkeyboard/.SoftKeyboard
-> Input method com.example.android.softkeyboard/.SoftKeyboard: now enabled for user #0
7. adb shell ime disable -u 0 com.example.android.softkeyboard/.SoftKeyboard
-> Input method com.example.android.softkeyboard/.SoftKeyboard: now disabled for user #0
Test: Manually tested as follows.
1. Build aosp_blueline-userdebug and flash it
2. adb shell pm create-user test
3. adb shell pm create-user restricted_test
4. adb root
5. adb shell pm set-user-restriction --user 11 no_debugging_features 1
6. adb shell am switch-user 10
7. adb shell am switch-user 11
8. adb shell am switch-user 0
9. adb shell ime disable -u all com.android.inputmethod.latin/.LatinIME
-> Input method com.android.inputmethod.latin/.LatinIME: now disabled for user #0
Input method com.android.inputmethod.latin/.LatinIME: now disabled for user #10
User #11 is restricted with DISALLOW_DEBUGGING_FEATURES.
Change-Id: Ia0f873e4589a9fc3f549469e3d1d966640dc2df5
TreeHugger Robot [Thu, 11 Apr 2019 05:40:33 +0000 (05:40 +0000)]
Merge "Fix puller callback with gauge/value metric" into qt-dev
Android Build Merger (Role) [Thu, 11 Apr 2019 05:37:50 +0000 (05:37 +0000)]
Merge "[automerger skipped] Merge changes from topic "am-
09249f80-e618-46fc-ac06-
c7fdc73c36ae" into oc-dev am:
07a485743a am:
30826bd658 am:
d89cac1562 -s ours am:
0f512b2eba -s ours am skip reason: change_id I8ee3f876fcaffa63636645f0f59709cd147254ef with SHA1
5ab98de315 is in history" into qt-dev
Eran Messeri [Thu, 11 Apr 2019 05:37:23 +0000 (22:37 -0700)]
[automerger skipped] Merge changes from topic "am-
09249f80-e618-46fc-ac06-
c7fdc73c36ae" into oc-dev am:
07a485743a am:
30826bd658 am:
d89cac1562 -s ours
am:
0f512b2eba -s ours
am skip reason: change_id I8ee3f876fcaffa63636645f0f59709cd147254ef with SHA1
5ab98de315 is in history
Change-Id: I827ef6a6a400895a374946059424f4901201cf57
TreeHugger Robot [Thu, 11 Apr 2019 05:35:43 +0000 (05:35 +0000)]
Merge "Add Vts test for xsd_config" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 05:34:24 +0000 (05:34 +0000)]
Merge "Crash the system server if network stack is lost" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 05:33:41 +0000 (05:33 +0000)]
Merge "Change to choice" into qt-dev
Julia Reynolds [Thu, 11 Apr 2019 05:25:23 +0000 (22:25 -0700)]
Merge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage" into oc-dev am:
2256fd4e11 am:
51fee974a9 am:
19ad060bf0
am:
9456d1e079
Change-Id: I4dc59e06e8744cd3cb8b457f0901fa474e1bf538
Julia Reynolds [Thu, 11 Apr 2019 05:17:52 +0000 (22:17 -0700)]
Merge changes from topic "am-
3ca7326a-cbf1-4f97-a1b5-
a4fdfac0fb47" into oc-dev am:
652a666500 am:
5d35ad7446 am:
03cddd8562
am:
00f5cf45c7
Change-Id: I5272a3c39f8e7d0b60368dcc35b398f455c5ae2c
Pavel Grafov [Thu, 11 Apr 2019 05:04:58 +0000 (22:04 -0700)]
[automerger skipped] [automerger] Limit IsSeparateProfileChallengeAllowed to system callers am:
9061fcc46b am:
39f5432697 am:
9c0bc5405e am:
55209aca88 am:
d5ce9a41b6 am:
20007cb46f am:
3ae9c5c63b -s ours am:
8a317effc2 -s ours
am:
cbffcf9c24 -s ours
am skip reason: change_id I2fef9ab13614627c0f1bcca04759d0974fc6181a with SHA1
1b6301cf24 is in history
Change-Id: I5d0100f3e0b5a404836572a34ddcd685282407eb
TreeHugger Robot [Thu, 11 Apr 2019 04:31:22 +0000 (04:31 +0000)]
Merge "Fix compressed stubs" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 04:12:23 +0000 (04:12 +0000)]
Merge "Revert "Remove overlay logic from package manager and parser"" into qt-dev
Remi NGUYEN VAN [Wed, 10 Apr 2019 06:18:22 +0000 (23:18 -0700)]
Crash the system server if network stack is lost
Crash the system server if it cannot bind to the network stack, or if
the network stack crashes. This is better than keeping the system
running in a bad state where all networking would be broken.
Before the network stack was moved to a different process, the whole
system would go down when it encountered a crash.
Test: added crash in NetworkStack, verified system_server restart
Bug:
130028724
Merged-In: I64f366fc69b52f27d65461be50d81edc199bcb62
Merged-In: I034a62ec44ba1da32fd47c842a2bdf86f6ccf542
(cherry picked from commit
d44fc02248308c403e104461a64da058bb637253)
Change-Id: I989703c9dda62bd58df413ca8949f9a25187e062
Remi NGUYEN VAN [Thu, 11 Apr 2019 03:44:08 +0000 (03:44 +0000)]
Merge "Expose captive portal urls for configuration" into qt-dev
Tej Singh [Thu, 11 Apr 2019 02:25:03 +0000 (19:25 -0700)]
Fix puller callback with gauge/value metric
Allows gauge/value metrics to work with pulled atoms that were
registered after the config was received.
Test: gts
Bug:
130314103
Change-Id: I9cddd28efd464d8bb78da868d8c0d850ffb0235c
TreeHugger Robot [Thu, 11 Apr 2019 03:41:01 +0000 (03:41 +0000)]
Merge "stopSelf() if there is no installed system image" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 03:37:58 +0000 (03:37 +0000)]
Merge changes from topic "bt-metadata-api-v2-qt-dev" into qt-dev
* changes:
Bluetooth metadata API changes in SettingsLib
Refine Bluetooth Metadata API
Eran Messeri [Thu, 11 Apr 2019 03:17:04 +0000 (20:17 -0700)]
[automerger skipped] Merge changes from topic "am-
09249f80-e618-46fc-ac06-
c7fdc73c36ae" into oc-dev am:
07a485743a am:
30826bd658
am:
d89cac1562 -s ours
am skip reason: change_id I8ee3f876fcaffa63636645f0f59709cd147254ef with SHA1
5ab98de315 is in history
Change-Id: I734fd8e0dc271ed7942a8c9d17e5ce19a9cb544d
TreeHugger Robot [Thu, 11 Apr 2019 03:14:20 +0000 (03:14 +0000)]
Merge "Temporarily stop crashing on alarm limit" into qt-dev
Bill Yi [Thu, 11 Apr 2019 03:08:55 +0000 (20:08 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I348eb96921137b301dde350836c8ab42286dbf51
Julia Reynolds [Thu, 11 Apr 2019 03:06:30 +0000 (20:06 -0700)]
Merge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage" into oc-dev am:
2256fd4e11 am:
51fee974a9
am:
19ad060bf0
Change-Id: I0ed6effdd52e511fab32a668b8232fc0095e3295
Julia Reynolds [Thu, 11 Apr 2019 03:00:26 +0000 (20:00 -0700)]
Merge changes from topic "am-
3ca7326a-cbf1-4f97-a1b5-
a4fdfac0fb47" into oc-dev am:
652a666500 am:
5d35ad7446
am:
03cddd8562
Change-Id: Ifa1fe4acb2249480c1b9067e1e53a3f020008859
TreeHugger Robot [Thu, 11 Apr 2019 02:57:23 +0000 (02:57 +0000)]
Merge "Simplifying duplicate resource definition" into qt-dev
Pavel Grafov [Thu, 11 Apr 2019 02:49:38 +0000 (19:49 -0700)]
[automerger skipped] [automerger] Limit IsSeparateProfileChallengeAllowed to system callers am:
9061fcc46b am:
39f5432697 am:
9c0bc5405e am:
55209aca88 am:
d5ce9a41b6 am:
20007cb46f am:
3ae9c5c63b -s ours
am:
8a317effc2 -s ours
am skip reason: change_id I2fef9ab13614627c0f1bcca04759d0974fc6181a with SHA1
1b6301cf24 is in history
Change-Id: I50b6c521adf14bad8d30232e9936b16859b4dc03
Riddle Hsu [Wed, 3 Apr 2019 05:08:47 +0000 (13:08 +0800)]
Ensure consistency of screenHeightDp for non-resizable activity
Originally the height of status bar (or other stable insets) is not
excluded from screenHeightDp for size compatibility mode activity
because the previous display where the activity resides may be removed
or changed then there is no available and consistent display bounds to
calculate the screen configuration.
Now we precompute and store the display insets in each rotation, so the
activity always has the original display insets to compute consistent
screen configuration.
Test: atest ActivityRecordTests
Test: atest TaskRecordTests#testComputeConfigResourceOverrides
Bug:
112288258
Change-Id: I5c769f8080fc5ae4eba966d2fa42cb650254074d
Eran Messeri [Thu, 11 Apr 2019 02:03:10 +0000 (19:03 -0700)]
Merge changes from topic "am-
09249f80-e618-46fc-ac06-
c7fdc73c36ae" into oc-dev am:
07a485743a
am:
30826bd658
Change-Id: I117d15dc0168ebd0f09835957e4b1757a1ae5a7c
Yao Chen [Thu, 11 Apr 2019 01:49:04 +0000 (01:49 +0000)]
Merge "Add a condition timer to track the duration of condition being true." into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 01:45:49 +0000 (01:45 +0000)]
Merge "Drop Type clock face." into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 01:41:19 +0000 (01:41 +0000)]
Merge "Cleanup SUPL network request parameters for requestRouteToHostAddress" into qt-dev
Kevin Chyn [Thu, 11 Apr 2019 01:38:54 +0000 (01:38 +0000)]
Merge "Check PackageManager before getting <Biometric>Manager" into qt-dev
Shawn Lin [Thu, 11 Apr 2019 01:32:54 +0000 (01:32 +0000)]
Merge "Add log_from_module annotation for docsui" into qt-dev
Lucas Dupin [Thu, 11 Apr 2019 01:28:15 +0000 (01:28 +0000)]
Merge "Improve dump format" into qt-dev
Lucas Dupin [Thu, 11 Apr 2019 01:20:37 +0000 (01:20 +0000)]
Merge "Show navbar on lock screen if gestural nav" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 01:10:29 +0000 (01:10 +0000)]
Merge "Flip default value of headless user 0 flag." into qt-dev
Mady Mellor [Wed, 10 Apr 2019 23:59:03 +0000 (16:59 -0700)]
Fix regression from ag/
6938053 where the pointer is in wrong place
Bug:
130313953
Test: manual / visual
Change-Id: I80122ac035637d47690ba361086b554016c2c374
Lucas Dupin [Thu, 11 Apr 2019 00:58:00 +0000 (00:58 +0000)]
Merge "Make sure BiometricType is never null" into qt-dev
Alison Cichowlas [Thu, 11 Apr 2019 00:18:59 +0000 (20:18 -0400)]
Merge caller targets and ranked targets.
Bug:
126566208
Test: Manual; test apk and twitter
Change-Id: Ib264d4a646cafe160b9d3115d42292d940dc1918
Julia Reynolds [Thu, 11 Apr 2019 00:44:09 +0000 (17:44 -0700)]
Merge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage" into oc-dev am:
2256fd4e11
am:
51fee974a9
Change-Id: I5c0f89e5614901b57880fff5b59a2f6766893903
Julia Reynolds [Thu, 11 Apr 2019 00:39:03 +0000 (17:39 -0700)]
Merge changes from topic "am-
3ca7326a-cbf1-4f97-a1b5-
a4fdfac0fb47" into oc-dev am:
652a666500
am:
5d35ad7446
Change-Id: I0e8dff954426479e5a58f0a8f0dad10a294f7b25
Eran Messeri [Thu, 11 Apr 2019 00:35:21 +0000 (17:35 -0700)]
Merge changes from topic "am-
09249f80-e618-46fc-ac06-
c7fdc73c36ae" into oc-dev
am:
07a485743a
Change-Id: I0ba4a71037e5bac19a540320665446b55b7aafb6
TreeHugger Robot [Thu, 11 Apr 2019 00:35:19 +0000 (00:35 +0000)]
Merge "Rename mute haptic channel API." into qt-dev
Pavel Grafov [Thu, 11 Apr 2019 00:29:31 +0000 (17:29 -0700)]
[automerger skipped] [automerger] Limit IsSeparateProfileChallengeAllowed to system callers am:
9061fcc46b am:
39f5432697 am:
9c0bc5405e am:
55209aca88 am:
d5ce9a41b6 am:
20007cb46f
am:
3ae9c5c63b -s ours
am skip reason: change_id I2fef9ab13614627c0f1bcca04759d0974fc6181a with SHA1
1b6301cf24 is in history
Change-Id: I1065183419a6868c2f9d21ddae9b455056fbf963
Julia Reynolds [Thu, 11 Apr 2019 00:19:16 +0000 (17:19 -0700)]
Merge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage" into oc-dev
am:
2256fd4e11
Change-Id: I1658f2dc59428265adf385ec2e9c579abbefb023
Lucas Dupin [Thu, 11 Apr 2019 00:19:03 +0000 (00:19 +0000)]
Merge "Remove color extraction from scrims" into qt-dev
TreeHugger Robot [Thu, 11 Apr 2019 00:02:41 +0000 (00:02 +0000)]
Merge "Fixed the incorrect function signature" into qt-dev
Julia Reynolds [Wed, 10 Apr 2019 23:56:01 +0000 (16:56 -0700)]
Merge changes from topic "am-
3ca7326a-cbf1-4f97-a1b5-
a4fdfac0fb47" into oc-dev
am:
652a666500
Change-Id: I4e93c29d4d65d14d39b683a27004f871b1dd0b9a
TreeHugger Robot [Wed, 10 Apr 2019 23:47:51 +0000 (23:47 +0000)]
Merge "UserController.startUser nullchecks unlockListener" into qt-dev
Pavel Grafov [Wed, 10 Apr 2019 23:41:27 +0000 (16:41 -0700)]
[automerger] Limit IsSeparateProfileChallengeAllowed to system callers am:
9061fcc46b am:
39f5432697 am:
9c0bc5405e am:
55209aca88 am:
d5ce9a41b6
am:
20007cb46f
Change-Id: I3bf88bf3a830dc7dea61e32d1df31b273a5d1afe
TreeHugger Robot [Wed, 10 Apr 2019 23:37:21 +0000 (23:37 +0000)]
Merge "Add color overlays to build." into qt-dev
Julia Reynolds [Wed, 10 Apr 2019 23:32:32 +0000 (16:32 -0700)]
[automerger skipped] Merge "Add cross user permission check - areNotificationsEnabledForPackage" into pi-dev
am:
e4c6ce23af -s ours
am skip reason: change_id I13a0ca7590f8c4b44379730e0ee2088aba400c2a with SHA1
657d164136 is in history
Change-Id: I20880b7e63fdeb1a16b320ebe3dffe42658f3a9d
TreeHugger Robot [Wed, 10 Apr 2019 23:26:00 +0000 (23:26 +0000)]
Merge changes from topic "am-
09249f80-e618-46fc-ac06-
c7fdc73c36ae" into oc-dev
* changes:
[automerger] Permission Check For DPM.getPermittedAccessibilityServices am:
4fd13eefcf am:
39eef269be am:
5d66886b4c am:
75b579135c am:
0f19d41748
[automerger] Permission Check For DPM.getPermittedAccessibilityServices am:
4fd13eefcf am:
39eef269be am:
5d66886b4c am:
75b579135c
[automerger] Permission Check For DPM.getPermittedAccessibilityServices am:
4fd13eefcf am:
39eef269be am:
5d66886b4c
[automerger] Permission Check For DPM.getPermittedAccessibilityServices am:
4fd13eefcf am:
39eef269be
[automerger] Permission Check For DPM.getPermittedAccessibilityServices am:
4fd13eefcf
Permission Check For DPM.getPermittedAccessibilityServices
Julia Reynolds [Wed, 10 Apr 2019 23:21:32 +0000 (23:21 +0000)]
Merge "Fix a synchronization problem" into qt-dev
Julia Reynolds [Wed, 10 Apr 2019 23:20:31 +0000 (23:20 +0000)]
Merge "Add missing @Test" into qt-dev
Lucas Dupin [Wed, 10 Apr 2019 23:07:50 +0000 (16:07 -0700)]
Improve dump format
Test: adb shell dumpsys activity service com.android.systemui
Bug:
130204212
Change-Id: I75a74a46a2bd5e63a0f13a877741cc1ab806d6d0
Adam He [Wed, 10 Apr 2019 23:05:30 +0000 (23:05 +0000)]
Merge "Refactored field classification workflow to not hold locks when calling ExtServices." into qt-dev
Nikita Ioffe [Wed, 10 Apr 2019 23:04:15 +0000 (23:04 +0000)]
Merge "Improve documentation for getActiveStagedSession API" into qt-dev
Varun Shah [Wed, 10 Apr 2019 23:03:06 +0000 (23:03 +0000)]
Merge "Add TestApi to SUSPEND_APPS permission for GTS test." into qt-dev
Jack He [Wed, 10 Apr 2019 23:01:45 +0000 (23:01 +0000)]
Revert "Remove overlay logic from package manager and parser"
This reverts commit
c6778e5435f0bea1737fd987af3f4480ac3ab2d1.
Reason for revert: This CL causes Bluetooth fail to start
Bluetooth Java services cannot turn on.
Change-Id: I4a9649d61de7781d3a00074da780c3a5a1dfbd56
Fixes:
130260055
Test: compile, BluetoothInstrumentationTests
TreeHugger Robot [Wed, 10 Apr 2019 22:59:44 +0000 (22:59 +0000)]
Merge "[RESTRICT_AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage" into oc-dev
TreeHugger Robot [Wed, 10 Apr 2019 22:49:18 +0000 (22:49 +0000)]
Merge "MediaPlayer2: fix out-of-order pause for skipToNext" into qt-dev
Salvador Martinez [Wed, 10 Apr 2019 22:46:10 +0000 (22:46 +0000)]
Merge "Update BS warning to follow through on action" into qt-dev
Ying Zheng [Wed, 10 Apr 2019 22:27:56 +0000 (15:27 -0700)]
Flip default value of headless user 0 flag.
Since this is to replace an existing car property which default to true.
Bug:
130310171
Test: build
Change-Id: Ie4f6389b4514727cf88c72e931e9fff4bf5f1484
TreeHugger Robot [Wed, 10 Apr 2019 22:22:33 +0000 (22:22 +0000)]
Merge "Add cross user permission check - areNotificationsEnabledForPackage" into pi-dev
TreeHugger Robot [Wed, 10 Apr 2019 22:22:25 +0000 (22:22 +0000)]
Merge "Rename capabilities to adjustments" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 22:20:55 +0000 (22:20 +0000)]
Merge changes from topic "am-
3ca7326a-cbf1-4f97-a1b5-
a4fdfac0fb47" into oc-dev
* changes:
[automerger] [RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage am:
a2b2e377a0 am:
00121902b0 am:
777c45416e am:
0bf87880d8 skipped:
9f3fca716a
[automerger] [RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage am:
a2b2e377a0 am:
00121902b0 am:
777c45416e am:
0bf87880d8
[automerger] [RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage am:
a2b2e377a0 am:
00121902b0 am:
777c45416e
[automerger] [RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage am:
a2b2e377a0 am:
00121902b0
[automerger] [RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage am:
a2b2e377a0
[RESTRICT AUTOMERGE]: Add cross user permission check - areNotificationsEnabledForPackage
Todd Kennedy [Wed, 10 Apr 2019 21:58:43 +0000 (14:58 -0700)]
Fix compressed stubs
Whenever the stub package is uninstalled from /data, we now
install the compressed version from the system image.
Disabling a package still does not remove any version on /data.
This means that a compressed package may be un-updated, yet
disabled and it will continue to consume space on /data. To
clear /data completely, disable the application and then uninstall.
Fixes:
123919310
Test: Manual. Put compressed APK on the /system image
Test: Boot the device, see two packages are installed [/system & /data]
Test: Uninstall the appliction on /data, see two packages are installed [/system & /data]. verified package on /data is new
Test: Disable the application, see two packages are installed [/system & data] and user-disabled. verified package on /data is same pre/post disable
Test: Uninstall the disabled application, see one package is installed [/system] and user-disabled
Test: Enable the application, see two packages are installed [/system & data] and enabled
Test: Corrupt compressed APK and reboot/enable/uninstall update, see one package is installed [/system] and disabled
Change-Id: I6fdd3ed485db0d3f8135266010d6797d9ac37ea0
Wei Jia [Wed, 10 Apr 2019 22:02:45 +0000 (22:02 +0000)]
Merge "OWNERS: add andrewlewis@google.com" into qt-dev
Sean Stout [Wed, 10 Apr 2019 22:02:40 +0000 (22:02 +0000)]
Merge "Add android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev
Wei Jia [Wed, 10 Apr 2019 21:45:48 +0000 (14:45 -0700)]
OWNERS: add andrewlewis@google.com
Test: n/a
Bug:
130307840
Change-Id: I4fd18f88928a41672018774aaf7e71db8d7fbd3b
TreeHugger Robot [Wed, 10 Apr 2019 21:58:42 +0000 (21:58 +0000)]
Merge "System Bars: Ensure contrast when app requested transparent bar" into qt-dev
Jack Yu [Wed, 10 Apr 2019 17:50:01 +0000 (10:50 -0700)]
Fixed the incorrect function signature
The name source should be an integer instead of long
Test: Manual + unit tests
Bug:
130237749
Change-Id: Ic4447da24073d37401ae0f6e8f8b41bd60d7167d
Cody Northrop [Wed, 10 Apr 2019 21:38:31 +0000 (21:38 +0000)]
Merge "GPU Debug Layers: Allow multiple layer apps" into qt-dev
TreeHugger Robot [Wed, 10 Apr 2019 21:32:33 +0000 (21:32 +0000)]
Merge "Nullability for ViewTreeObserver gesture exclusion" into qt-dev