()
| 653 | } |
| 654 | |
| 655 | public get actionBar(): android.app.ActionBar { |
| 656 | const activity = this.currentActivity; |
| 657 | if (!activity) { |
| 658 | return undefined; |
| 659 | } |
| 660 | |
| 661 | const bar = activity.getActionBar(); |
| 662 | if (!bar) { |
| 663 | return undefined; |
| 664 | } |
| 665 | |
| 666 | return bar; |
| 667 | } |
| 668 | |
| 669 | public get currentActivity(): androidx.appcompat.app.AppCompatActivity { |
| 670 | let activity = this.activity; |
nothing calls this directly
no outgoing calls
no test coverage detected