Commit Graph

394526 Commits

Author SHA1 Message Date
Chen Xu
ae39b387ed Merge "add more comments for API getAidForAppType" am: 818a6e70e2 am: acb365f14b
am: bc8be72c02

Change-Id: I7d53e1ec57eb6a5a2399c82d21d90ea21b5d60c1
2018-12-03 06:50:28 -08:00
Xiangyu/Malcolm Chen
be1972bc81 [automerger skipped] Merge "add setMetered in SubscriptionManager" am: 899c96df90 am: c71a887b35
am: 43cb017b99  -s ours

Change-Id: Ic598eabd5dd23edccfc87e53c0e0356fac8cbd34
2018-12-03 06:43:40 -08:00
TreeHugger Robot
595c980722 Merge "Mark GridView mColumnWidth as maxTargetSdk P" 2018-12-03 14:17:45 +00:00
TreeHugger Robot
ae84d11be0 Merge "Mark GridView mNumColumns as maxTargetSdk P" 2018-12-03 14:17:38 +00:00
Bo Hu
11be47f88f Merge "Revert "Make HWUI's surface Reliable^TM"" 2018-12-03 14:00:08 +00:00
Bo Hu
dd08224e4d Revert "Make HWUI's surface Reliable^TM"
This reverts commit 650bd9a7b3.

Reason for revert: broken emulator b/120342364

Exempt-From-Owner-Approval:

Change-Id: If05d9d87325e1d836375d7dc79ff66ef057d228d
2018-12-03 13:59:49 +00:00
TreeHugger Robot
0a639e499f Merge "Makes View#setAnimationMatrix public" 2018-12-03 13:27:04 +00:00
TreeHugger Robot
17646e2235 Merge "Fix permission descriptions" 2018-12-03 13:15:25 +00:00
Anton Hansson
cce34e6f9a Fix permission descriptions
- Clarify what "shared storage" means
- Remove char limits (no other perm strings have them)

Bug: 120400435
Bug: 120258929
Test: make
Change-Id: Idd2bf84681e4721ddf4c0583ddec59ac66eccefb
2018-12-03 11:47:19 +00:00
Andrey Kulikov
5754598e83 Makes View#setAnimationMatrix public
Bug: 117520374
Test: None. There is no getter for it so it's not easy to test. Probably it should be tested on RenderNode side instead.
Change-Id: I399ebb772e557c849b02a1d71be7821121a9ce8a
2018-12-03 11:34:39 +00:00
Andrey Kulikov
4bcd414ea9 Merge "Made ViewGroup.suppressLayout/isLayoutSuppressed public" 2018-12-03 11:32:48 +00:00
TreeHugger Robot
0d77844ea6 Merge "Let getNavBarPosition() can take displayId" 2018-12-03 10:56:19 +00:00
TreeHugger Robot
bcb0c8c00d Merge "Implement dumpsys for incident service" 2018-12-03 09:05:12 +00:00
Tiger Huang
44c0455124 Let getNavBarPosition() can take displayId
Navigation bar can show on non-default display now. So the caller
should specify which display the desired navigation bar is on.

Bug: 117474929
Test: atest QuickStepControllerTest
Change-Id: Ibe06a6c7778134204502e6456860d69bea2a9061
2018-12-03 16:10:27 +08:00
Mike Ma
85434ec8ca Implement dumpsys for incident service
Implement dump() function in IncidentService so that it can be dumped by
default. Dumpstate calls it twice, one with and one without '--proto'.
dump() ignores the former.
Dumpsys allows 10s max for each service. Hence, section 1200, 1201, 1202
are skipped because they take too long. Section 3008 and 3015 are
skipped temporarily due to errors. All sections should be enabled once
we find a workaround.
A follow-up change in SELinux is needed to allow dumpstate to access
incidentd.

Bug: 119417232
Test: Run `adb shell dumpsys incident --proto`, inspect result and logs
Test: Run `adb bugreport`, make sure incident.proto is in the zip file
      Check the proto for validity via aprotoc:
      cat incident.proto | ./out/soong/host/linux-x86/bin/aprotoc --decode_raw
Exempt-From-Owner-Approval: The original owners no longer work on this
                            project.
Change-Id: I7d08f6b644cb6751b201fb7ba37ac5e1c42fd3c5
2018-12-03 07:52:50 +00:00
TreeHugger Robot
2648555677 Merge "Use non-singleton looper for activity task manager tests" 2018-12-03 05:08:08 +00:00
Lucas Dupin
ff9d6ab69f Expose rounded corners to SurfaceControl
Bug: 111514493
Test: Manualy launch an app
Test: Press home when activity is on top of the stack
Test: Quick scrub
Test: Swipe up on the home button, swipe down
Change-Id: Id8196e344585b4f7aebea595c12e7276dbbd881b
2018-12-02 04:32:14 -08:00
Lucas Dupin
086c6fc0ae Let launcher modify window corner radius
Test: Manualy launch an app
Test: Press home when activity is on top of the stack
Test: Quick scrub
Test: Swipe up on the home button, swipe down
Test: Tap on notification on the shade
Test: atest ActivityLaunchAnimatorTest
Bug: 111514493
Change-Id: Ib7e29e7e07bf2a245ff949373af700b319e273fc
2018-12-02 04:32:13 -08:00
Philip P. Moltmann
298c49e4f0 Merge "Prepare PackageInstaller to be signed with google cert" 2018-12-02 05:09:25 +00:00
Philip P. Moltmann
9e5fccc81a Merge "Give platform permissions a dummy group" 2018-12-02 01:28:26 +00:00
Jeff Sharkey
2ea404fd2a Merge "Method to determine isolated storage mode." 2018-12-01 22:37:35 +00:00
Philip P. Moltmann
2a01ddbb4e Give platform permissions a dummy group
We still don't want apps to deal with permissions groups but many apps
crash if the group is not set.

Test: android.permission2.cts.PermissionPolicyTest#testPlatformPermissionPolicyUnaltered
Change-Id: Ibc817d4d44a9a76a1c5fac170f8e76f96a9e4201
Fixes: 119836955
2018-12-01 07:58:25 -08:00
Jack Yu
db58c2056a Merge "Support multiple DcTracker for IWLAN refactoring" 2018-12-01 08:14:19 +00:00
TreeHugger Robot
4a18273991 Merge "Deprecate getPreferredPackages() and related APIs" 2018-12-01 05:50:31 +00:00
TreeHugger Robot
031eef2fef Merge "Expose RenderNode#getUniqueId() as View#getUniqueDrawingId()" 2018-12-01 05:44:59 +00:00
TreeHugger Robot
ae697dcd74 Merge "Include zygote and drop unexpected samples" 2018-12-01 05:22:26 +00:00
Kevin Chyn
3d9b0fc963 Merge changes from topic "biometric-refactor"
* changes:
  3/n: For passive modalities, add plumbing for "try again"
  2/n: Multi-modal support for BiometricPrompt
  1/n: Move BiometricDialog management to BiometricService
2018-12-01 05:04:02 +00:00
TreeHugger Robot
96b3e88046 Merge "Update comment referring to number of BroadcastQueues" 2018-12-01 04:45:32 +00:00
Robert Shih
cd0ee52248 Merge "MediaPlayer2: Move Drm APIs into DrmHandle subclass" 2018-12-01 04:29:34 +00:00
TreeHugger Robot
8d0446d544 Merge "Fixed a crash where we were getting the viewstate" 2018-12-01 04:10:36 +00:00
Siarhei Vishniakou
122c0879cd Merge "Fix crash in InputManagerService" 2018-12-01 00:57:44 +00:00
TreeHugger Robot
7b705a37cc Merge "Remove mFamilies from Typeface" 2018-12-01 00:04:51 +00:00
Eugene Susla
b9df101c9e Merge "Call roles granting only when packages changed" 2018-11-30 23:13:50 +00:00
TreeHugger Robot
5cf6abedcb Merge "Make TextView.isSingleLine public" 2018-11-30 22:42:28 +00:00
Selim Cinek
b1a8130d73 Fixed a crash where we were getting the viewstate
Because we're now getting the viewstate directly from the
view, this was introducing an issue where the viewstate
being null was actually a symbol of the view being null,
which now lead to a nullpointer.

Change-Id: I1d171449034422d25a6e7ba7dca5154db3ce20b3
Fixes: 120230161
Test: remove last notification, no crash
2018-11-30 14:41:32 -08:00
Nikita Dubrovsky
18a87693a0 Deprecate getPreferredPackages() and related APIs
The APIs for "preferred" packages and activites have been superseded
by modern activity-based preferences.

Bug: 120291723
Test: build (javadoc-only change)
Change-Id: I4242a10e1612f7e203256e4c26c5e8c518cc7656
2018-11-30 21:25:13 +00:00
Lei Yu
950c469c9d Merge "Update scaleType to fitCenter" 2018-11-30 21:22:43 +00:00
TreeHugger Robot
e444d218b7 Merge "Revert "Allow location provider to deep link into permissions UI"" 2018-11-30 21:04:35 +00:00
TreeHugger Robot
a8cb5a8bef Merge "Added plural form for "one"" 2018-11-30 20:38:49 +00:00
TreeHugger Robot
0f15529345 Merge "Renamed a few methods in ActivityRecord (42/n)." 2018-11-30 20:33:49 +00:00
Shuo Qian
0893c2e31d Merge "Add Emergency service categories in ImsCallProfile" 2018-11-30 20:22:01 +00:00
TreeHugger Robot
3d31b4e018 Merge "Don't rely on fallthrough in incident_section_gen" 2018-11-30 20:18:25 +00:00
Pengquan Meng
3ce70560d8 Merge "Add 5G rat type" 2018-11-30 20:10:04 +00:00
Tyler Gunn
961b10fcff Merge "Add telecom test-commands for maintaining role overrides." 2018-11-30 20:03:01 +00:00
TreeHugger Robot
e1b9672d80 Merge "Updates NotificationInfo layout/buttons." 2018-11-30 19:59:18 +00:00
Jim Blackler
f8f70e10ef Merge "Add start time to LmkKillOccurred" 2018-11-30 19:36:11 +00:00
Ashley Rose
752828f92f Expose RenderNode#getUniqueId() as View#getUniqueDrawingId()
Test: atest ViewTest
Bug: 120282501
Change-Id: I797fbbc6ac40869fea4e29ce55697cfafd8bafef
2018-11-30 14:34:42 -05:00
Kevin Chyn
23289ef7b6 3/n: For passive modalities, add plumbing for "try again"
When "try again" is showing, authentication is canceled internally.
BiometricService caches the client's info so that authentication can
be restarted when "try again" is pressed. Because authentication
is not running when "try again" is showing, BiometricService also needs
to have a TaskStackListener so that BP can be dismissed and an error can
be sent to the client when the app loses focus.

IBiometricServiceReceiver has been split into two. One for BiometricPrompt
to receive messages from BiometricService, and another for BiometricService
to receive messages from SystemUI/<Biometric>Services.

When we get locked out, don't send the last onAuthenticationFailed
to the client, since "Authentication failed" will be shown briefly
and be replaced by "Device locked out" which is janky

Bug: 111461540

Test: Tested with requireConfirmation enabled/disabled
Test: Tested onConfigurationChange corner cases, e.g. when "try again"
      or "confirm" buttons are showing, rotate the device. Buttons
      persist correctly and don't appear when unexpected
Test: Tested task stack corner cases, e.g. when "try again" is showing,
      press home button. BP dismisses and client receives ERROR_CANCELED
Test: BiometricPromptDemo receives all callbacks

Change-Id: I62126708ce8db8b358c666a07aa7c39607642c9d
2018-11-30 11:34:35 -08:00
Ian Lake
3a46c9cc3e Mark GridView mColumnWidth as maxTargetSdk P
Developers should use the public
getColumnWidth().

Test: m -j
BUG: 117521079
Change-Id: I2e99a441f8ba75ac5f434732b7fd6ebe3e02a57b
2018-11-30 10:59:23 -08:00
Eugene Susla
abdefbaeeb Call roles granting only when packages changed
This computes and stores a hash of significant (for PermissionController)
packages state for the time when granting last ran.

Test: - enable DEBUG flag
- using logcat ensure roles granted on first bootloader
- adb reboot
- ensure roles granting skipped
- disable a package
- adb reboot
- ensure roles granting ran on boot

Change-Id: Idaea40c0ea34feaedfbe357627201f85e66876d5
2018-11-30 10:58:47 -08:00