Commit Graph

468813 Commits

Author SHA1 Message Date
Etan Cohen
251c21df37 Merge "[WifiNl80211] Rename WifiNl80211Manager namespace" 2020-02-18 16:50:12 +00:00
TreeHugger Robot
06e35b55fa Merge "Modified DPM KEYGUARD_DISABLE_SECURE_NOTIFICATIONS restriction" 2020-02-18 16:40:38 +00:00
TreeHugger Robot
f5737faff9 Merge "Remove final call to Dep.get(FalsingManager.class)" 2020-02-18 16:38:44 +00:00
Nikita Iashchenko
73d22d5abc Declare a public field for new Japanese Era Reiwa
Integrate OpenJDK commit for new Japanese Era name:

 * 8174268: Declare a public field in JapaneseEra for the era starting May 2019
   http://hg.openjdk.java.net/jdk/jdk/rev/6a4abdb6749c

Bug: 149437171
Test: CtsLibcoreTestCases CtsLibcoreOjTestCases
Merged-In: I1cbc9a12744d3cea214ee3b4a2872a9ad144e147
Change-Id: I1cbc9a12744d3cea214ee3b4a2872a9ad144e147
2020-02-18 16:34:04 +00:00
Julia Reynolds
7d7a7d94c3 Fix persistence bug with toggle actions
Test: manual
Fixes: 149488941
Change-Id: I37e40772b09a054fd6a98473a740112401abaf40
2020-02-18 16:33:26 +00:00
Nikita Iashchenko
f9258ccc07 Declare a public field for new Japanese Era Reiwa
Integrate OpenJDK commit for new Japanese Era name:

 * 8174268: Declare a public field in JapaneseEra for the era starting May 2019
   http://hg.openjdk.java.net/jdk/jdk/rev/6a4abdb6749c

Bug: 149437171
Test: CtsLibcoreTestCases CtsLibcoreOjTestCases
Change-Id: I1cbc9a12744d3cea214ee3b4a2872a9ad144e147
2020-02-18 16:33:02 +00:00
Joshua Tsuji
c81ff3d4e9 Modifies PIP to use the FloatingContentCoordinator.
Test: atest SystemUITests
Bug: 138115889
Change-Id: I639852a498676230e2318e4ba78c5a4333f6df02
2020-02-18 11:27:17 -05:00
Joshua Tsuji
7155bf102f Modifies Bubbles to use the FloatingContentCoordinator.
Test: atest SystemUITests
Bug: 138115889
Change-Id: I599024a140f9c9c2e54e835ba3f32d180e07c39a
2020-02-18 11:27:10 -05:00
Jorim Jaggi
cd1ca07b3e Merge "WindowInsetsTests: More compelling IME transition sample" 2020-02-18 16:20:58 +00:00
Sudheer Shanka
345d85a19b Merge "Re-enable BlobStorePerfTests." 2020-02-18 16:17:43 +00:00
Dave Mankoff
c43a9482b5 Merge "Provide PipManager through injection." 2020-02-18 16:14:53 +00:00
Dave Mankoff
10ec878b8c Decrease fling sensitivity for vertical falsing.
This CL should reduce falsing for vertical swipes (quick settings
especially) by increasing the required travel distance and decreasing
the fling sensitivity for vertical swipes on the lock screen.

Manual testing with folks around the office show minimal actual
impact, but smaller, quick swipes are now rejected.

Bug: 148084465
Test: atest SystemUITests
Change-Id: Ie984765bd070696e4f1c471343824a7cb9fe63f6
2020-02-18 11:07:52 -05:00
Julia Reynolds
f20b2ecd89 Merge "Clean up settings and history for deleted convos" 2020-02-18 15:57:39 +00:00
TreeHugger Robot
1ed2833be3 Merge "Migrate to setting TextAppearance on user switcher." 2020-02-18 15:50:30 +00:00
Julia Reynolds
eea0550dc6 Merge "Remove log spam" 2020-02-18 15:45:03 +00:00
Roshan Pius
6d4cb9cdc7 WifiOemMigrationHook: Migrate Settings global values
Changes:
a) Add a method to migrate Settings values from platform.
b) Marked all of those settings back to @hide.
c) Also, deprecated couple of public Settings keys which are no longer
used in the wifi stack.

Bug: 148514485
Test: Compiles
Test: TBD: Add unit tests for this class.
Change-Id: I3566cdb53fc997fbb2cc5bceadd865ff8b01539b
2020-02-18 07:27:28 -08:00
Roshan Pius
6398957728 WifiManager: Add API for scan always available toggle
Needed for moving away from using Settings.Global values as pseudo APIs.

Bug: 148514485
Test: atest android.net.wifi
Test: Verified wifi wifi scan toggle in location settings.
Change-Id: Iec75d331c7866180a55a327813466323c565319a
2020-02-18 07:27:28 -08:00
Roshan Pius
1861fa18be SoftApConfiguration: Add shutdown enabled method
This allows us to stop relying on the @hide Settings.Global value.

Bug: 147779354
Bug: 148514485
Test: atest android.net.wifi
Change-Id: Iacd5553f971cf5bfe1e794b01179e29cb65a1925
2020-02-18 07:27:27 -08:00
Joshua Duong
3654ed4c77 [adbwifi] Add settings event for opening adb device details.
Bug: 111434128
Bug: 63719597

Test: make
Exempt-From-Owner-Approval: cherry-pick
Change-Id: I8927e3f106b9cdaebe95ec56c675704baa1d1542
Merged-In: I8927e3f106b9cdaebe95ec56c675704baa1d1542
2020-02-18 07:23:23 -08:00
Alessio Balsini
628fb8d900 Extend atoms with Virtual A/B merge metrics
With the Virtual A/B feature, when the device successfully boots after
an OTA update, a dm-snapshot merge operation is performed, which
consolidates the updated images to the base devices.
This merge operation depends on the OTA size and may affect the device
performance until completed.
The new virtual_ab_update_reported push metric tracks the merge
operation duration (if not interrupted), the final merge status and
possible number of reboots that occurred during the merge.

Bug: 138817833
Bug: 148138124
Test: build + OTA application + local metric test with statsd_testdrive
Change-Id: Iabd1dc48ad0d737f6ed14caa247fd4952c65a258
Signed-off-by: Alessio Balsini <balsini@google.com>
2020-02-18 15:19:43 +00:00
Joshua Duong
1d45ee6491 [adbwifi] Add settings event for opening adb device details.
Bug: 111434128
Bug: 63719597

Test: make
Change-Id: I8927e3f106b9cdaebe95ec56c675704baa1d1542
2020-02-18 07:12:55 -08:00
Stan Iliev
b65171956c Update GraphicsStats proto definition
Follow ProtoBestPractices and comments suggested by cl/295218381.
Changing proto definition, should be fine, because these are
fields added after the last Android release.
Move PipelineType enum inside GraphicsStats and add a default
UNKNOWN state.
Rename start_millis and end_millis in GraphicsStats atom.
Fields in GraphicsStatsProto cannot be renamed as these were
part of previous Android releases.

Test: Ran "adb shell cmd stats pull-source 10068"
Test: Ran "statsd_testdrive 10068" and it looks OK
Bug: 149646555
Change-Id: Idc326eb2a7eb9ff0be39026e6fec544491b7d8a6
2020-02-18 10:12:42 -05:00
Santiago Seifert
bf66af7275 Merge "Support psshs with matching UUID in DrmInitData" 2020-02-18 15:10:04 +00:00
Alan Stokes
0f43348867 Add ChangeId for app data isolation.
Currently we are using DeviceConfig to set the target SDK level as an
experiment to determine if this causes any significant problem for
existing apps. So for now we just report the change, but once that is
done we can switch to using this for targeting.

Test: Boot device, see "Compat change id reported: 143937733; UID
<various>; state: LOGGED".
Bug: 147266020

Change-Id: Ic7f9468fa5b246c0d8e52a1b321c87e72933ca76
2020-02-18 15:05:24 +00:00
Patrick Baumann
264700a361 Adds --force-queryable option to adb install
This change adds support for parsing the --force-queryable option from
adb install. When implemented will enable test infrastructure to bypass
most issues that would be encountered by app enumeration without
changes.

Bug: 142386643
Test: run `adb install --force-queryable ...`
Merged-In: Id793ac39a4dfb022fc5e4c0c1230a3da77bf41c6
(cherry picked from commit f3a0386b74)

Change-Id: I758270b8fd18756d02eff4f18f1e450cbc3367cc
2020-02-18 14:57:50 +00:00
Patrick Baumann
e464d16f7d Revert "DO NOT MERGE: Adds --force-queryable option to adb install"
Reason for revert: Remove do not merge
Reverted Changes:
I0b14de9c5:DO NOT MERGE: Adds --force-queryable option to adb...

Change-Id: Ic08b2b0660f8fc5af70b7724958f7d3d005b7c18
2020-02-18 14:56:18 +00:00
Stanislav Zholnin
df3eeac56c Add puller for RuntimeAppOpAccess atom.
Bug: 136134050
Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive 10069
Change-Id: Iaadd519b3a1394838df7bd49f7642c5c088d2668
2020-02-18 14:48:47 +00:00
Martijn Coenen
b3562f43d2 Fixup OBB directories correctly after package install.
The installer may pre-create OBB directories for packages that it is
installing on external storage, in locations like
/storage/emulated/0/data/obb/com.foo . The permissions on this directory
is never explicitly setup; instead, sdcardfs magically fixed up the
permissions to match the package name "com.foo".

With sdcardfs going away in devices launching with R, we need to set
the permissions for these paths up explicitly. Since only vold can do
that, have PackageManager call into StorageManager after an app
install/upgrade to do the correct setup.

Bug: 146419093
Test: manually verify directories are setup correctly
Change-Id: I530c8de196011b1dc97c7a9ab612e5d6dc9403a1
2020-02-18 15:23:35 +01:00
Adrian Roos
2345831a0a WindowInsetsTests: More compelling IME transition sample
Test: make WindowInsetsTests && adb install ...
Change-Id: I4320871bdc8184fac38921616e1a1322f8dbc804
2020-02-18 14:11:37 +00:00
Alex Kershaw
16406c38d8 CrossProfileApps#startActivity by intent starts in same task by default
This is based on developer feedback from Google Calendar. Tweak the API
to take in the calling activity.

Javadoc in ActivityTaskManagerInternal's new method is copied from the
existing method.

Bug: 149677845
Bug: 136249261
Test: atest com.android.cts.devicepolicy.CrossProfileAppsHostSideTest#testStartActivityIntent_sameTaskByDefault
Change-Id: I2f2d4d8fd82febf4916ba70a08de5e71c678a1f4
2020-02-18 13:56:53 +00:00
Treehugger Robot
46d77cf71c Merge "Add getAvbPublicKey to IDynamicSystemService" am: ecd7c440df am: d584bb1ef0 am: 0ed127a6b6
Change-Id: I8d6ae5ccebe085e08f48abc6f7624419e4de043e
2020-02-18 13:19:50 +00:00
Treehugger Robot
0ed127a6b6 Merge "Add getAvbPublicKey to IDynamicSystemService" am: ecd7c440df am: d584bb1ef0
Change-Id: I6014b4ad6cf0bf6ee08ff999447625a89b522794
2020-02-18 13:03:44 +00:00
Treehugger Robot
d584bb1ef0 Merge "Add getAvbPublicKey to IDynamicSystemService" am: ecd7c440df
Change-Id: Id7554e8aa2ac376627a8181a1cb716fd53f53f22
2020-02-18 12:36:56 +00:00
TreeHugger Robot
a9ec170cc3 Merge "Support long edge cutouts for ScreenDecorations" 2020-02-18 12:23:28 +00:00
Treehugger Robot
ecd7c440df Merge "Add getAvbPublicKey to IDynamicSystemService" 2020-02-18 12:21:25 +00:00
TYM Tsai
a36a8ba363 Fix FillEventHistoryTest failed on CtsAutoFillServiceTestCases
Timeout for waiting the event history

Fixes: 149720333
Test: atest CtsAutoFillServiceTestCases:FillEventHistoryTest
Change-Id: I9056508c12f7a4d946fbdb7cde053e5ca81104cf
2020-02-18 20:15:22 +08:00
Minche Li
bd73dfa88e Merge "Update the current user id for MagnificationController" 2020-02-18 11:56:47 +00:00
Tiger Huang
4e6678a4b4 Merge changes I2041074b,Ib0960938,Ibbf21a8d
* changes:
  Window Manager Flag Migration (14/n) (Flips the flag)
  Temporarily ignore ScreenDecorWindowTests
  Allow showing when control target is IME fallback
2020-02-18 11:53:12 +00:00
Santiago Seifert
5bb4b20de6 Support psshs with matching UUID in DrmInitData
Also prevent unnecessary allocation in a
MediaExtractor DrmInitData implementation.

Bug: 132153067
Test: Draft CL.
Change-Id: If7d50a9f3fec22035b6db41338a2d5e9e7e839db
2020-02-18 11:42:43 +00:00
TreeHugger Robot
9ce274f16a Merge "Document more about volume provider ID." 2020-02-18 11:17:29 +00:00
shawnlin
63dfae2fed Support long edge cutouts for ScreenDecorations
1. Add two more overlay windows for long edge sides and now there could
be maximum 4 windows at the same time.

2. To optimize the number of window used, rounded corners should be
shown on left and right overlay windows if there is only long edge
cutout(s).

3. Remove the window when there is no cutout on its edge.

4. Enable the CutoutSpace on landscape in PhoneStatusBarView so that
icons on status bar won't be covered by the long edge cutout.

Bug: 146884519
Test: atest ScreenDecorationsTest
Change-Id: I97f042e96ea06285dc5f0b517dec1c7fb91b5b12
2020-02-18 19:00:21 +08:00
Chalard Jean
0d8225c864 Merge changes I32c12702,I688593cc
* changes:
  [NS D04] Implement a simple speed comparison between scores.
  [NS D03] Migrate the bad wifi avoidance policy
2020-02-18 10:51:26 +00:00
Yo Chiang
d25e639b4e Add getAvbPublicKey to IDynamicSystemService
Wrapper for IGsiService::getAvbPublicKey()

Bug: 146418878
Test: Build pass
Change-Id: I67030bf0587297dc20e791c856c7373d473ae027
2020-02-18 18:32:44 +08:00
TreeHugger Robot
2385bf8cef Merge "Address comments on ag/10316753" 2020-02-18 09:17:53 +00:00
TreeHugger Robot
68fa5318bc Merge "Fix typo" 2020-02-18 09:11:49 +00:00
TreeHugger Robot
7e8e12e072 Merge "Add media output group panel index" 2020-02-18 09:02:14 +00:00
tim peng
bd15eb10e7 Merge "Add getSelectedMediaDevice() API for output switcher" 2020-02-18 09:01:19 +00:00
TreeHugger Robot
8759f13872 Merge "Introduce fixed rotation transform" 2020-02-18 08:51:48 +00:00
Kyunglyul Hyun
d5daf35181 Document more about volume provider ID.
Document more about what getVolumeControlId returns.

This CL is to address API Review issue.

Bug: 148403124
Test: N/A
Change-Id: I382cbe3efe2fd5732f50493bc6d243ae54c5a257
2020-02-18 17:49:54 +09:00
Wei Wang
edd1981400 Add feature ids to system server services that requset location.
Bug: 129416976
Test: Manual tested on Taimen
Change-Id: I90a7ee7bf707e40b089336a7b74d82cf7eca06a5
2020-02-18 00:47:42 -08:00