Commit Graph

359961 Commits

Author SHA1 Message Date
Jason Monk
ba055f8f9d Import some plugin documentation into the tree
In the spirit of writing things down

Test: none
Change-Id: I93371eab99721ace1fd32d07739b861d492e4be6
2018-02-23 14:52:37 -05:00
Eugene Susla
0f3f71f41a Merge "Use PooledLambda in A11yManagerService" 2018-02-23 19:06:14 +00:00
Chavi Weingarten
0576c6d38d Merge "Move performSurfacePlacement after tryStartExitingAnimation" 2018-02-23 19:04:55 +00:00
TreeHugger Robot
e45caf0d90 Merge "MediaCas: use HidlMemory to avoid handle leaks" 2018-02-23 19:04:11 +00:00
TreeHugger Robot
193fe201da Merge "Statsd alerts can inform subscribers probabilistically" 2018-02-23 18:50:16 +00:00
TreeHugger Robot
e406ac080f Merge "camera: Add OisSamples synthetic key" 2018-02-23 18:47:56 +00:00
Michal Karpinski
f9e35bc631 Merge "Support bmgr wipe also for full backup apps" 2018-02-23 18:47:03 +00:00
Bryce Lee
e4c5e3b552 Merge "Always finish activity when moving to a destroyed state." 2018-02-23 18:38:37 +00:00
Jorim Jaggi
a8e26b2e16 Merge "Don't wait keyguard drawn if device has no keyguard" am: a6e5165b2c am: 94ec9e3e4b
am: 239d74fa19

Change-Id: I19abbe828a0004888143be02fd6ca834d8013a64
2018-02-23 18:33:52 +00:00
TreeHugger Robot
6dcc9de2fe Merge "New APIs to let app developers manage autofill semantics when reusing views." 2018-02-23 18:26:36 +00:00
Jorim Jaggi
239d74fa19 Merge "Don't wait keyguard drawn if device has no keyguard" am: a6e5165b2c
am: 94ec9e3e4b

Change-Id: I1391b28a04611f4e4445d53d3323fad8fb98528f
2018-02-23 18:20:35 +00:00
Adrian Roos
555762850f Merge "Follow up to Iff58235b5bdfd0d49df259a91b05e54e3864f41c" 2018-02-23 18:19:49 +00:00
Zhizhi Liu
3fb240d451 Merge "Make SuggestionController guard RuntimeException." 2018-02-23 18:12:19 +00:00
Jorim Jaggi
94ec9e3e4b Merge "Don't wait keyguard drawn if device has no keyguard"
am: a6e5165b2c

Change-Id: I8e198596eaec74fb022530544adad8efa0aadf52
2018-02-23 18:08:13 +00:00
TreeHugger Robot
97969c36ee Merge "DisplayCutout: Let dreams always extend under the cutout" 2018-02-23 17:53:32 +00:00
TreeHugger Robot
fb83c73f37 Merge "STOPSHIP: Roll forward: Add UidCpuPower global setting" 2018-02-23 17:49:17 +00:00
Jack Yu
44612f4aa9 Merge "Fixed service state CTS test failing" am: ab5bc3be50 am: f535f8108d
am: 09da9870d0

Change-Id: Iac059a0df9bf6c3920327101d4423ef9acc60ebb
2018-02-23 17:46:03 +00:00
TreeHugger Robot
ed24f903ea Merge "Revert "Add "Unlocked device required" parameter to keys"" 2018-02-23 17:42:45 +00:00
Christine Franks
5649922b7c Merge "Support forced Night Display auto mode" 2018-02-23 17:39:21 +00:00
Jack Yu
09da9870d0 Merge "Fixed service state CTS test failing" am: ab5bc3be50
am: f535f8108d

Change-Id: Ia3e1e58acda7aa3099c93f1f6c2bef9f53828e4d
2018-02-23 17:27:20 +00:00
Jorim Jaggi
fcfc116a32 Merge "Make the dump of the window hierarchy more readable" 2018-02-23 17:27:15 +00:00
Lucas Dupin
bfb36c3f20 Merge "Ensure keyguard slice use correct colors" 2018-02-23 17:21:27 +00:00
Jack Yu
f535f8108d Merge "Fixed service state CTS test failing"
am: ab5bc3be50

Change-Id: I38fc94d366a16acee810fd9336750044508cf766
2018-02-23 17:18:49 +00:00
TreeHugger Robot
52b38b13b7 Merge "In the spirit of writing stuff down" 2018-02-23 17:00:52 +00:00
Pavlin Radoslavov
9c43e89bed Merge "Removed executable flag for Java source files" am: 9a7c651196 am: 9304dc9f36
am: 38c41a938f

Change-Id: I6b85de3cb0d55bf3dc88ecd39b31228c43e9ab01
2018-02-23 16:48:47 +00:00
Robert Berry
01468dae19 Merge "Make it possible to construct a RecoverySession" 2018-02-23 16:40:36 +00:00
Pavlin Radoslavov
38c41a938f Merge "Removed executable flag for Java source files" am: 9a7c651196
am: 9304dc9f36

Change-Id: I3123d49a045b91be0b1a22531110b069dfcf8890
2018-02-23 16:35:36 +00:00
Bryce Lee
7ace395d65 Always finish activity when moving to a destroyed state.
There is a possibility that an activity will not be marked as
finishing when its state is moved to the destroying/destroyed state.
This opens up the possibility of future lifecycle actions that are
gated by the finishing flag. As a result, errant signals can be
sent to the client for a destroyed activity.

This changelist addresses the issue by limiting interaction with
ActivityRecord's state to accessors. When the state is changed to
destroyed or destroying, the activity is subsequently marked as
finished.

Bug: 71506345
Test: atest FrameworksServicesTests:com.android.server.am.ActivityRecordTests#testFinishingAfterDestroying
Test: atest FrameworksServicesTests:com.android.server.am.ActivityRecordTests#testFinishingAfterDestroyed
Change-Id: Iae8766201477103c9d632a16ecb9f6e95f796a45
2018-02-23 08:32:19 -08:00
Jeff Sharkey
725024bb2a Merge "Name specific app for rapid data usage." 2018-02-23 16:28:58 +00:00
Jeff Sharkey
e0c2995d0f Name specific app for rapid data usage.
When a single app is responsible for more than half of the data usage
that caused us to trigger a "rapid usage" alert, name that app in the
notification.  Tests to verify.

Move NPMS->NSS direct calls to "Internal" pattern, following
best-practices to avoid unnecessary AIDL exposure.

Remove 3G/4G split mobile plan support, which has been deprecated for
years and was never supported in a shipping product.

Move MultipathPolicyTracker in tree to reflect its package name.

Test: bit FrameworksNetTests:*
Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest
Bug: 69263587, 64221505, 73431080, 72746951
Exempt-From-Owner-Approval: approved in previous PS
Change-Id: I3e4ec1ae2222d51b232f76f32faca93d4f8cd272
2018-02-23 16:27:39 +00:00
Jeff Sharkey
f6ff0f88ee Merge changes Icdb40ee3,I4c239844
* changes:
  Knobs for connectivity experiments.
  Mechanical refactoring to improve job dumping.
2018-02-23 16:26:29 +00:00
Philip P. Moltmann
d0f119f8c7 Merge "Create print job when print activity starts" 2018-02-23 16:24:41 +00:00
Pavlin Radoslavov
9304dc9f36 Merge "Removed executable flag for Java source files"
am: 9a7c651196

Change-Id: Ia14ec1352400d603e51a3eaadd6d3910a10b6dc2
2018-02-23 16:23:45 +00:00
Jorim Jaggi
a6e5165b2c Merge "Don't wait keyguard drawn if device has no keyguard" 2018-02-23 16:06:59 +00:00
chaviw
abedd32263 Move performSurfacePlacement after tryStartExitingAnimation
In performSurfacePlacement, there's downstream code to update
the navbar color based on whether the IME is visible. However, IME
is only marked not visible once tryStartExitingAnimation is called.
Therefore, tryStartExitingAnimation needs to happen before the
attempt to update the navbar color so it can know that the IME
is going to be hidden.

Change-Id: I3a337d1b3a2caea8694204111f778924d2fd3ec0
Fixes: 71877162
Test: After closing IME in dialer, navbar color returns to original.
Test: go/wm-smoke
2018-02-23 08:06:28 -08:00
Treehugger Robot
ab5bc3be50 Merge "Fixed service state CTS test failing" 2018-02-23 15:41:32 +00:00
Jason Monk
50b0788faa In the spirit of writing stuff down
Write some stuff down

Test: none
Change-Id: I9997db5f9c4d75b0c066f002f234dbeaec6932a4
2018-02-23 10:25:30 -05:00
Michal Karpinski
92c8756876 Support bmgr wipe also for full backup apps
Previously we'd only really clear data for K/V packages,
now we consult with the journal of ever backed apps.

Bug: 28405555
Test: manual (adb shell bmgr wipe com.google.android.gms/.backup.BackupTransportService com.android.wallpaperbackup
      after adb shell bmgr backupnow --all)
Test: m -j RunFrameworksServicesRoboTests
Test: runtest -p com.android.server.backup frameworks-services
Change-Id: If99cb2c8ab9ddc05386d634818f4585ec47efc00
2018-02-23 15:16:08 +00:00
Leon Scroggins
e06975dd27 Merge "Fixes for inflating AnimatedImageDrawable" 2018-02-23 14:45:54 +00:00
Wale Ogunwale
62d3645d81 Merge "updateNonSystemOverlayWindowsVisibilityIfNeeded on relayoutWindow" 2018-02-23 14:25:25 +00:00
Treehugger Robot
9a7c651196 Merge "Removed executable flag for Java source files" 2018-02-23 13:38:29 +00:00
TreeHugger Robot
2425752026 Merge "[Magnifier-25] Fix race condition after #dismiss" 2018-02-23 12:50:37 +00:00
Jorim Jaggi
153dc9d9b9 Make the dump of the window hierarchy more readable
Activities weren't indented, making it hard to read.

Test: dumpsys window -a
Change-Id: Ibd39bd34ac128caf67eb07c932913a9078de9439
2018-02-23 13:28:15 +01:00
Robert Berry
e04e09ad87 Make it possible to construct a RecoverySession
These methods are currently inaccessible.

Bug: 73763265
Test: it builds

Change-Id: I8358a8084e1c4fa96b1fe599ef6b17d6196d6a12
2018-02-23 12:00:34 +00:00
Pavlin Radoslavov
155738ee1f Removed executable flag for Java source files
Test: Code compilation
Change-Id: Ibfb57c6af54ace94eb9f9915471738f2f09ca70a
2018-02-23 11:59:06 +00:00
Peter Visontay
add2d38cfc Merge "Add unit tests for AppOpsService." 2018-02-23 10:25:44 +00:00
Bernardo Rufino
7524b7228a Merge "Extend XML parser to allow optional requiredFlags attribute for <include /> rules in <full-backup-content> specification" 2018-02-23 09:29:21 +00:00
TreeHugger Robot
23ea41c4e7 Merge "Using ParceledListSlice for {get|set}AppStandbyBuckets" 2018-02-23 09:28:33 +00:00
TreeHugger Robot
dced4bb3c3 Merge "MediaControlView2: Add Support for Ad" 2018-02-23 07:53:51 +00:00
Cassie
b5d3d67077 Merge "Add comments according to the API review process." am: e9a215b238 am: b3b458b9ad
am: b1b06cbaf5

Change-Id: Ic90fe7f73ae2442e5bd3c8e7f69e70c1b5332ff6
2018-02-23 07:07:18 +00:00