| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 import 'package:mojom/intents/intents.mojom.dart'; |
| 6 import 'package:sky/mojo/shell.dart' as shell; |
| 7 |
| 8 void finishCurrentActivity() { |
| 9 ActivityManagerProxy activityManager = new ActivityManagerProxy.unbound(); |
| 10 shell.requestService('mojo:sky_viewer', activityManager); |
| 11 activityManager.ptr.finishCurrentActivity(); |
| 12 } |
| OLD | NEW |